mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +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
@@ -80,6 +80,13 @@ public abstract class MapHook extends Hook {
|
||||
*/
|
||||
public abstract void clearHomes(@NotNull User user);
|
||||
|
||||
/**
|
||||
* Clears homes on a world from the map.
|
||||
*
|
||||
* @param worldName the world to clear homes from
|
||||
*/
|
||||
public abstract void clearHomes(@NotNull String worldName);
|
||||
|
||||
/**
|
||||
* Update a warp, adding it to the map if it exists, or updating it on the map if it doesn't.
|
||||
*
|
||||
@@ -99,6 +106,13 @@ public abstract class MapHook extends Hook {
|
||||
*/
|
||||
public abstract void clearWarps();
|
||||
|
||||
/**
|
||||
* Clears all warps from a world from the map.
|
||||
*
|
||||
* @param worldName the world to clear warps from
|
||||
*/
|
||||
public abstract void clearWarps(@NotNull String worldName);
|
||||
|
||||
/**
|
||||
* Returns if the position is valid to be set on this server.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user