Skip to content

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 command
  • admin - Only players with admin permissions
  • host - Only the host can use the command
  • owner - Only the owner can use the command
  • internal - Internal commands only

Setup ​

To use this feature:

  1. Create a file named commands.json in the config directory of your BDS server
  2. 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.