Home›Java›Mods›TownyDiscordChat
TownyDiscordChat
ModsJava

TownyDiscordChat

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
TownyDiscordChat 3.3.0
Towny Advanced ↔ DiscordSRV bridge for Paper and Purpur

GitHub source · Original inspiration​

TownyDiscordChat connects Towny Advanced towns and nations to DiscordSRV. It creates private Discord resources, provides secure town and nation chat bridges, synchronizes linked accounts and publishes useful Towny activity in rich embeds.

Highlights

Requirements

Required dependencies

Optional soft-dependencies

Installation
  1. Install Towny Advanced and DiscordSRV and configure DiscordSRV's Main Guild.
  2. Give the bot Manage Roles, Manage Channels, Manage Channel Permissions, View Channels, Send Messages, Embed Links and Read Message History.
  3. Place the bot role above TownyDiscordChat roles and enable Message Content Intent.
  4. Put the jar in `/plugins`, start once, edit `config.yml` and run `/tdc sync`.

Language configuration
Code (Text):

language: en
# Available: en, it, fr, es, pl
 
The selected file is loaded from `plugins/TownyDiscordChat/locales/<language>.yml`. The five files are created automatically on first start, and missing keys fall back to English.

Example configuration
Code (Text):

bridge:
  Enabled: true
  TownChatOnly: true
  RequireLinkedAccount: true
  RequireCurrentTown: true
  MinecraftFormat: "**[MC] %player%:** %message%"
  DiscordFormat: "&8[&2TDC&8] &c%titolo% &8» &7%usernameds% &8» &f%message%"
  NationMinecraftFormat: "**[MC] %player%:** %message%"
  NationDiscordFormat: "&8[&2NATION&8] &b%nazione% &8» &7%usernameds% &8» &f%message%"

townychat:
  TownChannelNames: ["town"]
  NationChannelNames: ["nation", "nc"]
  CommandListener:
    TownCommands: ["tc", "townchat", "town"]
    NationCommands: ["nc", "nationchat", "nation"]
    OtherCommands: ["g", "global", "globalchat", "a", "admin", "m", "mod"]

messages:
  DailySummaryButtons:
    Enabled: true
    TaxesLabel: "Taxes"
    ResidentsLabel: "Residents"
    OutpostsLabel: "Outposts"
  TownEvents:
    rank-add:
      Enabled: true
      Format: " **Rank:** %resident% received **%rank%** (by %actor%)."
    rank-remove:
      Enabled: true
      Format: " **Rank:** **%rank%** was removed from %resident% (by %actor%)."
    taxes:
      Enabled: true
      Format: " **Taxes:** town tax set to **%tax%** (by %actor%)."
 
Commands

Permissions
Code (Text):
TownyDiscordChat.Admin
TownyDiscordChat.Player
TownyDiscordChat.Sync
TownyDiscordChat.Check.Role
TownyDiscordChat.Check.Role.AllLinked
TownyDiscordChat.Check.Role.CreateAllTownsAndNations
TownyDiscordChat.Check.TextChannel.AllTownsAndNations
TownyDiscordChat.Check.VoiceChannel.AllTownsAndNations
Compatibility and support
The plugin uses public Bukkit/Paper APIs only and no NMS. Towny, DiscordSRV and optional integrations must support your server version. Report issues through the GitHub issue tracker.

Inspired by TownyDiscordChat on SpigotMC.

Authors and contributors: thejames10, Hugo5000 and Smokytek.

Support the project
If TownyDiscordChat is useful to your server, please leave a positive review on SpigotMC. Your feedback helps other server owners discover the resource and supports continued development.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

TownyDiscordChat is a free Minecraft Java mod. Compatible with Minecraft 1.21, 26.1, 26.2. Downloaded 48 times (via Spigot). Download it and open it directly in the game.

Explore more