refactor: Improve perm-restricted warps, close #763

* Changes permission restricted warps to use `huskhomes.warp.<name>` for better compat, without the `.command.` subnode
* Fixes wildcard permission support: `huskhomes.warp.*`
* Improves documentation
This commit is contained in:
William278 committed 2025-02-02 18:01:33 +00:00
1 parent cf7ea31536
commit 473c5e77cc
11 files changed
+54 -31

No files matched your search

@@ -131,7 +131,7 @@ public final class Settings {
+ "if the user inherits multiple nodes.")
private boolean stackPermissionLimits = false;
@Comment("Whether users require a permission (huskhomes.command.warp.<warp_name>) to use warps")
@Comment("Whether users require a permission (huskhomes.warp.<warp_name>) to use warps")
private boolean permissionRestrictWarps = false;
@Comment("How long a player has to stand still and not take damage for when teleporting (in seconds) ")