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

+1 -1
View File
@@ -433,7 +433,7 @@ This is a table of HuskHomes commands, how to use them, and their required permi
</table>
### Notes
&dagger; &mdash; If [Permission Restricted Warps](restricted-warps) are in use, the `huskhomes.command.warp.(warp_name)` permission node will also be required to be able to view and use warps.
&dagger; &mdash; If [Permission Restricted Warps](restricted-warps) are in use, the `huskhomes.warp.<name>` permission node will also be required to be able to list, use, edit and delete (but not set) warps. The `huskhomes.warp.*` wildcard permission grants the ability to access all warps.
&ddagger; &mdash; Requires `return_by_death` to be enabled in [`config.yml`](config-files).