Cuberite Forum
PiChunks - Low Power Server Performance Boost - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+--- Thread: PiChunks - Low Power Server Performance Boost (/thread-3259.html)



PiChunks - Low Power Server Performance Boost - N8-Ball - 12-12-2019

PiChunks is a plugin designed to improve performance on low-power servers such as the Raspberry Pi. The plugin will scale player view distance based on both the number of players and the speed you move so that players aren't constantly generating/loading a large amount of chunks when they travel large distances, it also eases the player render distance up when a player joins so the server isn't hit with as large of a load.

Commands
-None

Settings
-Distances[] => List that determines max view distance allowed based on player numbers
-Penalties => There is a section of penalties near the top of main.lua that determine how aggressive the plugin will be in reducing render distance based on speed

The Penalties are roughly optimized for a Raspberry Pi 3B and thus are very aggressive. If you have a more powerful server, consider turning these up first.


.zip   PiChunks.zip (Size: 1.87 KB / Downloads: 1,029)



RE: PiChunks - Low Power Server Performance Boost - xoft - 12-12-2019

Great job. Would you consider hosting your plugin in a GitHub repository? That way it's easier to view the code, has history and could be adopted by the Cuberite organization, if desired.