Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /gift [<text>]:
- trigger:
- if arg-1 is not set:
- message "&aここから&6&lGIFT CORD&aを取得します! &dgift.swordcraftonline.cf"
- message "&b/gift <cord>"
- if arg-1 is set:
- if {gift.ttime.%player%} is more than 1:
- message "&cあなたは取得済み!%{gift.ttime.%player%}%秒後にもらえます。"
- else:
- if {gift.cord} is arg-1:
- message "&d&l30GP&a獲得しました!"
- add 1800 to {gift.ttime.%player%}
- add 30 to {gift.point.%player%}
- else:
- message "&c無効"
- command /setgift [<text>]:
- permission: setgift.admin
- permission message: &cYou do not have permission!
- trigger:
- if arg-1 is not set:
- message "&c/setgift <cord>"
- if arg-1 is set:
- message "&a変更完了!"
- set {gift.cord} to arg-1
- every 1 second:
- loop all players:
- if {gift.ttime.%loop-player%} is more than 0:
- remove 1 from {gift.ttime.%loop-player%}
- command /giftmenu:
- trigger:
- open chest with 3 rows named "&d&lGIFT: %{gift.point.%player%}% GP" to player
- format slot 4 of player with skull of player named "&d&l%player%" with lore "&b" to be unstealable
- format slot 9 of player with gray dye named "&bグループを作成" with lore "&6&l必要: &d2000GP" to close then run [broadcast "&c準備中..."]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement