Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /farm [<text>]:
- trigger:
- if arg-1 is not set:
- message ""
- else if arg-1 is "get":
- if {%player%.myfarm} is not set:
- open chest with 6 rows named "[GUIの名前]" to player
- wait a tick
- if {farm.1} is true:
- format slot 0 of player with green wool named "&afarm1" with lore "クリックで取得" to run "/systemfarm 1 %player%"
- else:
- format slot 0 of player with red wool named "&cfarm1" with lore "" to run "/farm get"
- if {farm.2} is true:
- format slot 1 of player with green wool named "&afarm2" with lore "クリックで取得" to run "/systemfarm 2 %player%"
- else:
- format slot 1 of player with red wool named "&cfarm2" with lore "" to run "/farm get"
- command /systemfarm [<number>] [<player>]:
- permission: farm.system
- trigger:
- command "/region addmember farm%arg-1% %arg-2%"
- set {%arg-2%.myfarm} to "farm%arg-1%"
- set {farm.%arg-1%} to true
- message "&afarm%arg-1%をもらいました" to arg 2
- command /notWE [<player>]:
- trigger:
- if name of player is "iku55":
- command "/scoreboard players tag %arg-1% remove No"
- else:
- message "&cこのコマンドは使用できません(owner専用)"
Add Comment
Please, Sign In to add comment