Small tweaks

master
Aleksey-Terzi 2016-06-26 21:10:47 +03:00
parent 09124c32d2
commit 5e8917f029
2 changed files with 10 additions and 4 deletions

View File

@ -56,7 +56,6 @@ public class OrebfuscatorConfig {
public static int EngineMode = 2;
public static int InitialRadius = 1;
public static int UpdateRadius = 2;
public static int OrebfuscatorPriority = 1;
public static boolean UseWorldsAsBlacklist = true;
// Darkness
@ -436,7 +435,6 @@ public class OrebfuscatorConfig {
ProximityHiderID = getMaterialIdByPath("Integers.ProximityHiderID", ProximityHiderID);
ProximityHiderEnd = clamp(getInt("Integers.ProximityHiderEnd", ProximityHiderEnd), 0, 255);
AirGeneratorMaxChance = clamp(getInt("Integers.AirGeneratorMaxChance", AirGeneratorMaxChance), 40, 100);
OrebfuscatorPriority = clamp(getInt("Integers.OrebfuscatorPriority", OrebfuscatorPriority), Thread.MIN_PRIORITY, Thread.MAX_PRIORITY);
UseProximityHider = getBoolean("Booleans.UseProximityHider", UseProximityHider);
UseSpecialBlockForProximityHider = getBoolean("Booleans.UseSpecialBlockForProximityHider", UseSpecialBlockForProximityHider);
UseYLocationProximity = getBoolean("Booleans.UseYLocationProximity", UseYLocationProximity);

View File

@ -12,9 +12,17 @@ commands:
/<command> engine <1/2> - Set engine mode to 1 or 2
/<command> initialradius [number] - Set Initial Radius
/<command> updateradius [number] - Set Update Radius
/<command> airgen [number] - Set AirGeneratorMaxChance value
/<command> <proximity|proximityhider> [number] - Set ProximityHiderDistance value
/<command> reload - Reload from config
/<command> status - Show plugin status
/<command> clearcache - Clear all cached chunks
/<command> <enable/disable> - Toggle plugin state
/<command> <enable/disable> world <worldname>
/<command> <enable/disable> <op/perms/cache/axr/notification>
/<command> <enable/disable> darknesshide - Toggle Darkness obfuscation
/<command> <enable/disable> op - Toggle Ops No-Obfuscation
/<command> <enable/disable> <perms|permissions> - Toggle Permissions No-Obfuscation
/<command> <enable/disable> cache - Toggle cache usage
/<command> <enable/disable> axr - Toggle AntiTexturePackAndFreecam
/<command> <enable/disable> notification - Toggle Login Notification
/<command> <enable/disable> <worldname> - Toggle world's obfuscation
/<command> use <blacklist/whitelist> - Toggle if Worlds list is using as blacklist or whitelist