1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-11 09:05:01 +02:00

Hiding the nether options, that are going to be removed in a future release.

This commit is contained in:
KHobbits
2011-09-29 00:33:55 +01:00
parent feec946422
commit e1801d6d40
2 changed files with 4 additions and 7 deletions

View File

@@ -220,7 +220,7 @@ public class Settings implements ISettings
@Override @Override
public boolean isNetherEnabled() public boolean isNetherEnabled()
{ {
return config.getBoolean("nether.enabled", true); return config.getBoolean("nether.enabled", false);
} }
@Override @Override
@@ -362,7 +362,7 @@ public class Settings implements ISettings
if (config.getBoolean("nether.use-1to1-ratio", false)) { if (config.getBoolean("nether.use-1to1-ratio", false)) {
return 1.0; return 1.0;
} }
return config.getDouble("nether.ratio", 16.0); return config.getDouble("nether.ratio", 8.0);
} }
@Override @Override

View File

@@ -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. # 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 spawn-protection: false
# Nether settings (switch between worlds with "/world nether" and "/world normal") # Nether settings
# Sets whether the nether system is enabled, what folder to save the world in, and whether portals should teleport players between worlds. # Sets wether you want to change the default behaviour of the nether portals.
nether: nether:
enabled: false
folder: nether
portals-enabled: false portals-enabled: false
generate-exit-portals: false generate-exit-portals: false
ratio: 16
# Mob limit on spawnmob # Mob limit on spawnmob
spawnmob-limit: 10 spawnmob-limit: 10