Modern's Discord Bridge
Modern's Discord Bridge connects your Hytale world chat with a Discord channel using your own Discord bot.
Send Hytale chat to Discord, relay Discord messages back into Hytale, announce joins/leaves/deaths, and let Discord users run !players to see who is online.
Features
- Two-way chat relay between Hytale and Discord
- Discord to Hytale emoji cleanup, including Unicode emoji aliases like :smile: and custom Discord emoji names like :name:
- Player join and leave announcements
- Player death announcements with Hytale death-message support and fallback death reasons
- Discord !players command for online player lists
- In-game setup UI with /mdb
- Secure token handling in the setup UI, with token fields masked
- Permission-gated setup command so regular players cannot edit bridge settings
- World/server config generation on first launch
Installation
- Download moderns-discord-bridge-1.0.jar.
- Stop your Hytale server or close your Hytale world.
- Put the jar into your Hytale mods folder.
For a local Hytale install, this is usually:
C:\Users\<YourName>\AppData\Roaming\Hytale\UserData\mods
For a dedicated server, place the jar in that server's mods folder.
- Start the world or server once so the config file is generated.
- Open the setup UI in game with:
- Paste your Discord bot token and Discord channel ID, then press Save.
- Restart the world/server if Discord does not connect immediately after saving.
Discord Bot Setup
Create a Discord application and bot in the Discord Developer Portal.
Enable these bot settings:
Invite the bot to your server with these channel permissions:
- View Channel
- Send Messages
- Read Message History
Copy the bot token and your target channel ID into the /mdb setup UI.
Important: never share your Discord bot token. If it appears in a screenshot, log file, or public chat, regenerate it in the Discord Developer Portal.
Permissions
The /mdb setup UI is restricted. A player needs one of these permissions:
Give mdb.admin to trusted admins only. Players without permission cannot open the config UI.
Config Location
The mod generates its config inside the world/server plugin data folder. On a local world, it will look similar to:
Hytale\UserData\Saves\<World Name>\mods\modernknight_ModernsDiscordBridge\config.json
Older development configs from:
Discord Commands
Default command prefix:
Available Discord command:
Shows the currently online Hytale players.
Notes
This mod uses a Discord bot connection, not a webhook. Keep your bot token private and only give /mdb permission to trusted people.
Custom Discord emoji images are not rendered inside Hytale chat in version 1.0. They are converted to readable text aliases instead.