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

@@ -113,6 +113,13 @@ public class BlueMapHook extends MapHook {
}
}
@Override
public void clearHomes(@NotNull String worldName) {
if (publicHomesMarkerSets != null) {
publicHomesMarkerSets.get(worldName).getMarkers().clear();
}
}
@Override
public void updateWarp(@NotNull Warp warp) {
if (!isValidPosition(warp)) {
@@ -143,6 +150,13 @@ public class BlueMapHook extends MapHook {
}
}
@Override
public void clearWarps(@NotNull String worldName) {
if (warpsMarkerSets != null) {
warpsMarkerSets.get(worldName).getMarkers().clear();
}
}
@Nullable
private String getIcon(@NotNull String iconName) {
return BlueMapAPI.getInstance().map(api -> {