Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- #==============================================================#
- #Rank-Changer
- #==============================================================#
- #Permission
- # rank.changer
- #Command#
- #rank <> <> <> <>
- #rank set [prefix/suffix] %name %prefix/suffix-rank
- #rank clear %name
- #
- #
- #Don't Edit ⇩
- prefix: &9&l[&6&l&oRank&b&lSystem&9&l]
- help: &9&l[&6&l&oRank&b&lSystem&9&l]&7コマンドが間違っています!&9/rank help
- prefix_msg: &9&l[&6&l&oRank&b&lSystem&9&l] &9prefixを&7設定しました。
- suffix_msg: &9&l[&6&l&oRank&b&lSystem&9&l] &9suffixを&7設定しました。
- #デフォルトのランク
- #初期のランク
- #
- default: &8NONE
- #
- #鯖に参加したときにアナウンスされる
- #%player% = 名前 %{prefix::%player%}% = ランク
- join: &9[&ajoin&9]%{prefix::%player%}% %player%
- #
- #鯖から退出したときにアナウンスされる
- #%player% = 名前 %{prefix::%player%}% = ランク
- quit: &9[&cquit&9]%{prefix::%player%}% %player%
- #==============================================================#
- On join:
- set join message to "{@join}"
- if {prefix::%uuid of player%} isn't set:
- set {prefix::%uuid of player%} to "{@default}"
- stop
- On quit:
- set quit message to "{@quit}"
- On any movement:
- set the player's tablist name to "&9&l≫%{prefix::%uuid of player%}% &f%player% %{suffix::%uuid of player%}%"
- on chat:
- cancel event
- if {mute::%uuid of player%} is true:
- send "{@prefix} &6あなたはMUTEされています。"
- stop
- if {prefix::%uuid of player%} is set:
- if {suffix::%uuid of player%} is set:
- broadcast "&8≫&a&lチャット &7≫%{prefix::%uuid of player%}% &f%player% %{suffix::%uuid of player%}%&a: %message%"
- else:
- broadcast "&8≫&a&lチャット &7≫%{prefix::%uuid of player%}% &f%player%&a: %message%"
- else:
- if {suffix::%uuid of player%} is set:
- broadcast "&8≫&a&lチャット &7≫ &f%player% %{suffix::%uuid of player%}%&a: %message%"
- else:
- broadcast "&8≫&a&lチャット &7≫ &f%player%&a: %message%"
- command /rank [<text>] [<text>] [<text>] [<text>]:
- usage: /rank [set/clear/help] [prefix/suffix/]
- permission: rank.changer
- trigger:
- if arg-1 is "set":
- if arg-2 is "prefix":
- if arg-3 is set:
- if arg-4 is set:
- set {prefix::%uuid of arg-3%} to colored arg-4
- send "{@prefix_msg}"
- stop
- if arg-2 is "suffix":
- if arg-3 is set:
- if arg-4 is set:
- set {suffix::%uuid of arg-3%} to colored arg-4
- send "{@suffix_msg}"
- stop
- if arg-1 is "clear":
- if arg-2 is set:
- delete {prefix::%uuid of arg-2%}
- delete {suffix::%uuid of arg-2%}
- send "{@prefix} &7リセットしました。"
- stop
- else:
- send "{@help}"
- stop
- if arg-1 is "help":
- send "&9==================================="
- send "{@prefix}"
- send "&9Command"
- send "&a↓&dランクを設定します"
- send "&6/rank set [prefix/suffix] %player% %rank%"
- send "&a↓設定したランクをリセットします。"
- send "&a/rank clear %player%"
- send "&a↓コマンド一覧を表示します"
- send "&b/rank help"
- send "&4/mute %player% %理由%"
- send "&a↓プレイヤーのMUTEを解除します。"
- send "&a/unmute %player% %理由%"
- send "&9==================================="
- stop
- else:
- send "&9==================================="
- send "{@prefix}"
- send "&9Command"
- send "&a↓&dランクを設定します"
- send "&6/rank set [prefix/suffix] %player% %rank%"
- send "&a↓設定したランクをリセットします。"
- send "&a/rank clear %player%"
- send "&a↓コマンド一覧を表示します"
- send "&b/rank help"
- send "&a↓プレイヤーをMUTEします。"
- send "&4/mute %player% %理由%"
- send "&a↓プレイヤーのMUTEを解除します。"
- send "&a/unmute %player% %理由%"
- send "&9==================================="
- stop
- command /mute <text> <text>:
- permission: rank.changer
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {mute::%uuid of arg-1%} to true
- broadcast "{@prefix} &4%arg-1%さんはMUTEにされました。"
- broadcast "{@prefix} &aby &6%player% &e理由: %arg-2%"
- stop
- else:
- send "{@prefix} &5理由をつけてください"
- stop
- else:
- send "{@prefix} 名前をつけてください"
- stop
- command /unmute <text> <text>:
- permission: rank.changer
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {mute::%uuid of arg-1%} to false
- broadcast "{@prefix} &a%arg-1%さんはMUTE解除されました。"
- broadcast "{@prefix} &aby &6%player% &e理由: %arg-2%"
- else:
- send "{@prefix} &5理由をつけてください"
- else:
- send "{@prefix} 名前をつけてください"
Add Comment
Please, Sign In to add comment