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

+1 -7
View File
@@ -80,13 +80,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.16.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<version>1.18.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>