Skip to main content

Admin Commands

Administrative commands for managing the plugin, broadcasting messages, and operating Discord integrations. All commands on this page default to operators unless noted otherwise.

Core Plugin Command

/xdiscord

The main administrative command for XDiscordUltimate.
/xdiscord [subcommand]
Aliases: xdu, xdiscordultimate Permission: xdiscord.admin (default: op) Subcommands:
SubcommandDescription
setupRun or re-run the guided plugin setup
reloadReload plugin configuration and messages
statusShow plugin status and active modules
modulesList loaded modules and their state
debugToggle or inspect debug output
admin <add|remove> <discordID>Grant or revoke bot admin privileges for a Discord user
exportExport plugin data
helpShow in-game admin help
Examples:
/xdiscord reload
/xdiscord admin add 123456789012345678

Broadcasting

/announce

Broadcast a message to Discord and in-game chat simultaneously.
/announce <message>
Permission: xdiscord.announce (default: op) Behavior:
  • Sends the message to the configured Discord channel and to all online players
  • Useful for server-wide notices and events
Example:
/announce Server restart in 10 minutes

Console Execution

/discordconsole

Execute a command as console from in-game.
/discordconsole <command>
Aliases: dconsole Permission: xdiscord.console (default: false)
/discordconsole runs the given command with full console privileges. The xdiscord.console permission defaults to false and must be granted explicitly. Only grant it to fully trusted staff — any holder can run arbitrary server commands.
Example:
/discordconsole say Hello from Discord

Embeds

/embed

Send a custom embed to a Discord channel.
/embed <channel> <title> <description>
Aliases: dembed Permission: xdiscord.embed (default: op) Behavior:
  • Posts a rich embed to the named channel
  • Channel must be visible to the bot
Example:
/embed #announcements "Event Tonight" "Join us at 8pm for the build contest"

Welcome DM Module

/welcomedm

Test and manage the Welcome DM module.
/welcomedm <test|reload|help>
Permission: xdiscord.admin Behavior:
  • test — send the welcome DM to yourself to preview it
  • reload — reload Welcome DM configuration
  • help — show module help
Example:
/welcomedm test

Next Steps

Discord Commands

Slash commands available inside Discord.

Permissions Reference

Complete permission nodes and defaults.