diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 57c3dd6e48..5801e2e289 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -373,6 +373,14 @@ public final class CraftServer implements Server { return this.getConfigString("server-id", "unnamed"); } + public String getWorldType() { + return this.getConfigString("level-type", "DEFAULT"); + } + + public boolean getGenerateStructures() { + return this.getConfigBoolean("generate-structures", true); + } + public boolean getAllowEnd() { return this.configuration.getBoolean("settings.allow-end"); }