summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-09-29 00:33:55 +0100
committerKHobbits <rob@khobbits.co.uk>2011-09-29 00:33:55 +0100
commit03b73072d950e58ea439ea3fe2128e378b43bba3 (patch)
tree652d38a858c55240c4c5e0a4fa262b0ebdcbcf13
parentee00fb77d0569aba9b3e666df3f178f2ddd8e196 (diff)
downloadEssentials-03b73072d950e58ea439ea3fe2128e378b43bba3.tar
Essentials-03b73072d950e58ea439ea3fe2128e378b43bba3.tar.gz
Essentials-03b73072d950e58ea439ea3fe2128e378b43bba3.tar.lz
Essentials-03b73072d950e58ea439ea3fe2128e378b43bba3.tar.xz
Essentials-03b73072d950e58ea439ea3fe2128e378b43bba3.zip
Hiding the nether options, that are going to be removed in a future release.
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java4
-rw-r--r--Essentials/src/config.yml7
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