Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- make player execute ":scoreboard:"
- set {rank.%player's uuid%} to "&7"
- set {userrank.%player's uuid%} to "None"
- set {rankcost.%player's uuid%} to 50000
- set {mined.%player's uuid%} to 0
- set {level.%player's uuid%} to 1
- set {points.%player's uuid%} to 0
- set {prestige.%player's uuid%} to 0
- set {staffuser.%player's uuid%} to false
- on join:
- make player execute ":scoreboard:"
- command /:scoreboard:
- trigger:
- wipe player's sidebar
- set name of sidebar of player to "&cBLOCKED &7PRISONS"
- set score "&8&m-----------*-----------" in sidebar of player to 13
- set score "&cRank:" in sidebar of player to 12
- set score "&7%{userrank.%player's uuid%}%" in sidebar of player to 11
- set score "&1" in sidebar of player to 10
- set score "&cPrestige:" in sidebar of player to 9
- set score "&7%{prestige.%player's uuid%}%" in sidebar of player to 8
- set score "&8&m----------*-*----------" in sidebar of player to 7
- set score "&cUser:" in sidebar of player to 6
- set score "&7Name: &7%player%" in sidebar of player to 5
- set score "&7Level: &7%{level.%player's uuid%}%" in sidebar of player to 4
- set score "&7Points: &7%{points.%player's uuid%}%" in sidebar of player to 3
- set score "&8&m--------*-----*--------" in sidebar of player to 1
- command /group [<offline player>] [<text>]:
- permission: server.set
- permission message: &cInsufficent permissions.
- trigger:
- if argument 1 is set:
- if argument 2 is set:
- if argument 2 is "owner":
- set {userrank.%arg-1's uuid%} to "Owner"
- set {rank.%arg-1's uuid%} to "&8(&cOwner&8) &c"
- set {colour.%arg-1's uuid%} to "&c"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute ":scoreboard"
- message "&cBLOCKED &8» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&cBLOCKED &8» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "dev":
- set {userrank.%arg-1's uuid%} to "Developer"
- set {rank.%arg-1's uuid%} to "&8(&cDeveloper&8) &c"
- set {colour.%arg-1's uuid%} to "&c"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute ":scoreboard"
- message "&cBLOCKED &8» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&cBLOCKED &8» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "admin":
- set {userrank.%arg-1's uuid%} to "Admin"
- set {rank.%arg-1's uuid%} to "&8(&bAdmin&8) &b"
- set {colour.%arg-1's uuid%} to "&b"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute ":scoreboard"
- message "&cBLOCKED &8» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&cBLOCKED &8» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "mod":
- set {userrank.%arg-1's uuid%} to "Mod"
- set {rank.%arg-1's uuid%} to "&8(&dMod&8) &d"
- set {colour.%arg-1's uuid%} to "&d"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute ":scoreboard"
- message "&cBLOCKED &8» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&cBLOCKED &8» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "helper":
- set {userrank.%arg-1's uuid%} to "Helper"
- set {rank.%arg-1's uuid%} to "&8(&aHelper&8) &a"
- set {colour.%arg-1's uuid%} to "&a"
- set {staffuser.%arg-1's uuid%} to true
- make argument 1 execute ":scoreboard"
- message "&cBLOCKED &8» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&cBLOCKED &8» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- if argument 2 is "none":
- set {userrank.%arg-1's uuid%} to "None"
- set {rank.%arg-1's uuid%} to "&7"
- set {colour.%arg-1's uuid%} to "&7"
- set {staffuser.%arg-1's uuid%} to false
- make argument 1 execute ":scoreboard"
- message "&cBLOCKED &8» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
- message "&cBLOCKED &8» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
- else if argument 2 isn't "owner", "dev", "admin", "mod", "helper" or "none":
- message "&cIncorrect group title:"
- message "&cGroups: Owner, Dev, Admin, Mod, Helper and None"
- else:
- message "&cIncorrest usage:"
- message "&c/group <player> <group title>"
- else:
- message "&cIncorrest usage:"
- message "&c/group <player> <group title>"
- command /reset-user [<offline player>]:
- permission: server.resetuser
- permission message: &cInsufficent permissions.
- trigger:
- if argument 1 is set:
- set {rank.%arg-1's uuid%} to "&7"
- set {userrank.%arg-1's uuid%} to "None"
- set {mined.%arg-1's uuid%} to 0
- set {level.%arg-1's uuid%} to 1
- set {points.%arg-1's uuid%} to 0
- set {prestige.%player's uuid%} to 0
- set {staffuser.%player's uuid%} to false
- make argument 1 execute ":scoreboard"
- if argument 1 is player:
- message "&cBLOCKED &8» &7Successfully reset your user data."
- else:
- message "&cBLOCKED &8» &7Successfully reset user &c%argument 1%'s &7data." to player
- message "&cBLOCKED &8» &7Your user data has been reset by &c%player%&7." to argument 1
- on chat:
- cancel event
- if {staffchat.%player's uuid%} is set:
- loop all players:
- if {staffuser.%loop-player's uuid%} is true:
- message "&3Staff &b%player% &7» &r%message%" to loop-player
- else:
- set tab list name of player to "%{colour.%player's uuid%}%%player%"
- broadcast "&8(&7%{prestige.%player's uuid%}%&8) &8(&7%{level.%player's uuid%}%&8) %{rank.%player's uuid%}%%player% » &7%message%"
- make player execute ":scoreboard"
- command /rankup:
- trigger:
- if {level.%player's uuid%} isn't 50:
- if {points.%player's uuid%} parsed as a number > {rankcost.%player's uuid%}:
- add 1 to {level.%player's uuid%}
- remove {rankcost.%player's uuid%} from {points.%player's uuid%}
- add 50000 to {rankcost.%player's uuid%}
- message "&cyou've ranked up to %{level.%player's uuid%}%"
- else:
- message "&cInsufficent currency:"
- message ""
- message "&cYour points: %{points.%player's uuid%}%"
- message "&cRequired points: &l%{rankcost.%player's uuid%}%"
- else:
- message "&cYou are level 50, prestige with /prestige!"
- command /test <integer>:
- trigger:
- set {level.%player's uuid%} to arg 1
- set {rankcost.%player's uuid%} to 50000
- command /eco [<offline player>] [<integer>]:
- trigger:
- if player has permission "server.eco.set":
- if argument 1 is set:
- if argument 2 is set:
- if argument 1 is player:
- set {points.%player's uuid%} to argument 2
- message "&cBLOCKED &8» &7Set your balance to &c%argument 2%"
- make player execute ":scoreboard:"
- else:
- set {points.%arg-1's uuid%} to argument 2
- message "&cBLOCKED &8» &7Set %argument 1%'s balance to &c%argument 2%" to player
- message "&cBLOCKED &8» &7Your balance was set to &c%argument 2% &7by %player%" to argument 1
- make argument 1 execute ":scoreboard:"
- else:
- message "&cIncorrect usage:"
- message "&c/eco <player> <points>"
- else:
- message "&cIncorrect usage:"
- message "&c/eco <player> <points>"
- else:
- message "&cBLOCKED &8» &7Points: %{points.%player's uuid%}%"
- on mine of stone:
- add 2 to {points.%player's uuid%}
- on mine of coal ore:
- add 6 to {points.%player's uuid%}
- on mine of iron ore:
- add 10 to {points.%player's uuid%}
- on mine of gold ore:
- add 16 to {points.%player's uuid%}
- on mine of diamond ore:
- add 22 to {points.%player's uuid%}
- #
- #
- # (Warping system)
- #
- #
- command /setmine [<integer>]:
- permission: server.admin
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 isn't set:
- send "&cInvalid argument: /location <1-50>"
- if arg-1 is "1":
- set {server.location.mine1} to player's location
- send "&6&l[*] &rSet location of mine1 to your location."
- else if arg-1 is "2":
- set {server.location.mine2} to player's location
- send "&6&l[*] &rSet location of mine2 to your location."
- else if arg-1 is "3":
- set {server.location.mine3} to player's location
- send "&6&l[*] &rSet location of mine3 to your location."
- if arg-1 is "4":
- set {server.location.mine4} to player's location
- send "&6&l[*] &rSet location of mine4 to your location."
- else if arg-1 is "5":
- set {server.location.mine5} to player's location
- send "&6&l[*] &rSet location of mine5 to your location."
- else if arg-1 is "6":
- set {server.location.mine6} to player's location
- send "&6&l[*] &rSet location of mine6 to your location."
- if arg-1 is "7":
- set {server.location.mine7} to player's location
- send "&6&l[*] &rSet location of mine7 to your location."
- else if arg-1 is "8":
- set {server.location.mine8} to player's location
- send "&6&l[*] &rSet location of mine8 to your location."
- else if arg-1 is "9":
- set {server.location.mine9} to player's location
- send "&6&l[*] &rSet location of mine9 to your location."
- if arg-1 is "10":
- set {server.location.mine10} to player's location
- send "&6&l[*] &rSet location of mine10 to your location."
- else if arg-1 is "11":
- set {server.location.mine11} to player's location
- send "&6&l[*] &rSet location of mine11 to your location."
- else if arg-1 is "12":
- set {server.location.mine12} to player's location
- send "&6&l[*] &rSet location of mine12 to your location."
- if arg-1 is "13":
- set {server.location.mine13} to player's location
- send "&6&l[*] &rSet location of mine13 to your location."
- else if arg-1 is "14":
- set {server.location.mine14} to player's location
- send "&6&l[*] &rSet location of mine14 to your location."
- else if arg-1 is "15":
- set {server.location.mine15} to player's location
- send "&6&l[*] &rSet location of mine15 to your location."
- if arg-1 is "16":
- set {server.location.mine16} to player's location
- send "&6&l[*] &rSet location of mine16 to your location."
- else if arg-1 is "17":
- set {server.location.mine17} to player's location
- send "&6&l[*] &rSet location of mine17 to your location."
- else if arg-1 is "18":
- set {server.location.mine18} to player's location
- send "&6&l[*] &rSet location of mine18 to your location."
- if arg-1 is "19":
- set {server.location.mine19} to player's location
- send "&6&l[*] &rSet location of mine19 to your location."
- else if arg-1 is "20":
- set {server.location.mine20} to player's location
- send "&6&l[*] &rSet location of mine20 to your location."
- else if arg-1 is "21":
- set {server.location.mine21} to player's location
- send "&6&l[*] &rSet location of mine21 to your location."
- if arg-1 is "22":
- set {server.location.mine22} to player's location
- send "&6&l[*] &rSet location of mine22 to your location."
- else if arg-1 is "23":
- set {server.location.mine23} to player's location
- send "&6&l[*] &rSet location of mine23 to your location."
- else if arg-1 is "24":
- set {server.location.mine24} to player's location
- send "&6&l[*] &rSet location of mine24 to your location."
- if arg-1 is "25":
- set {server.location.mine25} to player's location
- send "&6&l[*] &rSet location of mine25 to your location."
- else if arg-1 is "26":
- set {server.location.mine26} to player's location
- send "&6&l[*] &rSet location of mine26 to your location."
- else if arg-1 is "27":
- set {server.location.mine27} to player's location
- send "&6&l[*] &rSet location of mine27 to your location."
- if arg-1 is "28":
- set {server.location.mine28} to player's location
- send "&6&l[*] &rSet location of mine28 to your location."
- else if arg-1 is "29":
- set {server.location.mine29} to player's location
- send "&6&l[*] &rSet location of mine29 to your location."
- else if arg-1 is "30":
- set {server.location.mine30} to player's location
- send "&6&l[*] &rSet location of mine30 to your location."
- if arg-1 is "31":
- set {server.location.mine31} to player's location
- send "&6&l[*] &rSet location of mine31 to your location."
- else if arg-1 is "32":
- set {server.location.mine32} to player's location
- send "&6&l[*] &rSet location of mine32 to your location."
- else if arg-1 is "33":
- set {server.location.mine33} to player's location
- send "&6&l[*] &rSet location of mine33 to your location."
- if arg-1 is "34":
- set {server.location.mine34} to player's location
- send "&6&l[*] &rSet location of mine34 to your location."
- else if arg-1 is "35":
- set {server.location.mine35} to player's location
- send "&6&l[*] &rSet location of mine35 to your location."
- else if arg-1 is "36":
- set {server.location.mine36} to player's location
- send "&6&l[*] &rSet location of mine36 to your location."
- if arg-1 is "37":
- set {server.location.mine37} to player's location
- send "&6&l[*] &rSet location of mine37 to your location."
- else if arg-1 is "38":
- set {server.location.mine38} to player's location
- send "&6&l[*] &rSet location of mine38 to your location."
- else if arg-1 is "39":
- set {server.location.mine39} to player's location
- send "&6&l[*] &rSet location of mine39 to your location."
- if arg-1 is "40":
- set {server.location.mine40} to player's location
- send "&6&l[*] &rSet location of mine40 to your location."
- else if arg-1 is "41":
- set {server.location.mine41} to player's location
- send "&6&l[*] &rSet location of mine41 to your location."
- else if arg-1 is "42":
- set {server.location.mine42} to player's location
- send "&6&l[*] &rSet location of mine42 to your location."
- if arg-1 is "43":
- set {server.location.mine43} to player's location
- send "&6&l[*] &rSet location of mine43 to your location."
- else if arg-1 is "44":
- set {server.location.mine44} to player's location
- send "&6&l[*] &rSet location of mine44 to your location."
- else if arg-1 is "45":
- set {server.location.mine45} to player's location
- send "&6&l[*] &rSet location of mine45 to your location."
- if arg-1 is "46":
- set {server.location.mine46} to player's location
- send "&6&l[*] &rSet location of mine46 to your location."
- else if arg-1 is "47":
- set {server.location.mine47} to player's location
- send "&6&l[*] &rSet location of mine47 to your location."
- else if arg-1 is "48":
- set {server.location.mine48} to player's location
- send "&6&l[*] &rSet location of mine48 to your location."
- else if arg-1 is "49":
- set {server.location.mine49} to player's location
- send "&6&l[*] &rSet location of mine49 to your location."
- else if arg-1 is "50":
- set {server.location.mine50} to player's location
- send "&6&l[*] &rSet location of mine50 to your location."
- command /warp [<integer>]:
- permission: serv.warp
- trigger:
- if arg-1 isn't set:
- send "&cInvalid argument: /warp <1-50>"
- else
- if {level.%player's uuid%} is %arg-1%:
- wait 10 ticks
- teleport player to {server::location::mine%arg-1%}
Add Comment
Please, Sign In to add comment