Jump to content

Grant Gui (GroupManger)


Swacco

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

GroupManager is broken on mh

Start your Minecraft server today for as low as £0.50/weekly for up to 4 GB of RAM! (£3.50 Monthly) and be equipped for all situations with our high-performance gear keeping your servers running 24/7

Why choose Us?
• Guaranteed 99.9% Uptime
• NVMe RAID Fast Storage
• 24/7 Hosting
• Instant Setup
• 50% Discount. Use Code: 50OFF (Ends on November 11th)

We want to ensure our customers are happy with the service they received and support. We aim to provide low-costs those who cant afford a minecraft server. No extra costs, no setup fees! One-time payment and you are good to go with our instant setup feature we introduced to ensure your server is ready to go!

Planning to make a community or a project you want to work on? We got you covered! Our servers are optimized for performance and security, so you can have peace of mind and focus on your project. Our servers are also reliable and packed with features, so you can start playing right away.

We guarantee 99% uptime and 24/7 customer support, so you can always ask for help if you need it.

Links:
https://forums.valknet.org
https://billing.valknet.org
Invite: https://discord.gg/FqSRt4ZCAC

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.
×
×
  • Create New...