Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on entity:
- if clicked entity is citizen:
- if clicked entity is "&6Information":
- open chest with 6 rows named "&6Information" to player
- format slot 0 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 1 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 2 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 3 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 4 of player with skull of player named "&c&n&l%player%" to be unstealable
- format slot 5 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 6 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 7 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 8 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 9 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 13 of player with paper named "&b&lRank" with lore "&9%{rank.%player%}%" to be unstealable
- format slot 17 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 18 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 26 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 27 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 35 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 36 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 44 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 45 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 46 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 47 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 48 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 49 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 50 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 51 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 52 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 53 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 20 of player with paper named "&4&lKills" with lore "&c%{kills.%player%}%" to be unstealable
- format slot 24 of player with paper named "&4&lDeaths" with lore "&c%{deaths.%player%}%" to be unstealable
- format slot 31 of player with paper named "&b&lGems" with lore "&9&l%{gems.%player%}%" to be unstealable
- command /rankreset [<offline player>]:
- permission: *
- permission message: &cNope.
- trigger:
- set {rank.%player%} to "Default"
- make console execute "/pex user %arg-1% group set default"
- command /grant [<offline player>]:
- permission: *
- permission message: &cNope.
- trigger:
- if arg-1 is set:
- open chest with 6 rows named "&6Grant" to player
- format slot 0 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 1 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 2 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 3 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 4 of player with skull of arg-1 named "&c&n&l%arg-1%" with lore "&7Current Rank:" and "&c%{rank.%arg-1%}%" to be unstealable
- format slot 5 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 6 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 7 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 8 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 9 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 16 of player with red stained glass pane named "&6Page Two" with lore "&ePlayer Ranks" to run [make player execute command "/grant2 %arg-1%"]
- format slot 17 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 18 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 21 of player with blue wool named "&3Builder" with lore "&7Preview: %{prefix.builder}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set builder"]->[set {rank.%arg-1%} to "Builder"]
- format slot 23 of player with pink wool named "&dPartner" with lore "&7Preview: %{prefix.partner}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set partner"]->[set {rank.%arg-1%} to "Partner"]
- format slot 26 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 27 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 29 of player with gray wool named "&8Default" with lore "&7Preview: %{prefix.default}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set default"]->[set {rank.%arg-1%} to "Default"]
- format slot 31 of player with lime wool named "&2Jr Mod" with lore "&7Preview: %{prefix.jrmod}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set jrm"]->[set {rank.%arg-1%} to "Jr Mod"]
- format slot 33 of player with green wool named "&2Mod" with lore "&7Preview: %{prefix.mod}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set mod"]->[set {rank.%arg-1%} to "Mod"]
- format slot 35 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 36 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 38 of player with red wool named "&cAdmin" with lore "&7Preview: %{prefix.admin}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set admin"]->[set {rank.%arg-1%} to "Admin"]
- format slot 40 of player with orange wool named "&6Director" with lore "&7Preview: %{prefix.manager}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set manager"]->[set {rank.%arg-1%} to "Director"]
- format slot 42 of player with red wool named "&4Owner" with lore "&7Preview: %{prefix.owner}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set owner"]->[set {rank.%arg-1%} to "Owner"]
- format slot 44 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 45 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 46 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 47 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 48 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 49 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 50 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 51 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 52 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 53 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- else:
- send "&7Please specifiy a user." to player
- command /grant2 [<offline player>]:
- permission: *
- permission message: &cNope.
- trigger:
- if arg-1 is set:
- open chest with 3 rows named "&6Grant Page Two" to player
- format slot 0 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 1 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 2 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 3 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 4 of player with skull of arg-1 named "&c&n&l%arg-1%" with lore "&7Current Rank:" and "&c%{rank.%arg-1%}%" to be unstealable
- format slot 5 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 6 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 7 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 8 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 9 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 11 of player with diamond block named "&3King" with lore "&7Preview: %{prefix.king}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set king"]->[set {rank.%arg-1%} to "King"]->[set {boughtking.%player%} to true]
- format slot 13 of player with emerald block named "&dHero" with lore "&7Preview: %{prefix.hero}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set hero"]->[set {rank.%arg-1%} to "Hero"]->[set {boughthero.%player%} to true]
- format slot 15 of player with gold block named "&4Overlord" with lore "&7Preview: %{prefix.overlord}% %arg-1%" to close then run [execute console command "/pex user %arg-1% group set overlord"]->[set {rank.%arg-1%} to "Overlord"]->[set {boughtoverlord.%player%} to true]
- format slot 17 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 18 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 19 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 20 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 21 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 22 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 23 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 24 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 25 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- format slot 26 of player with black stained glass pane named "&8[&6-&8]" to be unstealable
- on load:
- if {prefix.default} is not set:
- set {prefix.default} to "&8[Default] &7"
- if {prefix.king} is not set:
- set {prefix.king} to "&3[King] &9"
- if {prefix.hero} is not set:
- set {prefix.hero} to "&d[Hero] &d"
- if {prefix.overlord} is not set:
- set {prefix.overlord} to "&4[Overlord] &c"
- if {prefix.builder} is not set:
- set {prefix.builder} to "&3[Builder] &f"
- if {prefix.partner} is not set:
- set {prefix.partner} to "&d[Partner] &f"
- if {prefix.headb} is not set:
- set {prefix.headb} to "&3[Head Builder] &f"
- if {prefix.jrmod} is not set:
- set {prefix.jrmod} to "&2[Jr Mod] &f"
- if {prefix.Mod} is not set:
- set {prefix.Mod} to "&2[Mod] &f"
- if {prefix.Admin} is not set:
- set {prefix.Admin} to "&c[Admin] &f"
- if {prefix.manager} is not set:
- set {prefix.manager} to "&6[Director] &f"
- if {prefix.Owner} is not set:
- set {prefix.Owner} to "&4[Owner] &f"
- on join:
- if {rank.%player%} is not set:
- set {rank.%player%} to "default"
- command /rpgreset:
- permission: *
- trigger:
- set player's max health to 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement