Discord Link
Straightforward mod that adds Discord integration to Hytale, letting you connect the in-game chat with a channel on your discord server, enabling bi-directional communication and more!
- Supports both webhooks and direct bot communications
- Invite link to help set Discord-server authorizations for the bot
- 3rd-party Avatar Support for clearer chat logs (at least until Hytale exposes player avatars/skins)
- System-level messaging: server startup/shutdown, player join/leave
- Custom bot status for displaying metrics like player count
- Optional embedded message formatting/customization
- Token and webhook encryption to prevent accidental leaks
More features coming soon!
Installation Instructions
- Set up the Discord Bot:
- Go to https://discord.com/developers/applications/
- Click the button to create a New Application
- Set up General Information
- Under the Bot tab, enable Presence, Server, and Message intents
- Copy down the Token
- Prep the Discord Channel:
- Right-click > "Copy Channel ID" and note this down (May need to enable Developer Mode under Settings > Advanced > Developer Mode)
- (Optional, though preferred) Right-click > Edit Channel > Integrations > Webhooks > New Webhook > "Copy Webhook URL" and note this down
- Copy the jar to your mods folder
- Set up the config file:
- Launch and stop the server to generate the config file if it doesn't already exist
- Paste your token in the token field
- Paste the Channel ID into the channel_id field
- (Optional) Paste the Webhook URL into the webhook_url field and set use_for_chat and use_for_events both to "true"
- Follow the instructions/examples in the config file to further customize your setup
- Launch the server
- Look for
"[DiscordLink|P] Bot invite URL (click to add to your server):"in the server logs -- click this link and follow the prompts to invite the Bot (the application you set up in Step 1) to your Discord server - Once the bot is in your server, make sure it has permissions to see/interact with the channel you set up in Step 2 (which are separate from the authorizations granted in 5.1)
- Look for

