
TownyChat странно работает
iinquisitor opened this issue · 9 comments
What steps will reproduce the problem?
Не знаю. Как минимум починить работу плагина.
What is the expected output?
Чтобы он не переписывал конфиг как ему хочется.
Towny version
0.101.1.0
Server version
Purpur 2062 (MC 1.20.1)
Please use Pastebin.com to link the following files
- Your full server startup from the logs\latest.log: https://pastebin.com/e6fc6kk4
- Your Towny config.yml: https://pastebin.com/dk2NmiTC
- Your townyperms.yml: https://pastebin.com/sLJN169U
- Your log's error: https://pastebin.com/AViDPfug
(optional) If this is to do with permissions,
5. Your permissions file:
(optional) If this is to do with chat,
6. Your chatconfig.yml: https://pastebin.com/AteYdc1L
7. Your channels.yml: https://pastebin.com/gXtNiJkD (как плагин его создал)
It doesn't replace a config file if you use /townychat reload
, I don't know what you did to get it to replace a config file.
@Override
public void onEnable() {
pm = getServer().getPluginManager();
channels = new ChannelsHolder(this);
playerChannelMap = new ConcurrentHashMap<>();
I do not know how you could possibly get the playerChannelMap to be null.
Don't know. However, a solution did emerge. I turned off the server, deleted the TownyChat plugin config, started the server, turned it off, configured it, turned it on and so far everything is working. But it is extremely inconvenient to constantly turn off the server to configure the plugin.