Pular para o conteúdo principal

console_channel_manifest

Configure Discord console channel — misc entry.

Entry Information

PropertyValue
Entry IDconsole_channel_manifest
TypeMisc
ColorMedium_purple
Iconmdi:console

Description

Manifest entry for console command execution from Discord. Allows executing server commands from a Discord channel.

Fields

FieldTypeDescription
enabledBooleanWhether console channel is enabled
discordChannelIdStringDiscord channel ID for console commands
allowCommandsBooleanWhether to allow command execution from Discord
commandListList<String>Commands that are allowed/blocked (depends on blacklistIsWhitelist)
blacklistIsWhitelistBooleanIf true, commandList acts as whitelist. If false, acts as blacklist
blockBotsBooleanWhether to block commands from bots
allowedRolesList<String>Discord role IDs that are allowed to execute commands (empty = everyone)
logCommandsBooleanWhether to log command executions to file
logFilePathStringPath to command log file (relative to server root)

Usage Example

- entry: console_channel_manifest
name: "Configure Discord console channel"
enabled: false
discordChannelId: ""
allowCommands: false
commandList: []
blacklistIsWhitelist: false
blockBots: false
allowedRoles: []
logCommands: false
logFilePath: ""