Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ninja [<text>]:
- permission: Admin
- trigger:
- if arg is "true":
- set {shinobi.%uuid of player%} to 1
- hide player in tablist of all players
- hide player from all players
- broadcast "&e%player% left the game" #ここのメッセージは自由に自鯖のログアウトメッセージに合わせてください
- send "&9NinjaMode &aEnable!!! &9AIEEEEEEEEEEE!!!!???"
- else if arg is "false":
- set {shinobi.%uuid of player%} to 0
- reveal player from all players
- show player in tablist of all players
- send "&9NinjaMode &cDisable!!! &9AIEEEEEEEEEEE!!!!???"
- broadcast "&7 %player% &ehas joined the game!" #ここのメッセージは自由に自鯖のログインメッセージに合わせてください
- else:
- send "&cError&4:&8 argが true と false どちらでもありません"
- send "&8/ninja (true/false)"
- on tab complete:
- loop all players:
- {shinobi.%uuid of loop-player%} is 1
- remove "%loop-player%" from completions
- on join:
- wait 1 tick
- loop all players:
- {shinobi.%uuid of loop-player%} is 1
- hide loop-player from player
- hide loop-player in tablist of player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement