Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- pr: &8&l(&3&l!&8&l) #Prefix for when something goes right
- pw: &8&l(&4&l!&8&l) #prefix for when something goes wrong (ex. not enough money)
- #[LETTER] rank = upgrade to [LETTER] ex: b rank = a -> b
- b rank: 100
- c rank: 100
- d rank: 100
- e rank: 100
- f rank: 100
- g rank: 100
- h rank: 100
- i rank: 100
- j rank: 100
- k rank: 100
- l rank: 100
- m rank: 100
- n rank: 100
- o rank: 100
- p rank: 100
- q rank: 100
- r rank: 100
- s rank: 100
- t rank: 100
- u rank: 100
- v rank: 100
- w rank: 100
- x rank: 100
- y rank: 100
- z rank: 100
- command /rankup:
- trigger:
- if {rank.%player%} is not set:
- if player's balance >= {@b rank}:
- send "{@pr} &7You have ranked up to &bB&7."
- set {rank.%player%} to "B"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@b rank}&7 to do this!"
- if {rank.%player%} is "b":
- if player's balance >= {@c rank}:
- send "{@pr} &7You have ranked up to &bC&7."
- set {rank.%player%} to "C"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@c rank}&7 to do this!"
- if {rank.%player%} is "c":
- if player's balance >= {@d rank}:
- send "{@pr} &7You have ranked up to &bD&7."
- set {rank.%player%} to "D"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@d rank}&7 to do this!"
- if {rank.%player%} is "d":
- if player's balance >= {@e rank}:
- send "{@pr} &7You have ranked up to &bE&7."
- set {rank.%player%} to "E"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@e rank}&7 to do this!"
- if {rank.%player%} is "e":
- if player's balance >= {@f rank}:
- send "{@pr} &7You have ranked up to &bF&7."
- set {rank.%player%} to "F"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@f rank}&7 to do this!"
- if {rank.%player%} is "f":
- if player's balance >= {@g rank}:
- send "{@pr} &7You have ranked up to &bG&7."
- set {rank.%player%} to "G"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@g rank}&7 to do this!"
- if {rank.%player%} is "g":
- if player's balance >= {@h rank}:
- send "{@pr} &7You have ranked up to &bH&7."
- set {rank.%player%} to "H"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@h rank}&7 to do this!"
- if {rank.%player%} is "h":
- if player's balance >= {@i rank}:
- send "{@pr} &7You have ranked up to &bI&7."
- set {rank.%player%} to "I"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@i rank}&7 to do this!"
- if {rank.%player%} is "I":
- if player's balance >= {@j rank}:
- send "{@pr} &7You have ranked up to &bJ&7."
- set {rank.%player%} to "J"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@j rank}&7 to do this!"
- if {rank.%player%} is "J":
- if player's balance >= {@k rank}:
- send "{@pr} &7You have ranked up to &bK&7."
- set {rank.%player%} to "K"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@k rank}&7 to do this!"
- if {rank.%player%} is "K":
- if player's balance >= {@l rank}:
- send "{@pr} &7You have ranked up to &bL&7."
- set {rank.%player%} to "L"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@l rank}&7 to do this!"
- if {rank.%player%} is "L":
- if player's balance >= {@m rank}:
- send "{@pr} &7You have ranked up to &bM&7."
- set {rank.%player%} to "M"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@m rank}&7 to do this!"
- if {rank.%player%} is "m":
- if player's balance >= {@n rank}:
- send "{@pr} &7You have ranked up to &bJ&7."
- set {rank.%player%} to "N"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@n rank}&7 to do this!"
- if {rank.%player%} is "n":
- if player's balance >= {@o rank}:
- send "{@pr} &7You have ranked up to &bO&7."
- set {rank.%player%} to "O"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@o rank}&7 to do this!"
- if {rank.%player%} is "O":
- if player's balance >= {@p rank}:
- send "{@pr} &7You have ranked up to &bP&7."
- set {rank.%player%} to "P"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@p rank}&7 to do this!"
- if {rank.%player%} is "p":
- if player's balance >= {@q rank}:
- send "{@pr} &7You have ranked up to &bQ&7."
- set {rank.%player%} to "Q"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@q rank}&7 to do this!"
- if {rank.%player%} is "Q":
- if player's balance >= {@r rank}:
- send "{@pr} &7You have ranked up to &bR&7."
- set {rank.%player%} to "R"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@r rank}&7 to do this!"
- if {rank.%player%} is "R":
- if player's balance >= {@s rank}:
- send "{@pr} &7You have ranked up to &bS&7."
- set {rank.%player%} to "S"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@s rank}&7 to do this!"
- if {rank.%player%} is "I":
- if player's balance >= {@t rank}:
- send "{@pr} &7You have ranked up to &bT&7."
- set {rank.%player%} to "T"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@t rank}&7 to do this!"
- if {rank.%player%} is "T":
- if player's balance >= {@u rank}:
- send "{@pr} &7You have ranked up to &bU&7."
- set {rank.%player%} to "U"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@u rank}&7 to do this!"
- if {rank.%player%} is "U":
- if player's balance >= {@t rank}:
- send "{@pr} &7You have ranked up to &bV&7."
- set {rank.%player%} to "V"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@v rank}&7 to do this!"
- if {rank.%player%} is "V":
- if player's balance >= {@w rank}:
- send "{@pr} &7You have ranked up to &bW&7."
- set {rank.%player%} to "W"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@w rank}&7 to do this!"
- if {rank.%player%} is "W":
- if player's balance >= {@x rank}:
- send "{@pr} &7You have ranked up to &bX&7."
- set {rank.%player%} to "X"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@x rank}&7 to do this!"
- if {rank.%player%} is "x":
- if player's balance >= {@y rank}:
- send "{@pr} &7You have ranked up to &bY&7."
- set {rank.%player%} to "Y"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@y rank}&7 to do this!"
- if {rank.%player%} is "Y":
- if player's balance >= {@z rank}:
- send "{@pr} &7You have ranked up to &bZ&7."
- set {rank.%player%} to "Z"
- else:
- send "{@pw} &7You don't have enough money to do this!"
- send "{@pw} &7You need &4$&c{@z rank}&7 to do this!"
- if {rank.%player%} is "Z":
- send "{@r} &7Failed while executing, you are at the maximum rank!"
- command /rank:
- trigger:
- send "You are ""%{rank.%player%}%"""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement