ItsLewizzz / DeluxeHub

:floppy_disk: All-in-one, essential and professional hub core solution.
https://www.spigotmc.org/resources/49425/
GNU General Public License v3.0
90 stars 77 forks source link

Add Restricted Parameter to Bungee Action #78

Open JTPearce opened 1 year ago

JTPearce commented 1 year ago

Simple patch adding a restricted parameter to the [BUNGEE] action.

[BUNGEE] servername sends the player to the specified bungee server as normal.

[BUNGEE] servername;RESTRICTED checks that the player has a bungeecord.server.servername permission before sending.

If the player does not have the relevant permission an error is sent: "You do not have permission to access servername".