mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
v4.5: Bulk delete, regex customization, QoL & API work (#486)
* Improve validator error specificity, fix #481 * Add more sanity-checking to cluster IDs, close #482 * Add bulk/player-delete command, close #484, close #257 * Fix checkstyle formatting in tests * Add missing strings to other locale files * Use morepaperlib for runtime command registration on spigot * api: make creation methods return a future, close #473 * Add name/description restriction regex customization * docs: Update config file with new regex options * bump version number to 4.5 * fix typo, correct command confirmation logic * Make confirmation locales more clear * Fix confirmation checking logic
This commit is contained in:
1 parent
e2c9a52911
commit
6bfd69f232
38 files changed
+1161
-692
No files matched your search
+9
-8
@@ -33,7 +33,7 @@ This is a table of HuskHomes' commands and their required permission nodes. Addi
|
||||
| `/spawn` | Teleport to spawn | `huskhomes.command.spawn` | ✅ |
|
||||
| `/setspawn` | Set the spawn position | `huskhomes.command.setspawn` | ❌ |
|
||||
| `/back` | Return to your previous position, or where you died | `huskhomes.command.back` | ✅ |
|
||||
| `/huskhomes [about/help/reload/import/update]` | View plugin information & reload configs | `huskhomes.command.huskhomes` | ✅ |
|
||||
| `/huskhomes [about/help/reload/import/delete/update]` | View plugin information & reload configs | `huskhomes.command.huskhomes` | ✅ |
|
||||
|
||||
* † **Base Permission** — Required permission for basic command execution; some commands require additional permissions for certain functions ([See below…](#other-permissions))
|
||||
* ‡ **Default** — ✅ = Accessible by all players by default — ❌ = Accessible only by server operators by default.
|
||||
@@ -142,11 +142,12 @@ These permissions allow you to use /tp and /rtp to teleport other players remote
|
||||
|
||||
These permissions control what arguments of the /huskhomes command a user may use.
|
||||
|
||||
| Command | Description | Permission | Default |
|
||||
|----------------------------------|--------------------------------------------|--------------------------------------|:-------:|
|
||||
| `/huskhomes help [page]` | View a list of HuskHomes commands | `huskhomes.command.huskhomes.help` | ✅ |
|
||||
| `/huskhomes [about]` | View the plugin about menu | `huskhomes.command.huskhomes.about` | ✅ |
|
||||
| `/huskhomes reload` | Reload the plugin config and message files | `huskhomes.command.huskhomes.reload` | ❌ |
|
||||
| `/huskhomes import [list/start]` | Import data from other plugins/mods | `huskhomes.command.huskhomes.import` | ❌ |
|
||||
| `/huskhomes update` | Check for updates | `huskhomes.command.huskhomes.update` | ❌ |
|
||||
| Command | Description | Permission | Default |
|
||||
|-------------------------------------------------|----------------------------------------------------------|--------------------------------------|:-------:|
|
||||
| `/huskhomes help [page]` | View a list of HuskHomes commands | `huskhomes.command.huskhomes.help` | ✅ |
|
||||
| `/huskhomes [about]` | View the plugin about menu | `huskhomes.command.huskhomes.about` | ✅ |
|
||||
| `/huskhomes reload` | Reload the plugin config and message files | `huskhomes.command.huskhomes.reload` | ❌ |
|
||||
| `/huskhomes import [list/start]` | Import data from other plugins/mods | `huskhomes.command.huskhomes.import` | ❌ |
|
||||
| `/huskhomes delete [player/homes/warps] [args]` | Perform bulk actions on homes/warps & delete player data | `huskhomes.command.huskhomes.delete` | ❌ |
|
||||
| `/huskhomes update` | Check for updates | `huskhomes.command.huskhomes.update` | ❌ |
|
||||
</details>
|
||||
@@ -72,10 +72,14 @@ general:
|
||||
strict_tpa_here_requests: true
|
||||
# Whether home or warp names should be case insensitive (i.e. allow /home HomeOne and /home homeone)
|
||||
case_insensitive_names: false
|
||||
# Whether home or warp names should allow UTF-8 characters (i.e. allow /home 你好)
|
||||
allow_unicode_names: false
|
||||
# Whether home or warp descriptions should allow UTF-8 characters
|
||||
allow_unicode_descriptions: true
|
||||
# Whether home and warp names should be restricted by a regex. Set this to false to allow full UTF-8 names (i.e. allow /home 你好).
|
||||
restrict_names: true
|
||||
# Regex which home and warp names must match. Names have a max length of 16 characters
|
||||
name_regex: '[a-zA-Z0-9-_]*'
|
||||
# Whether home/warp descriptions should be restricted. Set this to true to restrict UTF-8 usage.
|
||||
restrict_descriptions: false
|
||||
# Regex which home and warp descriptions must match. A hard max length of 256 characters is enforced
|
||||
description_regex: '\A\p{ASCII}*\z'
|
||||
# Whether /back should work to teleport the user to where they died
|
||||
back_command_return_by_death: true
|
||||
# Whether /back should work with other plugins that use the PlayerTeleportEvent (can cause conflicts)
|
||||
|
||||
Reference in new issue
Block a user