Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rank [<offlineplayer>] [<text>]:
- aliases: /ranks
- permission: server.setrank
- permission message: &8(&c!&8) &7You can not use this command!
- trigger:
- if arg-1 is not set:
- send "&c• &7You need to list a &cplayer&7!"
- stop
- if arg-1 is set:
- if arg-2 is not set:
- open chest with 4 rows named "&c&lRANK &7List" to player
- wait 1 tick
- format slot 10 of player with diamond named "&8[&7Default&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Default!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% default"]
- format slot 11 of player with diamond named "&8[&5Obsidian&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Obsidian!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% obsidian"]
- format slot 12 of player with diamond named "&8[&9Helper&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Helper!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% helper"]
- format slot 13 of player with diamond named "&8[&6Jr. Mod&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Jr. Mod!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% jr.mod"]
- format slot 14 of player with diamond named "&8[&eMod&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Mod!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% mod"]
- format slot 15 of player with diamond named "&8[&cSr. Mod&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Sr. Mod!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% sr.mod"]
- format slot 16 of player with diamond named "&8[&4Admin&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Admin!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% default"]
- format slot 28 of player with emerald named "&8[&5Twitch&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Twitch!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% twitch"]
- format slot 29 of player with emerald named "&8[&bManager&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Manager!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% manager"]
- format slot 30 of player with emerald named "&8[&3Dev&8]" with lore "&c• &7Click to set &c%arg-1%'s &7rank to Dev!||&c• &7Current Rank: %colored arg-1's prefix%" to close then run [make player execute command "rank %arg-1% dev"]
- format slot 45 of player with redstone named "&cDeveloped by:" with lore " &770sOn7" to be unstealable
- if arg-2 is not "default" or "obsidian" or "helper" or "jr.mod" or "jr. mod" or "mod" or "moderator" or "sr.mod" or "sr. mod" or "admin" or "twitch" or "manager" or "dev" or "developer":
- send "&c• &7Thats &cnot &ca rank we currently have!"
- if arg-2 is "default":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&7Default&8]"
- make console execute "manuadd %arg-1% default"
- send "&c• &7You have been moved to &8[&7Default&8] &7rank!" to arg 1
- if arg-2 is "obsidian":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&5Obsidian&8]"
- make console execute "manuadd %arg-1% obsidian"
- send "&c• &7You have been moved to &8[&5Obsidian&8] &7rank!" to arg 1
- if arg-1 is "helper":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&9Helper&8]"
- make console execute "manuadd %arg-1% helper"
- send "&c• &7You have been moved to &8[&9Helper&8] &7rank!" to arg 1
- if arg-1 is "jr.mod" or "jr. mod":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&6Jr. Mod&8]"
- make console execute "manuadd %arg-1% jrmod"
- send "&c• &7You have been moved to &8[&6Jr Mod&8] &7rank!" to arg 1
- if arg-1 is "mod" or "moderator":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&6Mod&8]"
- make console execute "manuadd %arg-1% mod"
- send "&c• &7You have been been moved to &8[&6Mod&8] &7rank!" to arg 1
- if arg-1 is "sr.mod" or "sr. mod":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&cSr. Mod&8]"
- make console execute "manuadd %arg-1% SrMod"
- send "&c• &7You have been moved to &8[&cSr. Mod&8] &7rank!" to arg 1
- if arg-1 is "admin":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&4Admin&8]"
- make console execute "manuadd %arg-1% admin"
- send "&c• &7You have been moved to &8[&4Admin&8] &7rank!" to arg 1
- if arg-1 is "twitch":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&7Default&8]"
- make console execute "manuadd %arg-1% default"
- send "&c• &7You have been moved to &8[&7Default&8] &7rank!" to arg 1
- if arg-1 is "manager":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&bManager&8]"
- make console execute "manuadd %arg-1% manager"
- send "&c• &7You have been moved to &8[&bManager&8] &7rank!" to arg 1
- if arg-1 is "dev" or "developer":
- send "&c• &7You have set &c%arg-1%'s &7rank to &8[&3Dev&8]"
- make console execute "manuadd %arg-1% dev"
- send "&c• &7You have been moved to &8[&3Dev&8] &7rank!" to arg 1
Add Comment
Please, Sign In to add comment