Commands & Permissions
GGyms Commands
With GGyms 1.2.0, permissions have been simplified and changed, removing unnecessary permissions such as "ggyms.gym" for normal players.
GGyms requires LuckPerms in order to function.
Players
Players need the permission node "ggyms.viewgyms" to be able to access the /gyms menu and challenge Gyms. Keep in mind that individual Gym Requirements may require players to have permissions. By default, a new Gym has no requirements.
Players can access the Gyms GUI via the /gyms command.
Gym Leaders
GGyms does not manage the concept or role of a Gym Leader. This is left to LuckPerms. To make a player a Gym Leader, give them the permission "ggyms.gymleader".
By default, if a Gym Leader does /gyms, it opens the Gym Leader Menu. They can still access the normal player view by doing /gyms playerView or /gp. Commands to specifically open the Gym Leader menu exist, /gyms gymLeaderView or /gl.
Instead of giving individual players the "ggyms.gymleader" permission, we recommend creating a LuckPerms group with the permission instead.
Individual Gym Permissions
To checkout a Gym, a player requires the permission "ggyms.gym.<gym_id>". If you instead want leaders to be able to access all Gyms, give the Gym Leader group the wildcard permission "ggyms.gym.*"
Gym Managers
Gym Managers are players with the permission to create, edit, and delete GGym functions, i.e. Gyms, Arenas, Teams.
Gym Managers require the permission "ggyms.gymmanager". This will give them access to the command "/gyms manage" (and "/gm" for short). Through this GUI, Gym Managers are able to edit everything needed to setup or change GGyms.
Reload Command
The reload command is dangerous - it requires all active Gym Battles to be stopped, and any unsaved changes will be deleted. As such, it's locked behind a command instead of a GUI, and requires a separate permission.
/ggyms reload requires the "ggyms.command.reload" permission.
Last updated