Verified Commit b03ca44c authored by Yannick Schinko's avatar Yannick Schinko
Browse files

Added DefaultZoom config

And bumped version again
parent 465516ff
......@@ -6,7 +6,7 @@
<groupId>net.cubespace.dynmap</groupId>
<artifactId>Dynmap-MultiServer</artifactId>
<version>0.5.5</version>
<version>0.5.6</version>
<build>
<defaultGoal>clean install</defaultGoal>
......
......@@ -24,6 +24,7 @@ public class Main extends Config {
public Integer Webserver_WorkerThreads = 16;
public String Webserver_DefaultWorld = "world";
public String Webserver_DefaultMap = "flat";
public Integer Webserver_DefaultZoom = 2;
@Comment("Set SidebarOpened: 'true' to pin menu sidebar opened permanently, 'pinned' to default the sidebar to pinned, but allow it to unpin")
public String Webserver_SidebarOpened = "false";
......
......@@ -64,6 +64,7 @@ public class DynmapConfigJSONHandler implements IHandler {
config = new DynmapConfig();
config.setDefaultmap(mainConfig.Webserver_DefaultMap);
config.setDefaultworld(mainConfig.Webserver_DefaultWorld);
config.setDefaultzoom(mainConfig.Webserver_DefaultZoom);
config.setSidebaropened(mainConfig.Webserver_SidebarOpened);
config.setConfighash(0);
config.setTitle(mainConfig.Webserver_Title);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment