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 configurable plot type limits #6038

Merged
merged 3 commits into from
Aug 4, 2022
Merged

Add configurable plot type limits #6038

merged 3 commits into from
Aug 4, 2022

Conversation

Warriorrrr
Copy link
Member

Description:

Allows server owners to configure plot limits for each town level


New Nodes/Commands/ConfigOptions:

Adds a new townBlockTypeLimits entry to the town_levels


Relevant Towny Issue ticket:

Closes #5889


  • 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.

@Warriorrrr Warriorrrr force-pushed the feature/plot-type-limits branch from c7842e8 to b699724 Compare August 4, 2022 19:30
@LlmDl LlmDl merged commit c7c10eb into master Aug 4, 2022
@LlmDl LlmDl deleted the feature/plot-type-limits branch August 4, 2022 20:02
LlmDl added a commit that referenced this pull request Aug 4, 2022
#6079.
  - Update translatable with changes from MiniMessage PR, courtesy of
Warriorrrr with PR #6078.
  - Add configurable plot type limits, courtesy of Warriorrrr with PR
#6038.
    - Closes #5889.
    - If you want to limit plot types amounts per-town based on their
town_level you will fill out the new section in this fashion:
      townBlockTypeLimits:
      - shop: 2
      - arena: 2
  - Automatic Config Edit: your config's town_level sections will have
an empty townBlockTypeLimits: added.
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: Plot type limits per Town.
2 participants