How to Optimize Your Server
1. Use PaperSpigot Switching to PaperSpigot from Vanilla Minecraft is highly recommended due to its focus on performance, stability, and advanced features. Learn more about PaperSpigot here.
2. Optimize Startup Flags Startup flags enhance server performance by improving garbage collection, memory usage, and overall optimization. Consider using "Aikar's Flags," a set of JVM flags specifically designed for Paper servers.
Check out this guide on changing server startup parameters (Aikar's Flags) for step-by-step instructions.
3. Pre-Generate Your World Minecraft worlds are essentially limitless, so it's a good idea to set up a world border and pre-generate your map. This prevents new chunks from generating, which significantly improves performance.
For detailed instructions, read this guide on pre-generating your world using the Chunky plugin.
4. Adjust Server Properties
If youโre experiencing lag, consider lowering the view-distance
and simulation-distance
settings in your server.properties
file. Reduce these values by increments of 2 and test the results.
5. Install Performance Mods For servers running Fabric or Forge, you can boost performance by installing these mods:
6. Add Performance Plugins Enhance server performance further by adding these plugins:
7. Schedule Daily Restarts To prevent server overload from extended uptime and memory-intensive tasks, schedule automatic restarts.
Follow this guide on setting up automatic schedules for step-by-step instructions.
For additional optimization tips, refer to this SpigotMC server optimization guide.
Last updated
Was this helpful?