Tips and Configuration
Tips and Configuration
Quick cpu guide configuration > http://dev.bukkit.org/server-mods/antixray/pages/cpu-configurations/
This guide was 'fast written', it may contain a lot of English mistakes, English is not my main language and I haven't spent much time searching the proper spelling of every word that I don't know.
Engine Mode
Read more about engine modes here > http://dev.bukkit.org/server-mods/antixray/pages/engine-modes/
Update Radius
The update radius is the area around the block to be updated, higher this value is, more blocks will be updated resulting in higher CPU usage.
Fake Caves
FakeCaves will generate several air packets in way to prevent 'cavefinder' usage, on engine mode 0 and 1 it might increase CPU usage, on engine mode 2 it should not make any difference.
By generating air packets, it will increase the render needed on client-side resulting in fps drop. You might wanna to increase or decrease the air packets generation, for that, change the 'intensity' value, more = more air, more CPU and more lag on client-side, less = less air, less CPU and less lag on client-side.
Darkness Obfuscation
By default this plugin will search for transparent blocks to check if will obfuscate the block or not, if darkness is enabled, the plugin will check the light level instead. This mode uses a little bit more CPU.
If you want to update blocks that have light in one of its sides, just set 'BrightOnly' to true. It should not increase CPU usage.
The 'BrightRadius' option is the area around the player to search for blocks that have light in one of its sides, higher value = more CPU.
By default, the update will be cast when the player place one of this blocks: '50, 51, 89', you can change it on 'UpdateOn'
Darkness Obfuscation can use an extra list to check the light level, by default it include the most common blocks found on caves or dungeons, you can change it on 'ExtraBlocks'
Chest Hider
If ChestHider is enabled, all chest will be invisible, once the player gets close it will turn into a chest again, this option may increase the CPU usage.
You can change how often the plugin will search for chests around the player by changing the 'Interval' value, higher values means better performance and worse gameplay.
You can also change the area around the player to search for chest, for that just change the 'Radius' value, higher value means better gameplay and worse performance.
If you wanna to increase the distance the player need to walk to search for chests again, increase the 'WalkMinimum' value, the update will only be cast if the player walks that distance. Leave it a minimum of 1 to avoid updating when the player not even moves.
If you are using engine mode 0 or 4, is good to enable the ChestHider > Obfuscated. By doing so obfuscated blocks around the player will be revealed, it will give a better gameplay.
UpdateEvents
You can enable extra events to update blocks, more events means more CPU usage but better gameplay.
If ThreadedUpdate is enable, the block update will not run in the Server main Thread, is recommended to leave it enabled to prevent this plugin from taking down your tps.
Misc Options
Under the RandomBlocks list is every block that will be used on Engine Mode 2, more blocks not always means better protection, less blocks don't mean less CPU usage. Change this list should not increase or decrease CPU usage. Never include special blocks here like chests, air, enchantment tables etc or you will lag client-side a lot.
Under the HiddenBlocks list will be every block that will became a stone by Engine Mode 0 and 1, more blocks here means worse performance.
You can disable the obfuscation for certain worlds by putting their names under 'DisabledWorlds' list, is recommended to put here every world that doesn't have ores to reduce CPU usage.