Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set {rank::%uuid of player%} to "&aA"
- set {prestige::%uuid of player%} to 0
- set {rank.%player's uuid%} to "&7"
- set {shortrank.%player's uuid%} to "&rUser"
- on join:
- apply potion of strength of tier 5 to the player for 999 days
- command /rankup:
- trigger:
- if {rank::%uuid of player%} is "&aA":
- if player's balance >= 100:
- set {rank::%uuid of player%} to "&bB"
- remove 100 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &bB."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&bB":
- if player's balance >= 350:
- set {rank::%uuid of player%} to "&cC"
- remove 350 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &cC."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&cC":
- if player's balance >= 500:
- set {rank::%uuid of player%} to "&dD"
- remove 500 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &dD."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&dD":
- if player's balance >= 750:
- set {rank::%uuid of player%} to "&eE"
- remove 750 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &eE."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&eE":
- if player's balance >= 1000:
- set {rank::%uuid of player%} to "&fF"
- remove 1000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &fF."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&fF":
- if player's balance >= 1250:
- set {rank::%uuid of player%} to "&aG"
- remove 1250 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &aG."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&aG":
- if player's balance >= 1500:
- set {rank::%uuid of player%} to "&bH"
- remove 1500 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &bH."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&bH":
- if player's balance >= 1750:
- set {rank::%uuid of player%} to "&cI"
- remove 1750 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &cI."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&cI":
- if player's balance >= 2000:
- set {rank::%uuid of player%} to "&dJ"
- remove 2000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &dJ."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&dJ":
- if player's balance >= 2500:
- set {rank::%uuid of player%} to "&eK"
- remove 2500 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &eK."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&eK":
- if player's balance >= 3000:
- set {rank::%uuid of player%} to "&fL"
- remove 3000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &fL."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&fL":
- if player's balance >= 3500:
- set {rank::%uuid of player%} to "&aM"
- remove 3500 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &aM."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&aM":
- if player's balance >= 4000:
- set {rank::%uuid of player%} to "&bN"
- remove 4000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &bN."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&bN":
- if player's balance >= 5000:
- set {rank::%uuid of player%} to "&cO"
- remove 5000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &cO."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&cO":
- if player's balance >= 6000:
- set {rank::%uuid of player%} to "&dP"
- remove 6000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &dP."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&dP":
- if player's balance >= 7000:
- set {rank::%uuid of player%} to "&eQ"
- remove 7000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &eQ."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&eQ":
- if player's balance >= 8000:
- set {rank::%uuid of player%} to "&fR"
- remove 8000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &fR."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&fR":
- if player's balance >= 9000:
- set {rank::%uuid of player%} to "&aS"
- remove 9000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &aS."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&aS":
- if player's balance >= 10000:
- set {rank::%uuid of player%} to "&bT"
- remove 10000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &bT."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&bT":
- if player's balance >= 10750:
- set {rank::%uuid of player%} to "&cU"
- remove 10750 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &cU."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&cU":
- if player's balance >= 11500:
- set {rank::%uuid of player%} to "&dV"
- remove 11500 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &dV."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&dV":
- if player's balance >= 12250:
- set {rank::%uuid of player%} to "&eW"
- remove 12250 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &eW."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&eW":
- if player's balance >= 13000:
- set {rank::%uuid of player%} to "&fX"
- remove 13000 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &fX."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&fX":
- if player's balance >= 13750:
- set {rank::%uuid of player%} to "&aY"
- remove 13750 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &aY."
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- if {rank::%uuid of player%} is "&aY":
- if player's balance >= 14500:
- set {rank::%uuid of player%} to "&6&lZ"
- remove 14500 from player's balance
- message "&c&lHaste &8» &c%player% &7has ranked up to &6&lZ."
- message "&c&lHaste &8» &aCongratulations! You can now prestige by typing &b/prestige"
- stop
- else:
- message "&c&lHaste &8» &7You do not have enough money to advance."
- command /reset:
- trigger:
- set {rank::%uuid of player%} to "&aA"
- set {prestige::%uuid of player%} to 0
- on chat:
- cancel event
- broadcast "&8[&c%{prestige::%uuid of player%}%&8] &8[%{rank::%uuid of player%}%&8] %{rank.%player's uuid%}% &7%player% » %message%"
- command /rank [<offline player>]:
- permission: server.rank
- trigger:
- if arg-1 is not set:
- send "&cInvalid usage!"
- else if arg-1 is set:
- open chest with 5 rows named "&8Rank Selection &8(&n%arg-1%)" to player
- format slot 4 of player with arg-1's skull named "&bModifying %arg-1%" with lore "||&rIn this GUI you can modify||&r%arg-1%'s rank.||||&bCurrent Rank||&r &r● &r%{shortrank.%arg-1%}%" to be unstealable
- format slot 22 of player with paper named "&bRanks" to be unstealable
- format slot 29 of player with book named "&cAdmin" with lore "||&rClick to change %arg-1%'s rank||&rto owner." to close then run [make player execute "¶rank %arg-1% admin"]
- format slot 30 of player with book named "&2Moderator" with lore "||&rClick to change %arg-1%'s rank||&rto moderator." to close then run [make player execute "¶rank %arg-1% mod"]
- format slot 31 of player with book named "&9Helper" with lore "||&rClick to change %arg-1%'s rank||&rto helper." to close then run [make player execute "¶rank %arg-1% helper"]
- format slot 32 of player with book named "&6Youtuber" with lore "||&rClick to change %arg-1%'s rank||&rto youtuber." to close then run [make player execute "¶rank %arg-1% yt"]
- format slot 33 of player with book named "&3Build Team" with lore "||&rClick to change %arg-1%'s rank||&rto build team." to close then run [make player execute "¶rank %arg-1% bt"]
- format slot 40 of player with book named "&7User" with lore "||&rClick to change %arg-1%'s rank||&rto user." to close then run [make player execute "¶rank %arg-1% user"]
- command /¶rank [<offline player>] [<text>]:
- permission: haste.rank
- trigger:
- if arg-1 isn't set:
- message "&cIncorrect usage."
- if arg-1 is set:
- if arg-2 is "admin":
- if player has permission "server.rank":
- set {rank.%arg-1's uuid%} to "&c[ADMIN] &C"
- set {shortrank.%arg-1's uuid%} to "&rAdministrator"
- set tab list name of arg 1 to "&c[ADMIN] &C%player%"
- send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bAdmin &eprevious rank removed."
- send "&eYour server rank has been set to &bAdmin&e!" to arg 1
- if player doesn't have permission "server.manager":
- send "&cYou're not allowed to execute this command!"
- if arg-2 is "yt":
- if player has permission "server.rank":
- set {rank.%arg-1's uuid%} to "&6[YT] &6"
- set {shortrank.%arg-1's uuid%} to "&rYoutuber"
- set tab list name of arg 1 to "&6[YT] &6%player%"
- send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bYoutuber &eprevious rank removed."
- send "&eYour server rank has been set to &bYoutuber&e!" to arg 1
- if player doesn't have permission "server.manager":
- send "&cYou're not allowed to execute this command!"
- if arg-2 is "mod":
- if player has permission "server.rank":
- set {rank.%arg-1's uuid%} to "&2[MOD] &2"
- set {shortrank.%arg-1's uuid%} to "&rModerator"
- set tab list name of arg 1 to "&2[MOD] &2%player%"
- send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bMod &eprevious rank removed."
- send "&eYour server rank has been set to &bMod&e!" to arg 1
- if player doesn't have permission "server.manager":
- send "&cYou're not allowed to execute this command!"
- if arg-2 is "helper":
- if player has permission "server.rank":
- set {rank.%arg-1's uuid%} to "&9[HELPER] &9"
- set {shortrank.%arg-1's uuid%} to "&rHelper"
- set tab list name of arg 1 to "&9[HELPER] &9%player%"
- send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bHelper &eprevious rank removed."
- send "&eYour server rank has been set to &bHelper&e!" to arg 1
- if player doesn't have permission "server.manager":
- send "&cYou're not allowed to execute this command!"
- if arg-2 is "user":
- if player has permission "server.rank":
- set {rank.%arg-1's uuid%} to "&7"
- set {shortrank.%arg-1's uuid%} to "&rUser"
- set tab list name of arg 1 to "&7%player%"
- send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bUser &eprevious rank removed."
- send "&eYour server rank has been set to &bUser&e!" to arg 1
- if player doesn't have permission "server.manager":
- send "&cYou're not allowed to execute this command!"
- if arg-2 is "bt":
- if player has permission "server.rank":
- set {rank.%arg-1's uuid%} to "&3[BUILD TEAM] &3"
- set {shortrank.%arg-1's uuid%} to "&rBuild Team"
- set tab list name of arg 1 to "&3[BUILD TEAM] &3%player%"
- send "&eSuccessfully updated &b%arg-1%'s &euser rank to &bBuild Team &eprevious rank removed."
- send "&eYour server rank has been set to &bBuild Team&e!" to arg 1
- if player doesn't have permission "server.manager":
- send "&cYou're not allowed to execute this command!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement