What are required plugins and essentials to keeping stable TPS
I am currently in route to achieving 100+ on a SMP server, i want to keep TPS STABLE or know the causes of TPS changes, we do have chunky and we have created borders so its going to be unchunk related, what are different things that cause TPS drop and ways to prevent it? I want to create a super stable server, im on up to 64 gb ram on my OWN dedicated server, the CPU is ryzen 9 5900x
104 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by lovekillin#0
any Tips, Suggested Plugins or advice to running a stable server
!optimize
You can follow these guides to optimize your server
Admincraft Canned Responses
We arent using Bungeecord or any proxy, but we are using GeyserMC
Pufferfish
For server software ^
^ or purpur if you wanna tweak more stuff
^ but most don’t need it
Pufferfish > Paper?
yup
it's based off paper
mhm
so your paper server will work perfectly with pufferfish
well, at most cases
Awesome can i get an official link to pufferfish resources?
You should follow Eternity’s guide for optimisation
I will
Make sure you always pregenerate
Pufferfish Host | Downloads - Pufferfish Fork
Download Pufferfish and Pufferfish+ Minecraft server jars
1.21 is not released yet
We did pregen lastnight, things have been stable so far, seen a few spikes, i just wanna keep it solid
nice
Consider sending spark reports when you're getting spikes
^^^
those weird lag logs
that say it isnt a crash?
oh
!spark
Spark Profiler
Spark can be used to see why your server or client is lagging.
Users can share a spark report via
/spark profiler start --timeout 300
which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support.
Download | Website | DocsAdmincraft Canned Responses
that’s not good
You can also send that
^
mclo.gs - Paste, share & analyse your Minecraft logs
Easily paste your Minecraft logs to share and analyse them.
See im out the loop
This is why im reaching out thanks ill have to get this stuff
:ThumbsUp:
is there anything abnormal here? https://spark.lucko.me/jZz58JWf0r
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❓INFO
You are using
Paper-196 (1.20.1)
. Latest currently is 1.21
.❌ Aikar's Flags
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml.
Recommended: 400.
❌ ticks-per.monster-spawns
Increase this in bukkit.yml.
Recommended: 4.
❌ spawn-limits.monsters
Decrease this in bukkit.yml.
Recommended: 15.
❌ spawn-limits.water-ambient
Decrease this in bukkit.yml.
Recommended: 5.
❌ spawn-limits.ambient
Decrease this in bukkit.yml.
Recommended: 1.
❌ spawn-limits.animals
Decrease this in bukkit.yml.
Recommended: 5.
❌ entity-activation-range.animals
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.monsters
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml.
Recommended: 12.
✅ Your server isn't lagging
Plus 36 more recommendations
Click the buttons below to see more
Requested by lovekillin#0 • Page 1 of 4
Your G1 Old is triggering, mind sending a spark heapsummary?
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
❌ Processing Error
The bot cannot process this Spark profile. This is a heap summary report.
Requested by lovekillin#0
this?
Ye
Looks like a little memory leak yup
Also consider using Pufferfish for a little perf boost on chunk ticking
If you can switch from Citizens to something like FancyNPCs or ZNPCsPlus 2.0 that would be cool too
It would totally erase the npc plugin ticking usage
Amazing eyes, i love that yall have these tools this is amazing
Is pufferfish running 1.21?
1.21? Not yet
if i do a swap is there anything i need to change?
say the versions matched up
If you meant 1.20.1
Then you can just swap it
With no issues
i meant the other, but my survival is 1.20.1 so the swap question helps
You want to upgrade to 1.21? I'm a bit slow at night 😔
No just a question
youre good
Whats the easiest way to check what versions ur server is running ?
wait found it
can you link me to pufferfish 1.20.1?
Why 1.20.1 though? Are there some plugins you are using that haven't updated?
Yeah but ill probably drop a few, pufferfish isnt 1.21 so im guessing paper spigot is the best until then
Is this exploit patched?
Should probably be using this one: https://discord.com/channels/895192260210208818/895796635894943804/1170054659902279751
I don't know
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❌ Aikar's Flags
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml.
Recommended: 400.
❌ ticks-per.monster-spawns
Increase this in bukkit.yml.
Recommended: 4.
❌ spawn-limits.water-ambient
Decrease this in bukkit.yml.
Recommended: 5.
❌ entity-activation-range.animals
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.monsters
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.villagers
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.wake-up-inactive.villagers-for
Decrease this in spigot.yml.
Recommended: 20.
❌ entity-activation-range.wake-up-inactive.flying-monsters-for
Decrease this in spigot.yml.
Recommended: 60.
❌ entity-activation-range.wake-up-inactive.villagers-max-per-tick
Decrease this in spigot.yml.
Recommended: 1.
Requested by lovekillin#0 • Page 1 of 4
wildstacker causing issues from this report? thought it was supposed to help TPS?
Paper Chan hideout
Paper chan's Little Guide to Minecraft Server Optimization!
The most complete Minecraft server optimization guide with everything you need to know about running a Paper Minecraft server plus Paper Chan!
mob stacking doesn't tend to ramp up to be worth it unless you deal with insane quantity from personal observation
some others swear by never using them at all for any use-case
Good to know
Consider moving to ZNPCsPlus.
Iirc their latest dev build works for 1.21.
It has a migrator for citizens.
Citizens is laggy.
W , the migration was holding me back due to lack of time but i can test this out on the test server today
:Gladge:
but uh
use aikar flags
It's sad ZNPCs don't look at players but I suppose that's the price to pay for performance
/npc property set <id> look <FIXED/CLOSEST_PLAYER/PER_PLAYER>
Oh huh
Thanks!
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❌ Aikar's Flags
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml.
Recommended: 400.
❌ ticks-per.monster-spawns
Increase this in bukkit.yml.
Recommended: 4.
❌ spawn-limits.water-ambient
Decrease this in bukkit.yml.
Recommended: 5.
❌ entity-activation-range.animals
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.monsters
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.villagers
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.wake-up-inactive.villagers-for
Decrease this in spigot.yml.
Recommended: 20.
❌ entity-activation-range.wake-up-inactive.flying-monsters-for
Decrease this in spigot.yml.
Recommended: 60.
❌ entity-activation-range.wake-up-inactive.villagers-max-per-tick
Decrease this in spigot.yml.
Recommended: 1.
Requested by lovekillin#0 • Page 1 of 4
java -Xms128M -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:InitiatingHeapOccupancyPercent=20 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}
( this look good? ) assuming i did the guide right
https://flags.sh
Use this instead, but remove the flag called AlwaysPreTouch from the generated ones
oh snap, flags.sh is back?
i thought it got moved to birdflops
Always has been
Birdflop’s flag generator is weird for me
the ram never updates
i could've sworn it was down for a bit, and on the page it said to go to birdflops
it did say that they were going to stop paying for the domain or something
I do remember that
then that warning just… disappeared
You could still use the site when it was there
W site
mhm
Just looking at specs under spark show my ram corrected
great
so that could help, what do yall recommend for server
view-distance
and
simulation-distance?
both to 8 rn i just dont wanna fuck up farms and stuff
Not sure whats a good point for Survival SMP
8 view 6 sim is usually fine
the despawn sphere is 8 chunks radius so if you really care about that then do 8 view 8 sim
Thank you
Our flags generator for minecraft server is still here! https://www.birdflop.com/resources/flags/
Minecraft Flags Generator - Birdflop
A simple script generator to start your Minecraft servers with optimal flags. Birdflop is a registered 501(c)(3) nonprofit Minecraft host aiming to provide affordable and accessible hosting and resources. Check out our plans starting at $2/GB for some of the industry's fastest and cheapest servers, or use our free public resources.
Thats weird. Can you try doing it again and see if it works as of right now? If not, shoot me a dm and we can try to resolve the issue for you :)
it works now .-.
but swear on my life it didn’t beforehand :LUL:
its had lots of updates since the initial release
mhm
Thats awesome haha! Yeah we had some updates on the website, so maybe one of those updates fixed the issue for you :)
they also added an alias
https://flags.birdflop.com/
Minecraft Flags Generator - Birdflop
A simple script generator to start your Minecraft servers with optimal flags. Birdflop is a registered 501(c)(3) nonprofit Minecraft host aiming to provide affordable and accessible hosting and resources. Check out our plans starting at $2/GB for some of the industry's fastest and cheapest servers, or use our free public resources.
but flags.sh still a lot easier to type
Indeed it seems easier, however, sadly flags.sh only provides aikar's flags whereas Birdflop provides flags from 8 different sources! -- and we have other options that flags.sh does not have (yet)
for sure, but aikars flags are always good enough
Yep, well either way you can't go wrong for using flags.sh-- its a great option. Just preference for the user(s)
I mean Birdflop’s generator has many more options
ZGC, Shenandoah
yeah and with duplicate flags cause they just chuck whatever on there and dont do any research or look at them
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml.
Recommended: 400.
❌ ticks-per.monster-spawns
Increase this in bukkit.yml.
Recommended: 4.
❌ spawn-limits.water-ambient
Decrease this in bukkit.yml.
Recommended: 5.
❌ entity-activation-range.animals
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.monsters
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.villagers
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.wake-up-inactive.villagers-for
Decrease this in spigot.yml.
Recommended: 20.
❌ entity-activation-range.wake-up-inactive.flying-monsters-for
Decrease this in spigot.yml.
Recommended: 60.
❌ entity-activation-range.wake-up-inactive.villagers-max-per-tick
Decrease this in spigot.yml.
Recommended: 1.
❌ entity-activation-range.wake-up-inactive.animals-for
Decrease this in spigot.yml.
Recommended: 40.
Requested by lovekillin#0 • Page 1 of 4
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❌ entity-activation-range.wake-up-inactive.monsters-max-per-tick
Decrease this in spigot.yml.
Recommended: 4.
❌ entity-activation-range.wake-up-inactive.flying-monsters-max-per-tick
Decrease this in spigot.yml.
Recommended: 1.
❌ entity-activation-range.wake-up-inactive.animals-max-per-tick
Decrease this in spigot.yml.
Recommended: 2.
❌ entity-activation-range.wake-up-inactive.monsters-for
Decrease this in spigot.yml.
Recommended: 60.
❌ arrow-despawn-rate
Decrease this in spigot.yml.
Recommended: 300.
❌ merge-radius.item
Increase this in spigot.yml.
Recommended: 4.0.
❌ merge-radius.exp
Increase this in spigot.yml.
Recommended: 6.0.
❌ chunks.max-auto-save-chunks-per-tick
Decrease this in config/paper-world-defaults.yml.
Recommended: 6.
❌ tick-rates.mob-spawner
Increase this in config/paper-world-defaults.yml.
Recommended: 2.
❌ tick-rates.container-update
Increase this in config/paper-world-defaults.yml.
Recommended: 3.
❌ tick-rates.grass-spread
Increase this in config/paper-world-defaults.yml.
Recommended: 4.
❌ entities.spawning.despawn-ranges.ambient.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
Requested by lovekillin#0 • Page 2 of 4
use znpcsplus instead of citizens
doiing that later
sorry just using this to fix my settings finally changing them
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❌ entities.spawning.despawn-ranges.water_creature.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
❌ entities.spawning.despawn-ranges.water_creature.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
❌ misc.redstone-implementation
Set this to "ALTERNATE_CURRENT" in config/paper-world-defaults.yml.
❌ chunks.entity-per-chunk-save-limit.experience_orb
Set a value in config/paper-world-defaults.yml. Recommended: 16.
❌ chunks.entity-per-chunk-save-limit.snowball
Set a value in config/paper-world-defaults.yml. Recommended: 16.
❌ chunks.entity-per-chunk-save-limit.ender_pearl
Set a value in config/paper-world-defaults.yml. Recommended: 16.
❌ chunks.entity-per-chunk-save-limit.arrow
Set a value in config/paper-world-defaults.yml. Recommended: 16.
Requested by lovekillin#0 • Page 4 of 4
sorry guys it keeps timing out on me almost finished
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❌ entities.spawning.despawn-ranges.water_creature.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
❌ chunks.entity-per-chunk-save-limit.arrow
Set a value in config/paper-world-defaults.yml. Recommended: 16.
Requested by lovekillin#0