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

Add unclaimEntityTypeDelete to TownyWorld. #5992

Merged
merged 3 commits into from
Jul 19, 2022

Conversation

LlmDl
Copy link
Member

@LlmDl LlmDl commented Jun 30, 2022

Description:

Allows Towny to delete all Entities of a given type from a TownBlock
when it is unclaimed by a town.


New Nodes/Commands/ConfigOptions:

New Config Options:

  • new_world_settings.plot_management.entity_delete.enabled
    • Default: false
  • new_world_settings.plot_management.entity_delete.unclaim_delete
    • Default: "ENDER_CRYSTAL"
    • These entities will be deleted upon a plot being unclaimed

Relevant Towny Issue ticket:

Closes #5953.


  • I have tested this pull request for defects on a server.

By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the Towny License for perpetuity.

Allows Towny to delete all Entities of a given type from a TownBlock
when it is unclaimed by a town.

New Config Options:
 - new_world_settings.plot_management.entity_delete.enabled
   - Default: false
 - new_world_settings.plot_management.entity_delete.unclaim_delete
   - Default: "ENDERCRYSTAL"
   - These entities will be deleted upon a plot being unclaimed

Closes #5953.
@LlmDl LlmDl marked this pull request as ready for review July 19, 2022 21:15
@LlmDl LlmDl merged commit 9e5ce64 into master Jul 19, 2022
@LlmDl LlmDl deleted the feature/deleteEntityTypeOnUnclaim branch July 19, 2022 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: Entity removal upon town unclaim/deletion
1 participant