Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set {level.%player's uuid%} to 1
- set {level.xp.cost.%player's uuid%} to random integer between 150 and 1000
- set {level.xp.%player's uuid%} to 0
- set {gold.%player's uuid%} to 50
- set {prestige.%player's uuid%} to 0
- command /reset [<offline player>]:
- permission: restart.player
- trigger:
- set {level.%arg-1's uuid%} to 1
- set {level.xp.cost.%arg-1's uuid%} to random integer between 150 and 1000
- set {level.xp.%arg-1's uuid%} to 0
- set {gold.%arg-1's uuid%} to 50
- set {prestige.%arg-1's uuid%} to 0
- every 5 seconds:
- if {level.xp.%player's uuid%} > {level.xp.cost.%player's uuid%}:
- make player execute "/levelup"
- command /levelup:
- trigger:
- if {level.xp.%player's uuid%} > {level.xp.cost.%player's uuid%}:
- remove {level.xp.cost.%player's uuid%} from {level.xp.%player's uuid%}
- add 1 to {level.%player's uuid%}
- add random integer between 150 and 1000 to {level.xp.cost.%player's uuid%}
- add random integer between 50 and 100 to {gold.%player's uuid%}
- command /set [<offline player>] <string> [<integer>]:
- permission: set.level.xp
- trigger:
- if arg-1 is set:
- if arg-2 is "level":
- if arg-3 is set:
- set {level.%player's uuid%} to arg-3
- if arg-2 is "xp":
- if arg-3 is set:
- set {level.xp.%player's uuid%} to arg-3
- if arg-2 is "xpcost":
- if arg-3 is set:
- set {level.xp.cost.%player's uuid%} to arg-3
- command /reset..p..r..e..s..t:
- trigger:
- set {level.%player's uuid%} to 1
- set {level.xp.cost.%player's uuid%} to random integer between 250 and 2000
- add random integer between 20000 and 25000 {gold.%player's uuid%}
- add 1 to {prestige.%player's uuid%}
- command /prestige:
- trigger:
- if {level.%player's uuid%} > 499:
- make player execute "reset..p..r..e..s..t"
Add Comment
Please, Sign In to add comment