Set defalt NetworkOptimize option to false. DO NOT ENABLE THIS FUNCTION IF YOUR SERVER DOESN'T STOP BECAUSE OF LAGGING. This function triggers optimization for network when memory usage is too high or cpu usage is to high. It will lower the tps to 1~5, you can use /stopoptimize to stop the protection if you enabled the function and triggers optimization.
Added command: /stopoptimize. You can use it when you enabled Network Optimization. Will stop the optimization immediately.