From abf1e451505bce07fff2b8f06a7cf6e3e463a553 Mon Sep 17 00:00:00 2001 From: Spanner_Man Date: Thu, 3 Dec 2015 05:55:03 +1100 Subject: [PATCH] Optimized spigot.yml settings These settings are usually the best for Cauldron based servers. Anti-Xray does not work with Cauldron. Other changes are made to prevent the need for Anti-Lag or Clear Lag type plugins and mods Signed-off-by: Spanner_Man --- .../java/org/spigotmc/SpigotWorldConfig.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java index a9ab410..6e71d45 100644 --- a/src/main/java/org/spigotmc/SpigotWorldConfig.java +++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java @@ -115,14 +115,14 @@ public class SpigotWorldConfig public double itemMerge; private void itemMerge() { - itemMerge = getDouble("merge-radius.item", 2.5 ); + itemMerge = getDouble("merge-radius.item", 4 ); log( "Item Merge Radius: " + itemMerge ); } public double expMerge; private void expMerge() { - expMerge = getDouble("merge-radius.exp", 3.0 ); + expMerge = getDouble("merge-radius.exp", 6 ); log( "Experience Merge Radius: " + expMerge ); } @@ -140,9 +140,9 @@ public class SpigotWorldConfig log( "Mob Spawn Range: " + mobSpawnRange ); } - public int animalActivationRange = 32; - public int monsterActivationRange = 32; - public int miscActivationRange = 16; + public int animalActivationRange = 8; + public int monsterActivationRange = 10; + public int miscActivationRange = 2; private void activationRange() { animalActivationRange = getInt( "entity-activation-range.animals", animalActivationRange ); @@ -182,7 +182,7 @@ public class SpigotWorldConfig public boolean randomLightUpdates; private void lightUpdates() { - randomLightUpdates = getBoolean( "random-light-updates", false ); + randomLightUpdates = getBoolean( "random-light-updates", true ); log( "Random Lighting Updates: " + randomLightUpdates ); } @@ -201,14 +201,14 @@ public class SpigotWorldConfig public int itemDespawnRate; private void itemDespawnRate() { - itemDespawnRate = getInt( "item-despawn-rate", 6000 ); + itemDespawnRate = getInt( "item-despawn-rate", 3000 ); log( "Item Despawn Rate: " + itemDespawnRate ); } public int arrowDespawnRate; private void arrowDespawnRate() { - arrowDespawnRate = getInt( "arrow-despawn-rate", 1200 ); + arrowDespawnRate = getInt( "arrow-despawn-rate", 120 ); log( "Arrow Despawn Rate: " + arrowDespawnRate ); } @@ -219,7 +219,7 @@ public class SpigotWorldConfig public AntiXray antiXrayInstance; private void antiXray() { - antiXray = getBoolean( "anti-xray.enabled", true ); + antiXray = getBoolean( "anti-xray.enabled", false ); log( "Anti X-Ray: " + antiXray ); engineMode = getInt( "anti-xray.engine-mode", 1 ); @@ -275,7 +275,7 @@ public class SpigotWorldConfig public int maxCollisionsPerEntity; private void maxEntityCollision() { - maxCollisionsPerEntity = getInt( "max-entity-collisions", 8 ); + maxCollisionsPerEntity = getInt( "max-entity-collisions", 2 ); log( "Max Entity Collisions: " + maxCollisionsPerEntity ); }