Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on chat:
- cancel event
- if {nick::%uuid of player%} is set:
- if {prefix::%uuid of player%} is set:
- if {suffix::%uuid of player%} is set:
- broadcast "&r%{prefix::%uuid of player%}%%{nick::%uuid of player%}%%{suffix::%uuid of player%}%&a: &r%coloured message%"
- else:
- broadcast "&r%{prefix::%uuid of player%}%%{nick::%uuid of player%}%&a: &r%coloured message%"
- else:
- if {suffix::%uuid of player%} is set:
- broadcast "&r%{nick::%uuid of player%}%%{suffix::%uuid of player%}%&a: &r%coloured message%"
- else:
- broadcast "&r%{nick::%uuid of player%}%&a: &r%coloured message%"
- else:
- if {prefix::%uuid of player%} is set:
- if {suffix::%uuid of player%} is set:
- broadcast "&r%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}%&a: &r%coloured message%"
- else:
- broadcast "&r%{prefix::%uuid of player%}%%player%&a: &r%coloured message%"
- else:
- if {suffix::%uuid of player%} is set:
- broadcast "&r%player%%{suffix::%uuid of player%}%&a: &r%coloured message%"
- else:
- broadcast "&r%player%&a: &r%coloured message%"
- options:
- prefix: &6[&3System&6]&r
- command /systems [<text>] [<text>] [<text>] [<text>] [<text>]:
- permission: server.admin
- permission message: &cYou don't permitted use a this command.
- aliases: /system, /serversystems:systems, /serversystems:system
- trigger:
- if arg-1 is "rank" or "chat" or "player":
- if arg-1 is "rank":
- if arg-2 is "set" or "list" or "check":
- if arg-2 is "set":
- if arg-3 is set:
- if arg-4 is "vip" or "mvp" or "elite" or "legend" or "builder" or "admin" or "subowner" or "owner":
- if arg-4 is "vip":
- broadcast "{@prefix} &eRank: &2%arg 3%&a が&c&lVIP&aになりました。"
- set {%arg 3%.rank} to "&c&lVIP"
- execute console command "systems chat sets prefix %arg 3% &b[&cVIP&b] &r"
- execute console command "nte player %arg 3% prefix &b[&cVIP&b] &r"
- if arg-4 is "mvp":
- broadcast "{@prefix} &eRank: &2%arg 3%&a が&6&lMVP&aになりました。"
- set {%arg 3%.rank} to "&6&lMVP"
- execute console command "systems chat sets prefix %arg 3% &b[&6MVP&b] &r"
- execute console command "nte player %arg 3% prefix &b[&6MVP&b] &r"
- if arg-4 is "elite":
- broadcast "{@prefix} &eRank: &2%arg 3%&a が&e&lELITE&aになりました。"
- set {%arg 3%.rank} to "&e&lELITE"
- execute console command "systems chat sets prefix %arg 3% &b[&eELITE&b] &r"
- execute console command "nte player %arg 3% prefix &b[&eELITE&b] &r"
- if arg-4 is "legend":
- broadcast "{@prefix} &eRank: &2%arg 3%&a が&a&lLEGEND&aになりました。"
- set {%arg 3%.rank} to "&a&lLEGEND"
- execute console command "systems chat sets prefix %arg 3% &b[&aLEGEND&b] &r"
- execute console command "nte player %arg 3% prefix &b[&aLEGEND&b] &r"
- if arg-4 is "builder":
- broadcast "{@prefix} &eRank: &2%arg 3%&a が&3&lBUILDER&aになりました。"
- set {%arg 3%.rank} to "&3&lBUILDER"
- execute console command "systems chat sets prefix %arg 3% &r[&3BUILDER&r] &r"
- execute console command "nte player %arg 3% prefix &r[&3BUILDER&r] &r"
- if arg-4 is "admin":
- broadcast "{@prefix} &eRank: &2%arg 3%&a が&4&lADMIN&aになりました。"
- set {%arg 3%.rank} to "&4&lADMIN"
- execute console command "systems chat sets prefix %arg 3% &e[&4ADMIN&e] &r"
- execute console command "nte player %arg 3% prefix &e[&4ADMIN&e] &r"
- if arg-4 is "subowner":
- broadcast "{@prefix} &eRank: &2%arg 3%&a が&5&lSUBOWNER&aになりました。"
- set {%arg 3%.rank} to "&5&lSUBOWNER"
- execute console command "systems chat sets prefix %arg 3% &e[&5SUBOWNER&e] &r"
- execute console command "nte player %arg 3% prefix &e[&5SUBOWNER&e] &r"
- if arg-4 is "owner":
- broadcast "{@prefix} &eRank: &2%arg 3%&a が&2&lOWNER&aになりました。"
- set {%arg 3%.rank} to "&2&lOWNER"
- execute console command "systems chat sets prefix %arg 3% &e[&2OWNER&e] &r"
- execute console command "nte player %arg 3% prefix &e[&2OWNER&e] &r"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems rank set %arg 3% <rank>"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems rank set <player> <rank>"
- if arg-2 is "list":
- if arg-2 is "list":
- send "&3Ranks (8): &aVip&r, &aMvp&r, &aElite&r, &aLegend&r, &2Builder&r, &2Admin&r, &2SubOwner&r, &6Owner"
- if arg-2 is "check":
- if arg-3 is set:
- send "{@prefix} &eRank Check: &2%arg 3% &aは%{%arg 3%.rank}%&aランクを持っています。"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems rank check <player>"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems rank <set/check>..."
- if arg-1 is "chat":
- if arg-2 is "sets" or "alert" or "clean":
- if arg-2 is "sets":
- if arg-3 is "prefix" or "suffix" or "nick":
- if arg-3 is "prefix":
- if arg-4 is set:
- if arg-5 is set:
- broadcast "{@prefix} &eChat-Prefix: &2%player%&a が &2%arg 4% %aの称号 (前) を""&r%coloured arg 5%&a""にしました。"
- set {prefix::%uuid of arg-4%} to coloured arg-5
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat sets prefix %arg 4% <text>"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat sets prefix <player> <text>"
- if arg-3 is "suffix":
- if arg-4 is set:
- if arg-5 is set:
- broadcast "{@prefix} &eChat-Prefix: &2%player%&a が &2%arg 4% %aの称号 (後) を""&r%coloured arg 5%&a""にしました。"
- set {suffix::%uuid of arg-4%} to coloured arg-5
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat sets suffix %arg 4% <text>"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat sets suffix <player> <text>"
- if arg-3 is "nick":
- if arg-4 is set:
- if arg-5 is set:
- broadcast "{@prefix} &eChat-Prefix: &2%player%&a が &2%arg 4% %aのニックネームを""&r%coloured arg 5%&a""にしました。"
- set {nick::%uuid of arg-4%} to coloured arg-5
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat sets nick %arg 4% <text>"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat sets nick <player> <text>"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat sets <prefix/suffix/nick>..."
- if arg-2 is "alert":
- if arg-3 is set:
- broadcast "&c&l!&4 Alert &c&l!&r %coloured arg 3%"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat alert <text>"
- if arg-2 is "clean":
- loop 75 times:
- broadcast ""
- broadcast "{@prefix} &eChat: &2%player%&a がチャットをクリアしました。"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems chat <sets/alert>..."
- if arg-1 is "player":
- if arg-2 is "vanish":
- if arg-2 is "vanish":
- if arg-3 is "check" or "toggle":
- if arg-3 is "check":
- if arg-4 is set:
- if {%arg 4%.vanish} set:
- send "{@prefix} &ePlayer-Vanish-Check: &2%arg 4% &aは&b透明&aです。"
- else:
- send "{@prefix} &ePlayer-Vanish-Check: &2%arg 4% &aは&c不透明&aです。"
- else:
- if {%player%.vanish} set:
- send "{@prefix} &ePlayer-Vanish-Check: &aあなたは&b透明&aです。"
- else:
- send "{@prefix} &ePlayer-Vanish-Check: &aあなたは&c不透明&aです。"
- if arg-3 is "toggle":
- if arg-4 is set:
- if {%arg 4%.vanish} is set
- send "{@prefix} &ePlayer-Vanish-Toggle: &2%arg 4%&aは&c不透明&aになりました"
- delete {%arg 4%.vanish}
- reveal the arg-4 from all players
- else:
- send "{@prefix} &ePlayer-Vanish-Toggle: &2%arg 4%&aは&b透明&aになりました"
- set {%arg 4%.vanish} to true
- hide the arg-4 from all players
- else:
- if {%player%.vanish} is set
- send "{@prefix} &ePlayer-Vanish-Toggle: &aあなたは&c不透明&aになりました"
- delete {%player%.vanish}
- reveal the player from all players
- else:
- send "{@prefix} &ePlayer-Vanish-Toggle: &aあなたは&b透明&aになりました"
- set {%player%.vanish} to true
- hide the player from all players
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems player vanish <check/toggle> [player]"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems player <vanish> <check/toggle> [player]"
- else:
- send "{@prefix} &eCommand: &cUsage: &7/systems <rank/chat/player>..."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement