Skip to content

A simple yet fully customizable chat plugin that syncs with Towny.

License

Notifications You must be signed in to change notification settings

CraftYourTown/TownyChatRemake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 TownyChatRemake ✨

TownyChatRemake is a simple yet fully customizable chat plugin that syncs with Towny.

👀 Preview

image

✨ Features

  • Towns and nations specific channels
  • Fully customizable and easy-to-use configuration for server owners
  • User-friendly shortcut commands
  • Spy mode
  • DiscordSRV support

🛠 Usage

⚠️ You must use Paper 1.18.2 to run this plugin.

This is because it uses the Adventure library to handle chat formatting.

Commands

  • /chat <channel> - Switch between channels, e.g. /chat town
  • /town toggle chat - Toggle town chat
  • /nation toggle chat - Toggle nation chat
  • /gc /tc /nc - Channel shortcut commands, e.g. /tc hi town!, can be modified in the config.
  • /ta reload chat - Reload config

Permissions

  • townychat.chat - Default permission to switch channels
  • townychat.spy - Toggle spy mode, it allows you to receive messages from all the channels
  • townychat.format - Chat formatting with the MiniMessage Format

Config

Everything should be explained in the config.yml file, but here are some reminders:

⚙️ Recommended Towny Settings

town.set_tag_automatically = true
nation.set_tag_automatically = true

DiscordSRV Channels

While this plugin supports DiscordSRV on the global channel, You can also link Discord channels to towns and nations specific in-game channels.

Go to DiscordSRV's config.yml and to the Channels setting. You can add channels using this format: "government-name" (e.g. "town-mytown"), all lowercase.

📋 To do list

By priority:

  • Better permissions

    • townychat.hear.<channel> - Recieve message from that channel
    • townychat.write.<channel> - Write in that channel
    • townychat.format.
      • colors - Use the colors in message (e.g aqua or #00FF00)
      • decorations - Use decoration in message (italic, bold, underline, strikethrough, obfuscated)
      • misc - Use every other MiniMessage features in message (click, hover, keybind, translatable, insertion, rainbow, gradient, transition, font, newline)
  • Switch channels quickly with /tc /nc /gc...

  • Cooldown

  • Support for legacy colors formatting (e.g. &e for yellow text)

  • (?) Custom channels

  • (?) Muteable parameter for channels

🙏 Support

Please contact PainOchoco#3570 on Discord if you have any issues or requests!

About

A simple yet fully customizable chat plugin that syncs with Towny.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%