Fix exception when attempting to query NPC perms through LuckPerms#8033
Merged
Fix exception when attempting to query NPC perms through LuckPerms#8033
Conversation
LlmDl
approved these changes
Dec 5, 2025
LlmDl
added a commit
that referenced
this pull request
Dec 13, 2025
- Adds a configurable system based on town age and size limits, to
refund recently-made, "small" towns their full cost.
- Closes #7974.
- New Config Option:
economy.refund_deleted_new_towns.allow_refund_on_deletion
- Default: false
- Will towns that are recently created allow for a refund when the
town is deleted by using the /t delete command?
- This allows a player who has founded their town in the wrong place
to delete their town and move it.
- Towns must be less than the age specified below and have a
configuable number of townblocks.
- New Config Option:
economy.refund_deleted_new_towns.max_town_age_in_hours
- Default: 1
- How many hours old is a town allowed to be in order to get the
refund when being deleted.
- New Config Option: economy.refund_deleted_new_towns.max_townblocks
- Default: 8
- How many townblocks is a town allowed to have in order to qualify
for the refund.
- Fix exception when attempting to query NPC perms through LuckPerms,
courtesy of Warrior with PR #8033.
- Future proof minecraft version parsing, courtesy of Warrior with
PR #8034.
- Fix 2 points where permission node tests bypass the adminbypass
mode.
- Add /town nearby command, courtesy of Nrleryx with PR #8040.
(First-Time Contributor!)
- New Permission Node: towny.command.town.nearby
- Will be automatically added to your nomads in the townyperms.yml.
- New Command: /town nearby
- Shows a player up to 10 towns that are nearest to the player in
the order of closest to furthest.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
New Nodes/Commands/ConfigOptions:
Relevant Towny Issue ticket:
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.