πŸ€– Discord

Discord module connects Voidium to your Discord server: whitelist/linking, chat bridge, console streaming, status/topic updates and tickets.

You must enable Discord intents: GUILD_MEMBERS and MESSAGE_CONTENT.

Jump to

βœ… Setup

You need:

Minimal first-run checklist:

  1. Edit config/voidium/discord.json
  2. Set enableDiscord: true, botToken, guildId
  3. Configure channel IDs:
    • chatChannelId (required for chat bridge)
    • linkChannelId (recommended; see note below)
  4. Restart the server (for token changes), or try /voidium reload for small edits
Important: keep MESSAGE_CONTENT intent enabled so the bot can read Discord messages for the chat bridge.

βš™οΈ Configuration

Voidium uses two Discord-related config files:

discord.json (key fields)

Basics

Channels

Whitelist & linking

Chat bridge

Emoji note: Discord β†’ MC chat always maps a small set of Unicode emoji into :aliases: for Voidium client rendering. The translateEmojis toggle is currently only used for ticket-message forwarding (and may have limited effect depending on mappings).

Status / topic

Ban sync

Bot responses

Roles & prefixes

tickets.json (TicketConfig)

File: config/voidium/tickets.json

πŸ”— Whitelist & Linking

In-game (whitelist flow)

When whitelist is enabled and a player is not linked:

  1. The player joins and is frozen in place (not kicked).
  2. They receive a 6-digit code in chat (kickMessage + verificationHintMessage).
  3. The code expires after 10 minutes.
  4. After linking, the player is unfrozen.

On Discord

Data is stored in config/voidium/storage/links.json.

πŸ’¬ Chat bridge

MC β†’ Discord

Discord β†’ MC

Join / leave / death

When chat bridge is enabled, join/leave/death events are posted to Discord as colored embeds with the player’s skin thumbnail:

🎫 Tickets

Discord slash commands

Ticket creation is rate-limited (global cooldown ~60 seconds) to avoid Discord 429 errors.

In-game

See the full command reference here: Commands.

Transcripts

If transcripts are enabled:

🧯 Troubleshooting

Bot won’t start

Discord β†’ MC messages do not arrive

Linking doesn’t work

Ticket not created