command /grant [<offline player>]:
aliases: /rank
permission: system.rank
permission message: &6&lu want owner? &cNO
trigger:
if arg-1 is not set:
send "&e/rank <player> &7- Give users ranks &e[&dStaff&7:&dDonator&7:&dYT&e]"
send "&e/grant <player> &7- Give users ranks &e[&dStaff&7:&dDonator&7:&dYT&e]"
else:
open chest with 1 rows named "&cGrant Ranks Menu | By R4yx__" to player
wait 4 tick
format slot 0 of player with white wool named "&aWorldedit Permissions" with lore "&9Give a player ability to use worldedit." to close then run [make player execute command "pex user %arg-1% add worldedit.*"]
format slot 1 of player with light gray wool named "&aPlace bedrock" with lore "&9Give a player ability to place bedrock." to close then run [make player execute command "pex user %arg-1% add bedrock.place"]
format slot 2 of player with gray Stained Glass Pane named "&3&lClose" to close
format slot 3 of player with gray wool named "&aTalk Powers" with lore "&9Give a player ability to talk when chat is muted." to close then run [make player execute command "pex user %arg-1% add chat.mute.bypass"]
format slot 4 of player with paper named "&3&lStaff Ranks" to run [make player execute command "SetRank1 %arg-1%"]
format slot 5 of player with gray wool named "&4Revoke Talk Powers" with lore "&9Revoke player's ability to talk during chat is muted." to close then run [make player execute command "pex user %arg-1% remove chat.mute.bypass"]
format slot 6 of player with gray Stained Glass Pane named "&3&lClose" to close
format slot 7 of player with light gray wool named "&4Revoke Place bedrock" with lore "&9Revoke the player's ability to place bedrock." to close then run [make player execute command "pex user %arg-1% remove bedrock.place"]
format slot 8 of player with white wool named "&4Revoke Worldedit Permissions" with lore "&9Revoke the player's ability to use worldedit." to close then run [make player execute command "pex user %arg-1% remove worldedit.*"]
command /SetRank1 [<offline player>]:
aliases: /SR1 , /sk1
permission: system.rank
permission message: &1SetRank> &7No Permission
trigger:
if arg-1 is not set:
send "&4"
else:
open chest with 6 rows named "&cStaff Ranks" to player
wait 4 tick
format slot 0 of player with paper named "&3&lBack" to run [make player execute command "grant %arg-1%"]
format slot 1 of player with red wool named "&4&lOwner Group" with lore "&9Rank players to Owner" to close then run [make player execute command "pex user %arg-1% group set Owner"]
format slot 2 of player with pink wool named "&c&lManager Group" with lore "&9Rank players to Manager" to close then run [make player execute command "pex user %arg-1% group set Manager"]
format slot 3 of player with light blue wool named "&bDeveloper" with lore "&9Rank players to Developer." to close then run [make player execute command "pex user %arg-1% group set Developer"]
format slot 4 of player with purple wool named "&cSR.Admin" with lore "&9Rank players to SR.Admin." to close then run [make player execute command "pex user %arg-1% group set sr.admin"]
format slot 5 of player with light gray wool named "&cAdmin Group" with lore "&9Rank players to Admin." to close then run [make player execute command "pex user %arg-1% group set Admin"]
format slot 6 of player with yellow wool named "&eModerator Group" with lore "&9Rank players to Moderator." to close then run [make player execute command "pex user %arg-1% group set Moderator"]
format slot 7 of player with lime wool named "&2&lHead Builder Group" with lore "&9Rank players to head Builder." to close then run [make player execute command "pex user %arg-1% group set Head-Builder"]
format slot 8 of player with green wool named "&eBuilder Group" with lore "&9Rank players to Builder." to close then run [make player execute command "pex user %arg-1% group set Builder"]
format slot 9 of player with lime wool named "&eHelper Group" with lore "&9Rank players to Helper." to close then run [make player execute command "pex user %arg-1% group set helper"]
format slot 10 of player with white wool named "&eTrainee Group" with lore "&9Rank players to Trainee." to close then run [make player execute command "pex user %arg-1% group set Trainee"]
Does anyone know a solution to making a confirmation for GUI? If so msg me discord ugly scp tato#3884 or just post it here
Thank you!
aliases: /rank
permission: system.rank
permission message: &6&lu want owner? &cNO
trigger:
if arg-1 is not set:
send "&e/rank <player> &7- Give users ranks &e[&dStaff&7:&dDonator&7:&dYT&e]"
send "&e/grant <player> &7- Give users ranks &e[&dStaff&7:&dDonator&7:&dYT&e]"
else:
open chest with 1 rows named "&cGrant Ranks Menu | By R4yx__" to player
wait 4 tick
format slot 0 of player with white wool named "&aWorldedit Permissions" with lore "&9Give a player ability to use worldedit." to close then run [make player execute command "pex user %arg-1% add worldedit.*"]
format slot 1 of player with light gray wool named "&aPlace bedrock" with lore "&9Give a player ability to place bedrock." to close then run [make player execute command "pex user %arg-1% add bedrock.place"]
format slot 2 of player with gray Stained Glass Pane named "&3&lClose" to close
format slot 3 of player with gray wool named "&aTalk Powers" with lore "&9Give a player ability to talk when chat is muted." to close then run [make player execute command "pex user %arg-1% add chat.mute.bypass"]
format slot 4 of player with paper named "&3&lStaff Ranks" to run [make player execute command "SetRank1 %arg-1%"]
format slot 5 of player with gray wool named "&4Revoke Talk Powers" with lore "&9Revoke player's ability to talk during chat is muted." to close then run [make player execute command "pex user %arg-1% remove chat.mute.bypass"]
format slot 6 of player with gray Stained Glass Pane named "&3&lClose" to close
format slot 7 of player with light gray wool named "&4Revoke Place bedrock" with lore "&9Revoke the player's ability to place bedrock." to close then run [make player execute command "pex user %arg-1% remove bedrock.place"]
format slot 8 of player with white wool named "&4Revoke Worldedit Permissions" with lore "&9Revoke the player's ability to use worldedit." to close then run [make player execute command "pex user %arg-1% remove worldedit.*"]
command /SetRank1 [<offline player>]:
aliases: /SR1 , /sk1
permission: system.rank
permission message: &1SetRank> &7No Permission
trigger:
if arg-1 is not set:
send "&4"
else:
open chest with 6 rows named "&cStaff Ranks" to player
wait 4 tick
format slot 0 of player with paper named "&3&lBack" to run [make player execute command "grant %arg-1%"]
format slot 1 of player with red wool named "&4&lOwner Group" with lore "&9Rank players to Owner" to close then run [make player execute command "pex user %arg-1% group set Owner"]
format slot 2 of player with pink wool named "&c&lManager Group" with lore "&9Rank players to Manager" to close then run [make player execute command "pex user %arg-1% group set Manager"]
format slot 3 of player with light blue wool named "&bDeveloper" with lore "&9Rank players to Developer." to close then run [make player execute command "pex user %arg-1% group set Developer"]
format slot 4 of player with purple wool named "&cSR.Admin" with lore "&9Rank players to SR.Admin." to close then run [make player execute command "pex user %arg-1% group set sr.admin"]
format slot 5 of player with light gray wool named "&cAdmin Group" with lore "&9Rank players to Admin." to close then run [make player execute command "pex user %arg-1% group set Admin"]
format slot 6 of player with yellow wool named "&eModerator Group" with lore "&9Rank players to Moderator." to close then run [make player execute command "pex user %arg-1% group set Moderator"]
format slot 7 of player with lime wool named "&2&lHead Builder Group" with lore "&9Rank players to head Builder." to close then run [make player execute command "pex user %arg-1% group set Head-Builder"]
format slot 8 of player with green wool named "&eBuilder Group" with lore "&9Rank players to Builder." to close then run [make player execute command "pex user %arg-1% group set Builder"]
format slot 9 of player with lime wool named "&eHelper Group" with lore "&9Rank players to Helper." to close then run [make player execute command "pex user %arg-1% group set helper"]
format slot 10 of player with white wool named "&eTrainee Group" with lore "&9Rank players to Trainee." to close then run [make player execute command "pex user %arg-1% group set Trainee"]
Does anyone know a solution to making a confirmation for GUI? If so msg me discord ugly scp tato#3884 or just post it here
Thank you!
Last edited: