Jump to content

Grant Gui (GroupManger)


Swacco
 Share

Recommended Posts

Hi Im a New Skripter and alot of people would want to have something like this so i made it! Note: If your using luckperms or pex Change the manuadd %player% to pex add or whatever the commands are for luckperms and pex anyways here is the skript Edit: I added a customizable option to the ranks so you can deny or confirm it I Will No Longer Update this Post as the Skript Is Finshed.

command /grant [<player>]:
	permission: grant.player
	trigger:
		if arg 1 is set:
			send "&7>>&a&lOpening Grant Menu!&7<<"
			open virtual chest inventory with 4 rows named "&c&lGrant %arg-1%" to player
			chest(player)
			format gui slot 10 of player with gray terracotta named "&7Default" to run:
				open virtual chest inventory with 3 rows named "&7&lDefault" to player
				chest(player)
				format gui slot 11 of player with green terracotta named "&c&lConfirm" to run:
					execute console command "/manuadd %player% Default"
					send "&7[&c&l!&7] &aGiving &c&l%player% &aDefault"
				format gui slot 15 of player with red terracotta named "&c&lDeny" to close
			format gui slot 12 of player with yellow terracotta named "&6&lHelper" to run:
				open virtual chest inventory with 3 rows named "&6&lHelper" to player
				chest(player)
				format gui slot 11 of player with green terracotta named "&c&lConfirm" to run:
					execute console command "/manuadd %player% Helper"
					send "&7[&c&l!&7] &aGiving &c&l%player% &6Helper"
				format gui slot 15 of player with red terracotta named "&c&lDeny" to close
			format gui slot 14 of player with green terracotta named "&a&lBuilder" to run:
				open virtual chest inventory with 3 rows named "&a&lBuilder" to player
				chest(player)
				format gui slot 11 of player with green terracotta named "&c&lConfirm" to run:
					execute console command "/manuadd %player% Builder"
					send "&7[&c&l!&7] &aGiving &c&l%player% &aBuilder"
				format gui slot 15 of player with red terracotta named "&c&lDeny" to close
			format gui slot 16 of player with pink terracotta named "&d&lModerator" to run:
				open virtual chest inventory with 3 rows named "&d&lModerator" to player
				chest(player)
				format gui slot 11 of player with green terracotta named "&c&lConfirm" to run:
					execute console command "/manuadd %player% Moderator"
					send "&7[&c&l!&7] &aGiving &c&l%player% &dModerator"
				format gui slot 15 of player with red terracotta named "&c&lDeny" to close
			format gui slot 20 of player with purple terracotta named "&5&lSr.Mod" to run:
				open virtual chest inventory with 3 rows named "&5&lSr.Mod" to player
				chest(player)
				format gui slot 11 of player with green terracotta named "&c&lConfirm" to run:
					execute console command "/manuadd %player% Sr.Mod"
					send "&7[&c&l!&7] &aGiving &c&l%player% &5Sr.Mod"
				format gui slot 15 of player with red terracotta named "&c&lDeny" to close
			format gui slot 22 of player with light blue terracotta named "&b&lAdmin" to run:
				open virtual chest inventory with 3 rows named "&b&lAdmin" to player
				chest(player)
				format gui slot 11 of player with green terracotta named "&c&lConfirm" to run:
					execute console command "/manuadd %player% Admin"
					send "&7[&c&l!&7] &aGiving &c&l%player% &bAdmin"
				format gui slot 15 of player with red terracotta named "&c&lDeny" to close
			format gui slot 24 of player with red terracotta named "&c&lOwner" to run:
				open virtual chest inventory with 3 rows named "&c&lOwner" to player
				chest(player)
				format gui slot 11 of player with green terracotta named "&c&lConfirm" to run:
					execute console command "/manuadd %player% Owner"
					send "&7[&c&l!&7] &aGiving &c&l%player% &cOwner"
				format gui slot 15 of player with red terracotta named "&c&lDeny" to close
		else:
			send "&7[&c&l!&7] &cYou Need To Specify A Player Silly!"
function chest(p: player):
	set {_x} to 0
	loop 54 times:
		format gui slot {_x} of {_p} with black glass pane named " " to do nothing
		add 1 to {_x}
# Made by e8p Im A New Skripter Trying To Get My Self Out There!
Edited by e8p
Put a quote instead of a code block sorry! I added a more customizable options to the ranks.
Link to comment
Share on other sites

  • 2 months later...
  • 5 months later...
  • Vinixs locked this topic
Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...