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 "&9Rank Manager> &7Please specify a player that you will set the rank of."
- else:
- open chest with 3 rows named "&cSetrank for %arg-1%" to player
- wait 4 tick
- format slot 11 of player with book named "&6Staff Ranks" to run [make player execute command "setstaffrank %arg-1%"]
- format slot 15 of player with book named "&6Donator Ranks" to run [make player execute command "setdonatorrank %arg-1%"]
- format slot 8 of player with 1 of arrow named "&cLeave" to close
- command /setstaffrank [<offline player>]:
- permission: ranks.set
- permission message: &9SkywarsPlayers » &7No permissions.
- trigger:
- if arg-1 is not set:
- send "&4Rank Manager> &7Please specify a player that you will set the rank of."
- else:
- open chest with 6 rows named "&cStaffrank 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 "&3Helper" to close then run [console command "pex user %arg-1% group set helper"]->[send "&9Rank Manager> &7Your rank has been updated to &eHelper&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eHelper&f!"]
- format slot 12 of player with Purple Dye named "&5Moderator" to close then run [console command "pex user %arg-1% group set mod"]->[send "&9Rank Manager> &7Your rank has been updated to &eMod&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eMod&f!"]
- format slot 13 of player with Pink Dye named "&cSenior Moderator" to close then run [console command "pex user %arg-1% group set srmod"]->[send "&9Rank Manager> &7Your rank has been updated to &eSr.Mod&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eSr.Mod&f!"]
- format slot 14 of player with Light Gray Dye named "&6Administrator" to close then run [console command "pex user %arg-1% group set admin"]->[send "&9Rank Manager> &7Your rank has been updated to &eAdmin&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eAdmin&f!"]
- format slot 15 of player with Magenta Dye named "&4Owner" to close then run [console command "pex user %arg-1% group set owner"]->[send "&9Rank Manager> &7Your rank has been updated to &eOwner&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eOwner&f!"]
- format slot 40 of player with 1 of arrow named "&cBack" to run [make player execute command "setrank %arg-1%"]
- command /setdonatorrank [<offline player>]:
- permission: ranks.set
- permission message: &9SkywarsPlayers » &7No permissions.
- trigger:
- if arg-1 is not set:
- send "&9Rank Manager> &7Please specify a player that you will set the rank of."
- else:
- open chest with 6 rows named "&cDonatorrank 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 "&3None" to close then run [console command "pex user %arg-1% group set default"]->[send "&9Rank Manager> &7Your rank has been updated to &eNone&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eNone&f!"]
- format slot 12 of player with Purple Dye named "&5Lord" to close then run [console command "pex user %arg-1% group set Lord"]->[send "&9Rank Manager> &7Your rank has been updated to &eLord&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eLord&f!"]
- format slot 13 of player with Pink Dye named "&cWatcher" to close then run [console command "pex user %arg-1% group set Wacther"]->[send "&9Rank Manager> &7Your rank has been updated to &eWatcher&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eWatcher&f!"]
- format slot 14 of player with Light Gray Dye named "&6God" to close then run [console command "pex user %arg-1% group set God"]->[send "&9Rank Manager> &7Your rank has been updated to &eGod&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eGod&f!"]
- format slot 15 of player with Magenta Dye named "&4Miner" to close then run [console command "pex user %arg-1% group set Miner"]->[send "&9Rank Manager> &7Your rank has been updated to &eMiner&7." to arg-1]->[send "&9Rank Manager> &7You have set %arg-1%'s rank to &eMiner&f!"]
- format slot 40 of player with 1 of arrow named "&cBack" to run [make player execute command "setrank %arg-1%"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement