v1.4.0 Gamemode blocking permissions!
Gamemode blocking permissions have been added!
Each permission will allow you to block a player from swapping to a specific gamemode!
That's pretty much all that was added, here's the copy-pasted change-log from Modrinth!
The gamemode blocking permissions update!
This update adds a bunch of new permissions which will allow you to block players (Or staff!) from accessing specific gamemodes!
List of new permissions:
gamemodes.blockaccess.adventuregamemodes.blockaccess.creativegamemodes.blockaccess.survivalgamemodes.blockaccess.spectator
Each permission will stop a player from going into it's respective gamemode, it will not swap a player out of the gamemode if they're already in it.
The only time the plugin currently checks if the player is in a gamemode they aren't allowed in is when they join the server! When the player joins the server, if they aren't allowed in their current gamemode then it sets their gamemode to the servers default gamemode!