*聊天欄輸入
/scoreboard objectives add 會(huì)員系統(tǒng)
/scoreboard objectives add 會(huì)員時(shí)間
/scoreboard objectives add 金幣
#命令方塊輸入
#會(huì)員購買
@月卡購買
脈無需
scoreboard players test @p 金幣 599 *
連有保
title @p title §a§l購買月卡中···
scoreboard players remove @p 金幣 599
scoreboard players add @p 會(huì)員時(shí)間 720
tag @p add §e§l會(huì)員
¥脈無需,脈沖,無條件,需要紅石;連有保,連鎖,有條件,保持開啟
@季卡購買
脈無需
scoreboard players test @p 金幣 1666 *
連有保
title @p title §a§l購買季卡中···
scoreboard players remove @p 金幣 1666
scoreboard players add @p 會(huì)員時(shí)間 2160
tag @p add §e§l會(huì)員
@年卡購買
脈無需
scoreboard players test @p 金幣 6444 *
連有保
title @p title §a§l購買年卡中···
scoreboard players remove @p 金幣 6444
scoreboard players add @p 會(huì)員時(shí)間 8640
tag @p add §e§l會(huì)員
#檢查時(shí)間+自動(dòng)刪除
重?zé)o保 72000
scoreboard players remove @a[tag=§e§l會(huì)員] 會(huì)員時(shí)間 1
tag @a[scores={會(huì)員時(shí)間=0}] remove §e§l會(huì)員
¥重?zé)o保,重復(fù),無條件,保持開啟;72000為72000延遲
#雪球菜單
@會(huì)員簽到
重?zé)o保
execute @a[scores={雪球菜單=5},tag=§e§l會(huì)員] ~ ~ ~ title @s actionbar
連有保
§a§l請(qǐng)?jiān)诖_認(rèn)選擇后抬頭§e
會(huì)員簽到
execute @a[scores={雪球菜單=5,會(huì)員系統(tǒng)=0},rx=-85,rxm=-90,tag=§e§l會(huì)員] ~ ~ ~ scoreboard players add @s 會(huì)員系統(tǒng) 1
scoreboard players add @a[scores={雪球菜單=5},rx=-85,rxm=-90,tag=§e§l會(huì)員] 金幣 25
title @a[scores={雪球菜單=5},rx=-85,rxm=-90,tag=§e§l會(huì)員] title §e§l簽到成功
scoreboard players set @a 雪球菜單 0
@會(huì)員簽到倒計(jì)時(shí)
脈無需
effect @e[type=minecraft:armor_stand,r=3] levitation 86400 0 true
scoreboard players set @a 會(huì)員系統(tǒng) 0
¥在盔甲架左右各一個(gè)
請(qǐng)搭配視頻食用

如若轉(zhuǎn)載,請(qǐng)注明出處:http://www.qjsdgw.cn/12665.html