xDiscordConsole/config.yml

xDiscordConsole 1.0.1 documentation

config.yml

Configuration reference for config.yml.

Raw YAML

Examples match release 1.0.1. Back up your configuration before editing. Use this plugin's reload command where supported; restart after dependency or JAR changes.

Settings in this file

Values shown below are sanitized defaults from the release JAR. Empty private fields must be configured locally.

Discord connection or evidence settings. Configure credentials and channel IDs locally; keep them private.

Setting

Optional remote license-administration integration, separate from the plugin activation file.

Setting

Command prefix, audit logging, confirmation and cooldown rules for the Discord console.

Setting

Name resolution options for Bedrock players connected through Geyser.

Setting

Player-facing messages and command feedback. Preserve the placeholder spelling used in each default.

Setting

Server commands permitted through the Discord console. Add only commands trusted staff need.

Setting

Default configuration

Preserve YAML indentation. Never publish your configured keys, tokens or player data.

# Private connection and license fields are intentionally empty.
discord:
  bot-token: ''
  guild-id: ''
  console-channel-id: ''
  allowed-role-ids:
  - ''
  allowed-user-ids:
  - ''
license:
  enabled: false
  api-url: https://xedaroospace.de/api/license/admin.php
  admin-api-secret: ''
  channel-id: ''
  default-product: xoffend
  default-max-servers: 1
security:
  require-prefix: true
  prefix: '!'
  log-every-command: true
  confirm-dangerous-commands: true
  cooldown-seconds: 3
geyser:
  resolve-bedrock-player-names: true
  bedrock-name-prefixes:
  - .
messages:
  reload: '&8[&cxDiscordConsole&8] &aConfig reloaded and Discord bot restarted.'
  no-permission: '&8[&cxDiscordConsole&8] &cYou have no permission.'
  status-token-missing: ''
allowed-commands:
- pardon
- offend unban
- offend checkban