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 a new resident district mode and aligned tab completion for /plot district with help and codebase #7761

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

SulkyWhale
Copy link
Contributor

Description:

Allows residents to set /res toggle district, which will add any plots that they walk into to a district, as long as the resident has a district name set in memory. This is set when a resident runs /plot district add NAME.

There is now tab completion for "new" and "create" as arguments for /plot district, aligning it with the help for /plot district and the actual codebase.


New Nodes/Commands/ConfigOptions:

Adds /res toggle district and the permission towny.command.resident.toggle.district for it.

Adds tab completion for "new" and "create" for /plot district.


Relevant Towny Issue ticket:


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

@LlmDl LlmDl added this to the 0.101.2.0 milestone Feb 16, 2025
@LlmDl LlmDl merged commit 34b3e23 into TownyAdvanced:master Feb 17, 2025
1 check passed
LlmDl added a commit that referenced this pull request Feb 17, 2025
plots.
  - Add a new resident district mode and aligned tab completion for
/plot district with help and codebase, courtesy of SulkyWhale with
PR #7761.
  - New Command: /res toggle district
    - When working with districts, toggling this Mode on will make all
plots you walk into a part of the last district you set.
  - New Permission Node: towny.command.resident.toggle.district
    - Required to use /res toggle district command.
  - Bump net.kyori:adventure-text-serializer-plain from 4.18.0 to
4.19.0.
  - Bump net.kyori:adventure-text-minimessage from 4.18.0 to 4.19.0.
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.

2 participants