๐ฌ TownyChatRemake โจ
TownyChatRemake is a simple yet fully customizable chat plugin that syncs with Towny.
๐ Preview
โจ 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
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 channelstownychat.spy
- Toggle spy mode, it allows you to receive messages from all the channelstownychat.format
- Chat formatting with the MiniMessage Format
Config
Everything should be explained in the config.yml file, but here are some reminders:
- The
tags
' config section is made so that you can add components easily in other config strings. - You can use PAPI placeholders in every config strings except in the
lang
section like so:<papi:YOUR_PLACEHOLDER_NAME>
(e.g<papi:townyadvanced_town_tag>
) - Useful links:
โ๏ธ 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!