diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index a70d1b3d07..6e237be797 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -309,6 +309,10 @@ public final class CraftServer implements Server { return this.getConfigString("server-id", "unnamed"); } + public boolean getAllowEnd() { + return this.configuration.getBoolean("settings.allow-end"); + } + public boolean getAllowNether() { return this.getConfigBoolean("allow-nether", true); } diff --git a/paper-server/src/main/resources/configurations/bukkit.yml b/paper-server/src/main/resources/configurations/bukkit.yml index 1cb52851d1..3dc5707dba 100644 --- a/paper-server/src/main/resources/configurations/bukkit.yml +++ b/paper-server/src/main/resources/configurations/bukkit.yml @@ -14,6 +14,7 @@ settings: + allow-end: true spawn-radius: 16 permissions-file: permissions.yml update-folder: update