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:
William authored and GitHub committed 2023-08-28 16:31:48 +01:00
1 parent e2c9a52911
commit 6bfd69f232
38 files changed
+1161 -692

No files matched your search

@@ -107,6 +107,12 @@ up_to_date: '[HuskHomes](#00fb9a bold) [| You are running the latest version of
update_available: '[HuskHomes](#ff7e5e bold) [| A new version of HuskHomes is available: v%1% (running: v%2%).](#ff7e5e)'
importer_list_title: '[HuskHomes](#00fb9a bold) [| Available Data Importers:](#00fb9a)\n'
importer_list_item: '[%1%](#00fb9a show_text=&#00fb9a&Click to import data through this importer. suggest_command=/huskhomes:huskhomes import start %1%) [⏩ %2%](white show_text=&#00fb9a&This importer supports importing:\n&f%2% suggest_command=/huskhomes:huskhomes import start %1%)'
delete_player_confirm: '[Warning:](#ff3300) [Are you sure you want to delete all of %1%''s data?](#ff7e5e)\n[All associated homes will also be deleted. This action is irreversible.](gray)\n[→](gray) [[Confirm]](#ff3300 show_text=&#ff3300&Click to confirm deletion. This cannot be undone. run_command=/huskhomes:huskhomes delete player %1% confirm)'
delete_player_success: '[Successfully deleted all player data for](#00fb9a) [%1%](#00fb9a bold)[, including %2% home(s).](#00fb9a)'
bulk_delete_warps_confirm: '[Warning:](#ff3300) [Are you sure you want to delete all warps in world \"%1%\"?](#ff7e5e)\n[This action is irreversible.](gray)\n[→](gray) [[Confirm]](#ff3300 show_text=&#ff3300&Click to confirm deletion. This cannot be undone. run_command=/huskhomes:huskhomes delete warps %1% %2% confirm)'
bulk_delete_warps_success: '[Successfully deleted](#00fb9a) [%1%](#00fb9a bold) [warps.](#00fb9a)'
bulk_delete_homes_confirm: '[Warning:](#ff3300) [Are you sure you want to delete all homes in world \"%1%\"?](#ff7e5e)\n[This action is irreversible.](gray)\n[→](gray) [[Confirm]](#ff3300 show_text=&#ff3300&Click to confirm deletion. This cannot be undone. run_command=/huskhomes:huskhomes delete homes %1% %2% confirm)'
bulk_delete_homes_success: '[Successfully deleted](#00fb9a) [%1%](#00fb9a bold) [homes.](#00fb9a)'
error_no_importers_available: '[Error:](#ff3300) [No importers are currently available. Please check the](#ff7e5e) [plugin docs](#ff7e5e italic show_text=&#ff7e5e&Click to open link open_url=https://william278.net/docs/huskhomes/importing-data) [for more details.](#ff7e5e)'
error_invalid_importer: '[Error:](#ff3300) [Invalid importer. Please check the](#ff7e5e) [plugin docs](#ff7e5e italic show_text=&#ff7e5e&Click to open link open_url=https://william278.net/docs/huskhomes/importing-data) [for more details.](#ff7e5e)'
error_home_name_taken: '[Error:](#ff3300) [You already have a home set with that name.](#ff7e5e)'