Towny Classic

Towny Classic

3.2k Downloads

wild_revert_on_mob_explosion not working

Wextra opened this issue ยท 3 comments

commented

What steps will reproduce the problem?

  1. Blow up an entity listed in 'entities:' (in my example TNT) in the wilderness
  2. Wait for it to revert.
  3. Doesn't revert.

What is the expected output?

For the entity block damage to be reverted after a set amount of time (in my case 180 seconds).

Towny version

Towny 0.99.5.0.

Server version

1.18.2

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log: https://pastebin.com/itEb3zM1
  2. Your Towny config.yml: https://pastebin.com/ahdxRB9j
  3. Your townyperms.yml: https://pastebin.com/gg60BDfP
  4. Your log's error: -
commented

I need to see your towny\data\worlds\WORLDNAME.txt file, where worldname is the world you're testing in. I also need to know what mob is exploding exactly.

commented

Here's the world.txt file https://pastebin.com/a1gdUmMC.

I think I see the problem though. TNT isn't listed in the PlotManagementWildRegenEntities in the world.txt, which however is weird because it is listed in entities under wild_revert_on_mob_explosion in the config. After adding tnt to PlotManagementWildRegenEntities in the world.txt it works again.

However I'd say there still is an issue with the config settings not being the same as the things in world.txt

commented

The 0.99.3.0-0.99.5.0 releases had some issues pertaining to that list of entities being wiped out. This probably explains why the list was empty or missing TNT for you.

The naming is very wonky, yes, that has always been the case but it is documented in the HowTownyWorks wiki page. Some day maybe we'll end up renaming a lot of those settings/the code that backs them.