SHOW:
|
|
- or go back to the newest paste.
| 1 | #{team}: チーム変数
| |
| 2 | on crafting of banner: | |
| 3 | - | cancel event |
| 3 | + | cancel event |
| 4 | - | on load: |
| 4 | + | on rightclick on banner: |
| 5 | - | register new shapeless recipe for enchanted golden apple using gold block, gold block, gold block, gold block, apple, gold block, gold block, gold block, gold block |
| 5 | + | if {team.%player%} is "red":
|
| 6 | - | command /team [<text>] [<player>]: |
| 6 | + | set block at event-location to red banner |
| 7 | - | permission: sk.command.team |
| 7 | + | if {team.%player%} is "blue":
|
| 8 | - | trigger: |
| 8 | + | set block at event-location to blue banner |
| 9 | - | if arg-1 is not "yellow" or "red" or "blue" or "green" or "leave" or "confirmation": |
| 9 | + | if {team.%player%} is "yellow":
|
| 10 | - | send "&c使用法: /team <team|leave|confirmation> <player>" |
| 10 | + | set block at event-location to yellow banner |
| 11 | - | stop |
| 11 | + | if {team.%player%} is "green":
|
| 12 | - | if arg-1 is "red": |
| 12 | + | set block at event-location to green banner |
| 13 | - | set {team.%arg-2%} to 1
|
| 13 | + | command /jointeam [<text>] [<player>]: |
| 14 | - | send "&b%arg-2%のチームを&c赤&bにしました" |
| 14 | + | permission: sk.command.team |
| 15 | - | command "/scoreboard teams join red %arg-2%" |
| 15 | + | trigger: |
| 16 | - | if arg-1 is "blue": |
| 16 | + | if arg-1 is not "yellow" or "red" or "blue" or "green": |
| 17 | - | set {team.%arg-2%} to 2
|
| 17 | + | send "&c使用法: /jointeam <team> <player>" |
| 18 | - | send "&b%arg-2%のチームを&9青&bにしました" |
| 18 | + | stop |
| 19 | - | command "/scoreboard teams join blue %arg-2%" |
| 19 | + | else: |
| 20 | - | if arg-1 is "yellow": |
| 20 | + | set {team.%arg-2%} to arg-1
|
| 21 | - | set {team.%arg-2%} to 3
|
| 21 | + | command "/scoreboard teams join %arg-1% %arg-2%" |
| 22 | - | send "&b%arg-2%のチームを&e黄&bにしました" |
| 22 | + | if arg-1 is "red": |
| 23 | - | command "/scoreboard teams join yellow %arg-2%" |
| 23 | + | command "/ne player %arg-2% prefix &c" |
| 24 | - | if arg-1 is "green": |
| 24 | + | if arg-1 is "blue": |
| 25 | - | set {team.%arg-2%} to 4
|
| 25 | + | command "/ne player %arg-2% prefix &9" |
| 26 | - | send "&b%arg-2%のチームを&a緑&bにしました" |
| 26 | + | if arg-1 is "yellow": |
| 27 | - | command "/scoreboard teams join green %arg-2%" |
| 27 | + | command "/ne player %arg-2% prefix &e" |
| 28 | - | if arg-1 is "leave": |
| 28 | + | if arg-1 is "green": |
| 29 | - | delete {team.%arg-2%}
|
| 29 | + | command "/ne player %arg-2% prefix &a" |