Towny Classic

Towny Classic

3.2k Downloads

Internal error using /plot set outpost command

lexiccn opened this issue ยท 0 comments

commented

What steps will reproduce the problem?

  1. Claim a plot in a town (either using /t claim or /t claim outpost)
  2. Try to set it to an outpost, regardless of it already is one (using /plot set outpost)
  3. "An internal error occurred while attempting to perform this command."

Throws unhandled exceptions in log related to cached economy account for the town.

Can reproduce with:
iConomy 5 and Vault, using_economy: off when server started - changing this and reloading does not fix it or enable economy
No Economy, using_economy: on when server started
No Economy, using_economy: off when server started

Can not reproduce with:
iConomy 5 and Vault, using_economy: on when server started - charges $500

What is the expected output?

Based off doing it with economy enabled and installed, it seems it should just change it to an outpost again and ignore that it currently is one, if it is one - and should just convert to an outpost if it is not

Towny version

Reproduced on 0.100.0.9 with Economy plugin (but disabled in Towny) and without (enabled or disabled in Towny)
Reproduced on 0.100.0.0 without Economy plugin (then updated to ensure)

Server version

Paper 1.20.2 Build 318

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log: https://pastebin.com/dLvaY9QE (this is with Vault and iConomy 5.2 - latest as of report - started with using_economy: False)
  2. Your Towny config.yml: https://pastebin.com/WE3m8gEC
  3. Your townyperms.yml: https://pastebin.com/gzft1AYm
  4. Your log's error: https://pastebin.com/3W5wKV8J (this is with Vault and iConomy 5.2 - latest as of report)

Full log without economy plugin installed: https://pastebin.com/Tf0DkFWz (started with using_economy: True)