A lot of larger servers have problems with Craftbukkit, specifically with terrible ticks per second, which causes lag in game, and ruins the PVE and PVP experience for players.
CraftBukkit++ is an optimized build of Craftbukkit, with performance enhancements in mind. These enhancements are all configurable via the bukkit.yml file in your server folder.
I will attempt to keep CraftBukkit++ up to date with the official repository, but a lag of 24 hours is likely.
How CraftBukkit++ works:
Optimized Growth/Decay
Growth and Decay (Wheat, saplings, leaf decay, etc) are the single biggest tax on servers. For an understanding why, a 15x15 chunk area, with the player at the center is checked for growth each server tick.
Vanilla growth area:
Green squares are
chunks checked for growth each tick. That's a lot. And this is
per-player.
Modified growth area:
Oh,
pretty colors. But what does it mean? The Red chunk (the one the player is standing in) will always experience growth/decay. This means that players won't be surprised by leaves not decaying, etc.
The green chunks show likely growth areas. Instead of always searching nearby chunks, the server only grows/decays in a specific number of chunks each tick. The amount is in your config. If you have 200+ players, I recommend 1000. If you have less, increase that number. More chunks = more lag, but faster growth. You will need to experiment to find a happy medium.
Anyway, likely growth areas *may* grow and decay, but are not certain. They will only grow/decay if the server has enough leftover chunks to check.
HOW MANY CHUNKS SHOULD YOUR SERVER USE?
Depends on the size. If you are a 50 man server or less, try 2500 chunks. If you are a 100 man server, try 1500 chunks. 200 man, 750. I don't advise going below 500. If you use zero, or less than zero,
GROWTH WILL BE DISABLED.
Optimized ItemStacks:
Items near each other and of the same type and data will automatically merge into an itemstack, to save on calculations. This can drastically cut down on CPU, because each itemstack floating in the world can use the same time as a zombie or skeleton might. Merging them together will drastically reduce the amount of items on your server, and save memory and CPU.
XP orbs will also merge, like items do, by combining xp.
The radius at which items will merge together is in the config. If the radius
Klicke in dieses Feld, um es in vollständiger Größe anzuzeigen.