Skip to content

Permissions

David Rodriguez edited this page Oct 24, 2023 · 5 revisions

Setting Permissions

Default Permission

By default, every setting created using the configuration or API requires permission to be toggled. Here's how you can avoid granting the permission:

  1. Default Value of 1: Setting the default value of a setting to 1 indicates that it doesn't require permission to be toggled on or off.

  2. Higher Values: Setting the default value to a higher number allows players to toggle and augment the setting.

Permission Format

All setting permissions use the following format:

playersettings.<setting_name>.<level>
  • <setting_name> is the name of the setting you want to grant permission for.
  • <level> is the permission level.

The name of the setting is determined by the name of the configuration section where the setting is defined or the name provided to the builder through the API.

Examples

  • playersettings.speed-setting
  • playersettings.jump-setting.5
  • playersettings.fly-setting.10

Command Permissions

In this section, you'll find a list of available commands and their required permissions to execute them.

  • Command: /settings reload
  • Permission: playersettings.commands.reload

Clone this wiki locally