promotional bannermobile promotional banner
DiscordBridge logo

DiscordBridge

DiscordBridge is a lightweight Hytale server plugin that sends server events to Discord using a Discord Webhook.
item image

Works via Discord Webhooks, very customizable, safe, easy to use

Description

DiscordBridge Banner

πŸ”— DiscordBridge

DiscordBridge is a lightweight Hytale server plugin that sends server events directly to Discord using a Webhook.

No Discord bot.
No tokens.
No external hosting required.

Designed to be drop-in, easy to configure, and safe for public servers.


✨ Features

  • βœ… Server ONLINE / OFFLINE notifications
  • βœ… Player JOIN / LEAVE notifications
  • βœ… Discord embeds for join/leave events
  • βœ… Fully customizable embeds via config.json
  • βœ… Placeholder support:
    • {playerName}
    • {serverName}
    • {disconnectReason}
  • βœ… Works with Discord webhooks only
  • βœ… Survives Hytale API changes via reflection
  • βœ… Zero runtime dependencies

πŸ“¦ Installation

  1. Download DiscordBridge-x.y.z.jar
  2. Place it in your Hytale server mods/ directory
  3. Start the server once (this generates config.json)
  4. Edit config.json and set your Discord webhook URL
  5. Restart the server

πŸ”§ Creating a Discord Webhook

  1. Open Discord
  2. Go to Channel Settings β†’ Integrations β†’ Webhooks
  3. Click New Webhook
  4. Copy the Webhook URL
  5. Paste it into config.json

⌨️ Commands

/discordbridge reload

Reloads config.json without restarting the server.

Default permission:
discordbridge.reload

You can change this permission via reloadPermission in config.json

Workflow:

  1. Edit config.json
  2. Run /discordbridge reload
  3. Changes apply immediately

βš™οΈ Configuration (config.json)

{
  "webhookUrl": "PASTE_WEBHOOK_HERE",
  "serverName": "My Hytale Server",
  "sendServerStartStop": true,
  "sendJoinLeave": true,
  "useEmbedsForJoinLeave": true,

  "webhookUsername": "Hytale Bridge",
  "webhookAvatarUrl": "",

  "joinEmbed": {
    "title": "Player Joined",
    "description": "βž• **{playerName}** joined **{serverName}**",
    "color": 65280,
    "footerText": "{serverName}",
    "thumbnailUrl": "",
    "includeTimestamp": true
  },

  "leaveEmbed": {
    "title": "Player Left",
    "description": "βž– **{playerName}** left **{serverName}**\nReason: `{disconnectReason}`",
    "color": 16711680,
    "footerText": "{serverName}",
    "thumbnailUrl": "",
    "includeTimestamp": true
  }
}

NOTES

  • Embed color values are decimal integers (Discord format)
  • Leave fields blank to omit them from embeds
  • Some changes may require a server restart

Compatibility

  • Requires the official Hytale server
  • Built against the Hytale Server API
  • Java version must match the server runtime

The DiscordBridge Team

profile avatar
  • 2
    Followers
  • 4
    Projects
  • 1.0K
    Downloads