mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Add Dynmap support, revert to requiring Java 17
This commit is contained in:
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
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user