Commands Configuration File
What is the commands.json?
The commands.json file allows you to configure permission levels for commands in your Bedrock Dedicated Server. With this file, you can adjust which players can access specific commands by setting appropriate permission levels.
Permission Levels
The available permission levels are:
any- Any player can use the commandadmin- Only players with admin permissionshost- Only the host can use the commandowner- Only the owner can use the commandinternal- Internal commands only
Setup
To use this feature:
- Create a file named
commands.jsonin theconfigdirectory of your BDS server - Configure the default permission level and any command-specific overrides
Example Configuration
json
{
"default_permission_level": "admin",
"permission_levels": {
"kick": "any"
}
}In this example, most commands require admin permissions, but the /kick command is available to all players.