Towny Classic

Towny Classic

3.2k Downloads

Renaming towns duplicates money on 0.100.2.4

galacticwarrior9 opened this issue ยท 2 comments

commented

What steps will reproduce the problem?

  1. Enable economy.banks.is_deleted_town_and_nation_bank_balances_paid_to_owner.
  2. Rename your town using /t set name.
  3. Towny will think that your town has been deleted and pay you a sum of money equivalent to the amount stored in the town bank, without actually deducting money from the bank.

image

I am using the EssentialsX dev builds available here. I was only able to reproduce the issue without OP.

Given that this would be caused by town's account being deleted when renamed, I assume the same happens when renaming nations.

What is the expected output?

No money is received for renaming the town.

Towny version

0.100.2.4

Server version

git-Purpur-2169 (MC: 1.20.4)

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log: Link - see lines 591 to 607
  2. Your Towny config.yml: Link
  3. Your log's error: No error.
commented

It indeed has been an issue with closed-economy servers going back years...

commented

I'll check this out, if this is the case then server with closed economy enabled will have had the server account get duped money dating back years.