资源图标

免费 AxSign - 签到 | 支持自定义天数 | 支持跨服 1.0.0

没有下载权限
支持核心
paper spigot purpur
原创/转载
原创
作者
Moo_OvO
前置
ArcartxPlugin
支持版本
1.8+以上版本
sign-reload 重载配置
sign-open [name] 打开某个签到

YAML:
扩展 折叠 复制
ui:
  match: []
  hide: []
  transfer: false
  through: false
  escClose: true
  background: true
  closeDied: false
  show: true
  packetHandler:
    initKey: |-
      var.key = packet['key']
      var.name = packet['name']
      var.day = packet['day']
    failed: |-
      Chat.say("活动结束")
    close: |-
      var.closed = true
      async {
        Thread.sleep(500)
        self.close()
      }
      Chat.say("签到完成")
controls:
  main:
    val: "sign"
    type: adaptive
    attribute:
      point: ~middle_center
      width: "1920"
      height: "1080"
    children:
      bq:
        type: texture
        attribute:
          point: ~middle_center
          width: 1000
          height: 500
          normal: ~AxSign/background.png
        children:
          title:
            type: text
            attribute:
              x: 500
              y: 28
              center: true
              fontSize: 120
              texts:
                - ~&7&lAxSign
          subtitle:
            type: "Text"
            attribute:
              x: 500
              y: 100
              center: true
              fontSize: 60
              texts:
                - "var.name"
          1_day:
            type: texture
            attribute:
              x: 100
              y: 135
              width: 80
              height: 330
              normal: ~AxSign/1.png
              fontSize: 100
          1_button:
            val: "Button_1"
            type: texture
            attribute:
              visible: var.day == 1
              x: 110
              y: 370
              width: 60
              height: 40
              normal: ~AxSign/button.png
              hover: ~AxSign/button_.png
              fontSize: 50
            action:
              click: |-
                if(var.closed){
                  return
                }
                Packet.send('sign',var.key)
          2_day:
            type: texture
            attribute:
              x: 200
              y: 135
              width: 80
              height: 330
              normal: ~AxSign/2.png
              fontSize: 100
          2_button:
            val: "Button_2"
            type: texture
            attribute:
              visible: var.day == 2
              x: 210
              y: 370
              width: 60
              height: 40
              normal: ~AxSign/button.png
              hover: ~AxSign/button_.png
              fontSize: 50
            action:
              click: |-
                if(var.closed){
                  return
                }
                Packet.send('sign',var.key)
          3_day:
            type: texture
            attribute:
              x: 300
              y: 135
              width: 80
              height: 330
              normal: ~AxSign/3.png
              fontSize: 100
          3_button:
            val: "Button_3"
            type: texture
            attribute:
              visible: var.day == 3
              x: 310
              y: 370
              width: 60
              height: 40
              normal: ~AxSign/button.png
              hover: ~AxSign/button_.png
              fontSize: 50
            action:
              click: |-
                if(var.closed){
                  return
                }
                Packet.send('sign',var.key)
          4_day:
            type: texture
            attribute:
              x: 400
              y: 135
              width: 80
              height: 330
              normal: ~AxSign/4.png
              fontSize: 100
          4_button:
            val: "Button_4"
            type: texture
            attribute:
              visible: var.day == 4
              x: 410
              y: 370
              width: 60
              height: 40
              normal: ~AxSign/button.png
              hover: ~AxSign/button_.png
              fontSize: 50
            action:
              click: |-
                if(var.closed){
                  return
                }
                Packet.send('sign',var.key)
          5_day:
            type: texture
            attribute:
              x: 500
              y: 135
              width: 80
              height: 330
              normal: ~AxSign/5.png
              fontSize: 100
          5_button:
            val: "Button_7"
            type: texture
            attribute:
              visible: var.day == 5
              x: 510
              y: 370
              width: 60
              height: 40
              normal: ~AxSign/button.png
              hover: ~AxSign/button_.png
              fontSize: 50
            action:
              click: |-
                if(var.closed){
                  return
                }
                Packet.send('sign',var.key)
          6_day:
            type: texture
            attribute:
              x: 600
              y: 135
              width: 80
              height: 330
              normal: ~AxSign/6.png
              fontSize: 100
          6_button:
            val: "Button_6"
            type: texture
            attribute:
              visible: var.day == 6
              x: 610
              y: 370
              width: 60
              height: 40
              normal: ~AxSign/button.png
              hover: ~AxSign/button_.png
              fontSize: 50
            action:
              click: |-
                if(var.closed){
                  return
                }
                Packet.send('sign',var.key)
          7_day:
            type: texture
            attribute:
              x: 700
              y: 135
              width: 80
              height: 330
              normal: ~AxSign/7.png
              fontSize: 100
          7_button:
            val: "Button_7"
            type: texture
            attribute:
              visible: var.day == 7
              x: 710
              y: 370
              width: 60
              height: 40
              normal: ~AxSign/button.png
              hover: ~AxSign/button_.png
              fontSize: 50
            action:
              click: |-
                if(var.closed){
                  return
                }
                Packet.send('sign',var.key)
  • 1.webp
    1.webp
    384 字节 · 查看: 40
  • 2.webp
    2.webp
    416 字节 · 查看: 33
  • 3.webp
    3.webp
    396 字节 · 查看: 21
  • 4.webp
    4.webp
    396 字节 · 查看: 20
  • 5.webp
    5.webp
    416 字节 · 查看: 22
  • 6.webp
    6.webp
    420 字节 · 查看: 24
  • 7_button.webp
    7_button.webp
    370 字节 · 查看: 22
  • 7.webp
    7.webp
    870 字节 · 查看: 21
  • background.webp
    background.webp
    1.9 KB · 查看: 21
  • button_.webp
    button_.webp
    370 字节 · 查看: 39
作者
Moo-OvO
下载
8
查看
98
首次发布
最后更新

评分

0.00 星 0 星

分享此资源

最新更新

  1. 打开指定奖励

    打开指定奖励