nolagg-common

Introduction

The common component offers several on-command utilities that can be used separate from all other components. These are:

Clear(all)

Clear entities from the world you are on, or use clearall to clear from all worlds. After /lag clear you can put the entity types to remove. Categories such as 'minecart', 'mob', 'animal', 'monster' or 'item' all function as well.

Resent chunks

Resends all chunks to the player. In case you are stuck in a 'chunk hole' or if your client ran out of sync with the server, you can use /lag resend to resend all chunks, including all signs and entities inside them.

Garbage collect

To garbage collect server memory (that is, free memory not used by the server) you can use /lag gc. Note that this operation is fairly slow, and it's recommended to set up Java to do it automatically instead of manually cleaning it yourself now and then.

Clean the server

As requested, you can now unload all chunks that can be unloaded using /lag clean. After this unloading, it shows all chunks that could not be unloaded including the reason why. This helps to find out what plugin is keeping so many chunks loaded. After this, it starts saving all world data to disk. Unlike save-all which merely schedules chunks for saving, with clean you actually force the server to write everything to disk to free memory. After all of this, the server memory is garbage collected (similar to the command /lag gc) and it shows how much memory was freed. Output of the clean command


Comments

Posts Quoted:
Reply
Clear All Quotes