Replace towny modes usage with player channel map. (#35)

* Replace towny modes usage with player channel map.

Ends TownyChat's usage of Towny's Resident Modes to determine which
channel a player is actively chatting into.

Done as an attempt to fix
https://github.com/TownyAdvanced/Towny/issues/5451 but did not result in
solving the bug, in the end this is probably the correct thing to do
anyways.

* Add temporary debug messaging, make the directChat map store the channel
name instead of the channel command.

* Handle Spigot 1.18.1 config changes. Remove debug messaging.
This commit is contained in:
LlmDl authored and GitHub committed 2021-12-23 11:27:19 -06:00
1 parent 27f46966a6
commit f355807538
14 files changed
+65 -193

No files matched your search

+4 -1
View File
@@ -386,4 +386,7 @@ v0.91:
- Implemented sounds for channels and toggling, courtesy of Glare with PR #34.
- Minimum Towny version set to 0.97.2.18.
v0.92:
- Handle channelTag being null.
- Handle channelTag being null.
- Internalize player channel storage.
- Repurpose the display modes on join ChatConfig setting, not displays the channel join message.
- Fix for Spigot 1.18.1 config enabling comments by default.