Back to mods
Average Discord Bridge project artwork

CurseForge · Hytale mod

Average Discord Bridge

A simple Discord bridge for Hytale servers. Allows Hytale chat to relay to Discord, and vice-versa.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Average Discord Bridge release should I use?

Updated 3 months ago
Latest stable file AverageDiscord-0.4.2
Game version Not listed
Mod system Built-in Hytale mod system

Average Discord Bridge AverageDiscord-0.4.2 targets Hytale. Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer. No required dependencies listed for this file.

Where it goes

Where should Average Discord Bridge be installed in Hytale?

Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer.

Separate client mod Not supported
World host / dedicated server Required
Mod system for this release Built-in Hytale mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

Put Hytale mods on the world host or dedicated server. Singleplayer runs a local server too; Hytale does not use separate client mods.

What else does Average Discord Bridge AverageDiscord-0.4.2 need?

AverageDiscord-0.4.2. Change the file and its required mods may change too.

No required dependencies listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional project dependencies. Check the creator notes before changing an existing world.

Before you install it

Add Average Discord Bridge without breaking your instance.

Built for Average Discord Bridge AverageDiscord-0.4.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use AverageDiscord-0.4.2. It targets Hytale; another release may target a different game build or dependency set.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Enable it on the world host

    Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside AverageDiscord-0.4.2. It opens that exact file at the source.

About this project

What does Average Discord Bridge add?

Get quality hosting!

Kinetic Hosting: Check out my game hosting partner! They offer fast, affordable hosting with excellent customer support!

AverageDiscord

A Discord bridge plugin for Hytale servers. Forwards chat messages, player join/leave events, and server status between the game server and Discord channels.

Features

  • Chat synchronization (in-game ↔ Discord)
  • Player join/leave embed notifications (with linked Discord avatar support)
  • Server startup/shutdown notifications
  • Player death notifications
  • Multi-channel message routing (assign different event types to different Discord channels)
  • Discord slash commands: /players, /status, /execute
  • Account linking command: /discordlink (with DM confirmation flow)
  • Permission-aware /execute using linked Hytale account permissions
  • Hot-reload configuration
  • Bot status updates with player count every 10 minutes
  • Log Batching: Buffers internal logs to prevent Discord rate limits
  • Intelligent ANSI Handling: Support for 256-color and RGB sequences in server logs

Latest Changes (0.4.2)

  • Updated Plugin to Hytale Release 5 API
  • Resolved minor issue with error log on server shutdown

Setup

  1. Download the latest JAR from releases
  2. Place it in your Hytale server's plugins folder
  3. Create a Discord bot at Discord Developer Portal
  4. Start the server to generate discord_bridge.json
  5. Edit the config with your bot token and channel IDs
  6. Run /discordbridge reload or restart the server

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,
  "stripLinksInChat": true,
  "stripPingsInChat": true
}

Configuration Options

Option Type Description
botToken String Discord bot token (or use HYTALE_DISCORD_TOKEN env var)
channels Array Channel routing config
botActivityMessage String Bot status text in Discord
discordIngamePrefix String Prefix for Discord messages in-game (supports color codes)
showActivePlayerCount Boolean Show player count in bot status
stripLinksInChat Boolean Remove links from in-game chat before sending to Discord
stripPingsInChat Boolean Remove mentions from in-game chat before sending to Discord

Channel Configuration

Field Description
channelId Discord channel ID
type Array of output types (e.g., ["chat", "join_leave"])

Output Types

Type Sends
chat In-game chat messages
join_leave Player joins and leaves
server_state Server startup and shutdown
player_death Player death messages
internal_log Plugin logs
desc_status Channel topic updates with player count
all All of the above except internal_log

Note: internal_log is not included in all and must be explicitly configured if you want it.

How to Get Your Bot Token and Channel ID

  1. 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
  2. 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

Messages are routed to Discord channels based on their output type. Each channel in the config specifies which types it receives.

In-Game → Discord: Chat messages are sent to channels with chat or all types.

Discord → In-Game: Messages in channels with chat or all types are sent to the game with a configurable prefix.

Events and their output types:

  • chat - In-game chat messages
  • join_leave - Player join/disconnect
  • server_state - Server startup/shutdown
  • player_death - Player deaths
  • internal_log - Plugin logs
  • desc_status - Channel topic updates with player count
  • all - All of the above except internal_log

Dependencies

The JAR bundles all dependencies. No additional libraries needed.

  • Hytale Server
  • AverageHytaleCore
  • JDA 6.3.0
  • Gson
  • SLF4J

Requirements

  • Java 25+
  • Hytale server
  • Discord bot token with permissions: View Channels, Send Messages, Read Message History
  • Bot intents: GUILD_MESSAGES, MESSAGE_CONTENT

Commands

/discordbridge reload

Reloads the plugin configuration without requiring a server restart.

Aliases: db, discord

Usage: /discordbridge reload

Permission: Server admin/operator

/execute

Run server commands from Discord in channels configured with the all output type.

Execution behavior:

  • Discord administrators run commands as server console.
  • Non-admin Discord users can run commands as their linked Hytale account (must be linked and online).

Usage: /execute command:<command>

Example: /execute command:say Hello from Discord!

/discordlink

Link or unlink your Discord account to your Hytale account.

Aliases: linkdiscord, dlink

Usage:

  • /discordlink username <discord_username>
  • /discordlink unlink

How linking works:

  1. Run /discordlink username <discord_username> in-game.
  2. The bot sends a DM to that Discord user.
  3. React with ✅ in the DM to confirm and complete linking.

Color Codes

The discordIngamePrefix supports Minecraft color codes: &9 (blue), &a (green), &c (red), &e (yellow), &f (white), and other standard 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)

Project description from CurseForge.

Recent files

Average Discord Bridge releases and Hytale builds

14 of 14 releases match

Looking for an older file? The official CurseForge project page is in Resources.