I had shared this configuration to address general lag and memory issues for Aternos survival servers running in 1.16, in early 2020.
Since then, Aternos servers became significantly faster (for me at least), to the point where 1.17 servers now run smoother, even without optimizations that could disrupt gameplay.
If you wish to squeeze out most of the performance of your server, read this instead.
(Make sure your server is shut off.
Backup your server, just in case.)
• Install PaperMC on your server.
• Install the plugin EntityTrackerFixer
- Download the latest version.
• Install the plugin ClearLag (A configuration will disable item removal.)
- Install the latest supported version.
(Do not start your server until you finish Step 2)
• Go to Files > server.properties.
• Set view-distance to 3 (Or 4, if you are just playing with a few friends), and save.
(↑ Read the bottom text to ensure that you are turning the right setting, even if your page is not in English.)
• Check if online-mode is ticked green if your server was cracked.
• If you have finished above instructions, Start your server, then stop it when its online. This will allow new configuration files to be built.
• Open Files > bukkit.yml
• Open and copy all text in https://pastebin.com/raw/GYbJNYbr
• Go back and select all text in your bukkit.yml, then paste.
• Save the file.
• Open Files > paper.yml
• Open and copy all text in https://pastebin.com/raw/hmHEHfFY
• Go back and select all text in your paper.yml, then paste.
• Save the file.
• Open Files > plugins > ClearLag > config.yml
• Open and copy all text from one of these links:
- https://pastebin.com/raw/P8kE6bfc
(Low gameplay impact, no item autoclear)
OR
- https://pastebin.com/raw/usWnDnWj
(High entity control, breaks riptide & elytra flight, item autoremoval)
• Go back and select all text in ClearLagg's config.yml, then paste.
• Save the file.
(The default config is okay, but this is for squeezing out the most performance for servers in view-distance=3)
• Open Files > plugins > EntityTrackerFixer > config.yml
• Find and set the following values:
- tps-limit: 20
- tracking-range: 26
• Save the file.
Changes will take effect when you restart the server.
Avoid using /reload
______________________________
Links:
https://paper.readthedocs.io/e…server/configuration.html
https://www.spigotmc.org/threa…mization%E2%9A%A1.283181/
https://www.spigotmc.org/resou…6-2-entitytick-lag.70902/https://bukkit.fandom.com/wiki/Bukkit.yml
Tools used:
Aikar's /timings
ClearLagg /lagg performance
ClearLagg /lagg memory
Pastebin