Skip to content

Towny cheating trial chambers when mob spawning is off #7709

Closed
@Gfieldd

Description

@Gfieldd

What steps will reproduce the problem?

  1. Find a trial chamber
  2. Start the trial chamber
  3. Start a Town in the trial chambers (this assumes mob spawning is toggled off by default, otherwise toggle mob spawning off)
  4. Claim all chunks that are part of the trial chamber
  5. Watch all trial chamber mobs disappear because of Towny, and all trial chamber spawners giving their loot

What is the expected output?

In vanilla minecraft, when you start a trial chamber in any gamemode other than peaceful, but then decide to switch to peaceful all the mobs disappear, but the spawners don't give any loot.
I would expect Trial chambers that are "won" by claiming them with a town where the mobs are disabled to have similar behaviour, or have an option to toggle this in the config.
The current way it works allows for players who aren't part of a town to easily cheat trial chambers using Towny, with no real way for server owners to prevent it. We will likely be able to roll out our own fix, but this issue likely affects more servers than just ours.

Towny version

0.101.0.0

Server version

Paper 1.21.3-81-master@da71382

Please use Pastebin.com to link the following files

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

(optional) If this is to do with permissions,
5. Your permissions file:

(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions