Permissions
π Introduction
Permissions are essential to control who can access specific features and commands in the xTeams plugin. By managing permissions, you can ensure that only authorized players can create, delete, or modify teams. Below is a table listing all the permissions available in xTeams, their examples, and a brief description of what they allow.
π Plugin Permissions
xwhitelist.plugin.help
Grants access to the /xwhitelist help command. Players with this permission can view all available commands.
xwhitelist.plugin.reload
Allows access to the /xwhitelist reload command. Players with this permission can reload the pluginβs settings.
xwhitelist.plugin.info
Grants access to the /xwhitelist info command. Allows the player to view plugin details.
xxwhitelist.whitelist.enable
Permission to use /xwhitelist enable
xwhitelist.whitelist.disable
Permission to use /xwhitelist disable
xwhitelist.whitelist.add
Permission to use /xwhitelist add <player>
xwhitelist.whitelist.remove
Permission to use /xwhitelist remove <player>
xtxwhitelist.whitelist.list
Permission to use /xwhitelist list
xxwhitelist.whitelist.cleanup
Permission to use /xwhitelist cleanup
xwhitelist.maintenance.enable
Permission to use /xwhitelist maintenance enable
whitelist.maintenance.disable
Permission to use /xwhitelist maintenance disable
whitelist.maintenance.add
Permission to use /xwhitelist maintenance add <player>
whitelist.maintenance.remove
Permission to use /xwhitelist maintenance remove <player>
whitelist.maintenance.list
Permission to use /xwhitelist maintenance list
whitelist.maintenance.cleanup
Permission to use /xwhitelist maintenance cleanup
xwhitelist.admin
Full admin rights for all xWhitelist commands and features. Gives the player complete control over the plugin.
π Explanation
Command Permissions: Each of the listed commands has an associated permission that controls who can use them. For example, if you want a player to be able to add other players to the whitelist, they need the
xwhitelist.whitelist.add
permission. Similarly, if you want them to be able to remove players from the whitelist, they need thexwhitelist.whitelist.remove
permission.Admin Permission: The
xwhitelist.admin
permission provides full access to all plugin features and commands. This permission should be reserved for server administrators to prevent unauthorized changes.
Last updated