Average Discord Bridge
A simple Discord bridge for Hytale servers. Allows Hytale chat to relay to Discord, and vice-versa.
About Average Discord Bridge
AverageDiscord
A comprehensive Discord-Hytale server bridge plugin that seamlessly connects your Hytale game server with Discord, enabling real-time chat synchronization and server status notifications.
Overview
AverageDiscord is a powerful plugin designed for Hytale servers that establishes a two-way communication bridge between your in-game chat and a designated Discord channel. Monitor server activity, receive player join/leave notifications, and allow Discord members to chat with players on your Hytale serverβall in real-time.
Features
π Bi-Directional Chat Bridge
Real-time synchronization between in-game chat and Discord
Formatted message support with proper text parsing
Discord messages sent to the designated channel appear in-game
In-game chat messages are forwarded to Discord with player names
π’ Server Status Notifications
Automatic server startup notification
Automatic server shutdown notification
Player join notifications with player names
Player disconnect notifications with player names
Emoji-enhanced messages for better visibility (β β β‘οΈ β¬ οΈ)
π‘ Flexible Multi-Channel Output
Route different message types to different Discord channels
Support for 6 distinct output types: All, Chat, Join/Leave, Server State, Internal Log, Desc Status
Configure multiple channels with different output filters
Organize your Discord server with specialized channels for different events
βοΈ Easy Configuration
JSON-based configuration file with multi-channel support
Hot-reload functionality without restarting the server
Customizable Discord bot prefix for in-game messages
Custom bot activity/status message
Support for formatted color codes in Discord messages
Optional active player count display
π Dynamic Status Updates
Automatic bot activity updates with current player count every 10 minutes
Optional channel description updates with server status information (e.g., player count)
π οΈ Admin Commands
/discordbridge reload - Reloads plugin configuration on-the-fly
Aliases: /gm, /agm, /groupman
Graceful config synchronization
Installation
Download the latest AverageDiscord JAR file
Place it in your Hytale server's plugins folder
Create a Discord bot at Discord Developer Portal
Configure the plugin (see Configuration section below)
Restart your Hytale server or use /discordbridge reload
Configuration
After first run, a discord_bridge.json configuration file will be created in your server's AverageDiscord folder.
Configuration File Example
{ "botToken": "your_bot_token_here", "channels": [ { "channelId": "1234567890", "type": ["all"] }, { "channelId": "2345678901", "type": ["chat"] }, { "channelId": "3456789012", "type": ["join_leave", "server_state", "desc_status"] }, { "channelId": "4567890123", "type": ["internal_log"] } ], "botActivityMessage": "Playing Hytale!", "discordIngamePrefix": "&9[Discord] ", "showActivePlayerCount": true } Configuration Options
Option Type Description Example
botToken String Your Discord bot token from the Developer Portal "token_here"
channels Array Array of channel configurations (see Channel Configuration below) [{...}]
botActivityMessage String The bot's status message in Discord "Playing Hytale!"
discordIngamePrefix String Prefix for Discord messages in-game (supports color codes) "&9[Discord] "
showActivePlayerCount Boolean Show active player count in bot activity status true
Channel Configuration
Each channel object in the channels array has the following structure:
Option Type Description Example
channelId String The Discord channel ID where messages of this type will be sent "1234567890"
type Array of Strings Output types for this channel (see Output Types below) ["chat", "join_leave"]
Channel Output Types
Configure which types of messages are sent to each channel:
Type Description
all All messages except internal logs (chat, join/leave, server state)
chat In-game player chat messages
join_leave Player join and disconnect notifications
server_state Server startup and shutdown notifications
internal_log Internal plugin logging and debugging messages
desc_status Channel description updates with server status information
Note: The all output type does not include internal_log. If you want internal logs, you must explicitly add the internal_log type to a channel.
How to Get Your Bot Token and Channel ID
Bot Token:
Go to Discord Developer Portal
Create a new application or select an existing one
Navigate to the "Bot" tab
Click "Add Bot" (if new)
Copy the token under the "TOKEN" section
Channel ID:
Enable Developer Mode in Discord (User Settings β Advanced β Developer Mode)
Right-click on your desired channel
Select "Copy Channel ID"
Paste it in the configuration
How It Works
Message Routing
The plugin uses a flexible multi-channel system to route different message types to different Discord channels. Each channel is configured with one or more output types that determine what messages it receives.
Chat Synchronization
In-Game β Discord: When a player types in chat, the message is sent to all channels configured with the chat or all output types
Discord β In-Game: When a non-bot user sends a message in a channel configured with the chat or all output types, it appears in-game with a customizable prefix
Server Events
The plugin monitors and reports the following events:
Player Join: Sent to channels with join_leave or all output types
Player Disconnect: Sent to channels with join_leave or all output types
Server Startup: Sent to channels with server_state or all output types
Server Shutdown: Sent to channels with server_state or all output types
Player Chat: Sent to channels with chat or all output types
Internal Logs: Sent only to channels explicitly configured with internal_log type
Event Listeners
The plugin registers listeners for:
PlayerChatEvent - Forwards in-game chat to Discord
PlayerReadyEvent - Notifies Discord when players join
PlayerDisconnectEvent - Notifies Discord when players leave
AllWorldsLoadedEvent - Notifies Discord when the server starts
ShutdownEvent - Notifies Discord when the server stops
Dependencies
Please note: The JAR you download is a shadowed JAR that bundles all dependencies, so you do not need to install any additional libraries. These are listed solely for reference and transparency.
Hytale Server - The core server implementation (HytaleServer.jar)
AverageHytaleCore - Core utilities library
JDA (Java Discord API) - Version 6.3.0 for Discord bot functionality
Gson - JSON parsing and serialization for configuration
SLF4J - Logging implementation
Requirements
Java 11 or higher
Active Hytale server installation
Discord bot with proper permissions: View Channels
Send Messages
Read Message History
Intents: GUILD_MESSAGES, MESSAGE_CONTENT
Commands
/discordbridge reload
Reloads the plugin configuration without requiring a server restart.
Aliases: gm, agm, groupman
Usage: /discordbridge reload
Permission: Server admin/operator
Color Codes
The discordIngamePrefix supports Minecraft color codes for customizing message appearance:
&9 - Blue
&a - Green
&c - Red
&e - Yellow
&f - White
And many more standard Minecraft color codes
Troubleshooting
Bot Token Invalid
Verify the bot token is correctly copied from the Discord Developer Portal
Ensure you've copied the entire token without extra spaces
Regenerate the token if necessary
Channel ID Not Found
Ensure Developer Mode is enabled in Discord
Verify the channel ID is correct (should be numeric)
Ensure the bot has access to the channel
Messages Not Appearing in Discord
Check that the bot has permission to send messages in the channel
Verify the channel ID in the configuration is correct
Ensure the channel is configured with the correct output types (chat, all, join_leave, server_state, or internal_log)
Check that at least one channel is configured with the message type you're trying to send
Check server logs for any errors
Try using /discordbridge reload to refresh the configuration
Messages Not Appearing In-Game
Verify that the Discord bot has permission to send messages in the configured channels
Ensure the channel IDs in the configuration are correct
Make sure the Discord channel is configured with chat or all output types to receive Discord messages and relay them in-game
Configuration Issues
Ensure the discord_bridge.json file is valid JSON (use a JSON validator if needed)
Verify that all required fields are present: botToken, channels, botActivityMessage, discordIngamePrefix
Check that the type array in each channel contains valid output types
Try using /discordbridge reload after making configuration changes
Bot Offline
Verify the bot token is valid
Check that your server has internet connectivity
Look for error messages in the server console
Author
Average (js3 on Hytale)
Note: This plugin requires a valid Discord bot token and proper configuration to function. Ensure all prerequisites are met before installation.
Categories
Need a Server?
Run Average Discord Bridge on a dedicated Hytale server with easy mod management.
Get Hytale HostingFrequently Asked Questions
What is Average Discord Bridge?
A simple Discord bridge for Hytale servers. Allows Hytale chat to relay to Discord, and vice-versa.
How do I download Average Discord Bridge?
You can download Average Discord Bridge for free from CurseForge. Click the "Download on CurseForge" button on this page to go directly to the download page.
Who created Average Discord Bridge?
Average Discord Bridge was created by Averagedev. The mod has been downloaded 216 times.
Is Average Discord Bridge compatible with Hytale servers?
Average Discord Bridge is designed for Hytale and can be used on both single-player and multiplayer servers. Check the mod page on CurseForge for specific compatibility information.
How do I install Average Discord Bridge?
To install Average Discord Bridge: 1) Download the mod from CurseForge, 2) Place the file in your Hytale mods folder, 3) Restart the game. The mod should load automatically.
Related Misc Mods
View all modsYmmersive Melodies
Conczin
Upload and play MIDI files in-game on various instruments to annoy your friends with custom melodies!
MultipleHUD
Buuz135
A simple mod that allows you to have multiple HUDs present at once.
Spanish Translation
Plexu5
A Spanish language translation for Hytale. Includes UI, items, and menus.
YUNG's HyDungeons
YUNGNICKYOUNG
Adds new procedurally generated dungeon instances!
Just Enough Tales (JEI mod)
uwudwagon
A JEI mod for Hytale.
[NoCube's] Simple Bags
NoCube
Adds bags that you can put anything in!