From 03b73072d950e58ea439ea3fe2128e378b43bba3 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Thu, 29 Sep 2011 00:33:55 +0100 Subject: [PATCH] Hiding the nether options, that are going to be removed in a future release. --- Essentials/src/com/earth2me/essentials/Settings.java | 4 ++-- Essentials/src/config.yml | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index 665da17a6..5bcbd7311 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -220,7 +220,7 @@ public class Settings implements ISettings @Override public boolean isNetherEnabled() { - return config.getBoolean("nether.enabled", true); + return config.getBoolean("nether.enabled", false); } @Override @@ -362,7 +362,7 @@ public class Settings implements ISettings if (config.getBoolean("nether.use-1to1-ratio", false)) { return 1.0; } - return config.getDouble("nether.ratio", 16.0); + return config.getDouble("nether.ratio", 8.0); } @Override diff --git a/Essentials/src/config.yml b/Essentials/src/config.yml index 13b7def41..ee956b0fc 100644 --- a/Essentials/src/config.yml +++ b/Essentials/src/config.yml @@ -79,14 +79,11 @@ reclaim-onlogout: false # Should primitive spawn protection be enabled? For most servers, this should be flase; it is better to use a third-party plugin to protect it. spawn-protection: false -# Nether settings (switch between worlds with "/world nether" and "/world normal") -# Sets whether the nether system is enabled, what folder to save the world in, and whether portals should teleport players between worlds. +# Nether settings +# Sets wether you want to change the default behaviour of the nether portals. nether: - enabled: false - folder: nether portals-enabled: false generate-exit-portals: false - ratio: 16 # Mob limit on spawnmob spawnmob-limit: 10