Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Towny cheating trial chambers when mob spawning is off #7709

Open
Gfieldd opened this issue Dec 22, 2024 · 1 comment
Open

Towny cheating trial chambers when mob spawning is off #7709

Gfieldd opened this issue Dec 22, 2024 · 1 comment
Labels

Comments

@Gfieldd
Copy link

Gfieldd commented Dec 22, 2024

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:

@Gfieldd Gfieldd added the bug label Dec 22, 2024
@Warriorrrr
Copy link
Member

This can be solved by adding TRIAL_SPAWNER to the town_mob_removal_ignored_spawn_causes option, perhaps adding that as a default would make sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants