Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setrank [<offline player>]:
- permission: ranks.set
- permission message: &9SkywarsPlayers » &7No permissions.
- trigger:
- if arg-1 is not set:
- send "&4Epic&cNet &8» &7Please specify a player that you will set the rank of."
- else:
- open chest with 3 rows named "Select a category" to player
- wait 4 tick
- format slot 13 of player with book named "&cStaff Ranks" to run [make player execute command "setstaffrank %arg-1%"]
- format slot 26 of player with 1 of arrow named "&4Exit" to close
- command /setstaffrank [<offline player>]:
- permission: ranks.set
- permission message: &cRanks » &7No permissions.
- trigger:
- if arg-1 is not set:
- send "&4Epic&cNet &8» &7Please specify a player that you will set the rank of."
- else:
- open chest with 6 rows named "&cStaff Ranks for %arg-1%" to player
- wait 4 tick
- format slot 4 of player with book named "&bSet %arg-1% rank to:" to be unstealable
- format slot 11 of player with Orange Dye named "&e&8[&eHelper&8]" to close then run [console command "pex user %arg-1% group set helper"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &eHelper&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&eHelper&8]&7!"]
- format slot 12 of player with Cactus Green named "&e&8[&2&lMod&8]" to close then run [console command "pex user %arg-1% group set mod"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&2&lMod&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&2&lMod&8]&7!"]
- format slot 13 of player with Purple Dye named "&e&8[&5Builder&8]" to close then run [console command "pex user %arg-1% group set builder"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&5Builder&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&5Builder&8]&7!"]
- format slot 14 of player with Rose Red named "&e&8[&c&lAdmin&8]" to close then run [console command "pex user %arg-1% group set admin"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&c&lAdmin&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&c&lAdmin&8]&7!"]
- format slot 15 of player with Redstone Dust named "&e&8[&4&lSr. Admin&8]" to close then run [console command "pex user %arg-1% group set head-admin"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&4&lSr. Admin&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&4&lSr. Admin&8]&7!"]
- format slot 20 of player with Light Blue Dye named "&e&8[&b&lManager&8]" to close then run [console command "pex user %arg-1% group set manager"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&b&lManager&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&b&lManager&8]&7!"]
- format slot 21 of player with Light Blue Concrete named "&e&8[&9&lDEV&8]" to close then run [console command "pex user %arg-1% group set dev"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&9&lDEV&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&9&lDEV&8]&7!"]
- format slot 22 of player with Blue Concrete named "&e&8[&1&ki&9&lHOST&1&ki&8]" to close then run [console command "pex user %arg-1% group set owner"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&1&ki&9&lHOST&1&ki&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&1&ki&9&lHOST&1&ki&8]&7!"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement