Towny Classic

Towny Classic

3.2k Downloads

TownyChat странно работает

iinquisitor opened this issue · 9 comments

commented

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

  1. Your full server startup from the logs\latest.log: https://pastebin.com/e6fc6kk4
  2. Your Towny config.yml: https://pastebin.com/dk2NmiTC
  3. Your townyperms.yml: https://pastebin.com/sLJN169U
  4. 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 (как плагин его создал)

commented
commented

Image

I don't read Ukrainian, so this image doesn't help.

No one else has to stop and start their server to use towny chat. It's probably something on your end.

commented
commented

Sounds like you are breaking the config's yaml formatting.

commented
commented

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.

commented
	@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.

commented

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.

commented

Image