Optimize Your Minecraft Server for Low Latency and High FPS

Optimize Your Minecraft Server for Low Latency and High FPS

Home/Blog/Optimize Your Minecraft Server for Low Latency and High FPS

Published on February 14, 2025 by PineRiver·4 min read

Introduction

If you want to ensure a smooth gaming experience on your Minecraft server, optimizing it for low latency and high TPS (Ticks Per Second) is crucial. A server with low latency ensures faster player response times, while a high TPS (ideally 20.0) means the game runs without lag. In this guide, we will go through the best methods to optimize your server for maximum performance.


1. Understanding Latency and TPS

Before you start optimizing, you need to understand the difference between latency and TPS:

To check your server’s TPS in-game, use the command:

/tps

or

/luckperms info

2. Choose the Right Hardware and Hosting

Your server's performance primarily depends on hardware. Make sure to choose a powerful hosting provider with:

At PineRiver, we offer powerful servers optimized for Minecraft.


3. Adjust server.properties for Optimal Performance

Your server.properties file contains important settings that can reduce lag.

view-distance=6
simulation-distance=4
max-tick-time=-1
use-native-transport=true
sync-chunk-writes=false

4. Use Optimized Server Software

Vanilla Minecraft servers are not optimized for performance. Instead, use optimized server software:

💡 Tip: Download the latest PaperMC version from papermc.io.


5. Install Performance-Enhancing Plugins

These plugins can help reduce lag and optimize your server:


6. Configure spigot.yml and paper.yml

For further optimization, adjust these files.

Key Changes in spigot.yml

entity-activation-range:
  animals: 16
  monsters: 24
  raiders: 48
  misc: 8
entity-tracking-range:
  players: 48
  animals: 32
  monsters: 32
  misc: 16

Key Changes in paper.yml

max-entity-collisions: 2
armor-stands-tick: false
prevent-moving-into-unloaded-chunks: true

7. Optimize Server RAM Usage

To ensure stable performance, allocate the correct amount of RAM. Use a startup command like this:

java -Xms4G -Xmx8G -jar paper.jar nogui

💡 Recommendations:

Avoid assigning too much RAM, as it can lead to inefficient garbage collection.


8. Automate Server Maintenance

Regular restarts and backups help keep the server stable.

Automatic Restart

Use a cron job to restart the server daily:

0 4 * * * /home/minecraft/restart.sh

Automatic Backups

Use a script like this:

#!/bin/bash
tar -czf /home/minecraft/backups/mc_backup_$(date +%F).tar.gz /home/minecraft/server/

Schedule it with cron to run every night.


Conclusion

By implementing these optimizations, you can reduce lag and ensure a stable server with low latency and high TPS. Use optimized server settings, install relevant plugins, and choose the right hosting for the best experience.

🚀 Ready for a powerful, optimized Minecraft server? Check out PineRiver’s hosting solutions and enjoy a smooth experience today!

Create Your Own ServerAre you ready to begin?

Start your server today and we'll give you a 25% discount on your first server. Use code NEW25 at checkout.