Add Dynmap support, revert to requiring Java 17

This commit is contained in:
William committed 2022-08-26 01:18:36 +01:00
1 parent c22276908a
commit a3cf54e776
10 files changed
+337 -15

No files matched your search

@@ -217,6 +217,20 @@ public class Settings {
return Optional.empty();
}
// Mapping plugins
@KeyPath("map_hook.enabled")
public boolean doMapHook = false;
@KeyPath("map_hook.map_plugin")
public MappingPlugin mappingPlugin = MappingPlugin.DYNMAP;
@KeyPath("map_hook.show_public_homes")
public boolean publicHomesOnMap = true;
@KeyPath("map_hook.show_warps")
public boolean warpsOnMap = true;
// Disabled commands
@KeyPath("disabled_commands")
public List<String> disabledCommands = Collections.emptyList();
@@ -319,4 +333,14 @@ public class Settings {
REDIS
}
/**
* Identifies types of supported Map plugins
*/
public enum MappingPlugin {
DYNMAP,
SQUAREMAP,
PL3XMAP,
BLUEMAP
}
}