Mob AI Optimization

On a paper server (1.21.4), is there a good way to limit mob AI in a way that saves on server performance without messing with gameplay too much? I've looked into messing with activation ranges and max collisions, but I was hoping there was something that was more specific to mob AI. Villagers are the biggest offender due to trading halls.
21 Replies
Eismeister
EismeisterOP7d ago
Here's a Spark report for more context: https://spark.lucko.me/LAPeHZikk3
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Chibi Bot Admincraft
📋 Spark profile attached:
𝐁𝐢𝐪𝐮𝐚𝐭𝐞𝐫𝐧𝐢𝐨𝐧𝐬
Not sure if it was pufferfish or purpur which had villager optimizations, let me check
Eismeister
EismeisterOP7d ago
Yeah we used to run pufferfish but they still haven't updated to the latest version sadly
𝐁𝐢𝐪𝐮𝐚𝐭𝐞𝐫𝐧𝐢𝐨𝐧𝐬
Try purpur They have an option to lobotomize villagers
MachineBreaker
:villagerthink:
Eismeister
EismeisterOP7d ago
Is purpur a good fit for a vanilla server? I know it has a lot of extra stuff
Error110
Error1107d ago
try just pufferfish if you dont want purpurs other options
Error110
Error1107d ago
o isnt puffer 1.21.4 yet? rip
Error110
Error1107d ago
ye just use purpur then rip pufferfish my beloved
𝐁𝐢𝐪𝐮𝐚𝐭𝐞𝐫𝐧𝐢𝐨𝐧𝐬
I don't think bukkit itself is made for vanilla tbh purpur is in theory the same as puffer but with a lot of configurations
Error110
Error1107d ago
im not gonna lie @Eismeister for your type of server I think fabric might be better
MachineBreaker
For even less performance? :pepepray:
Error110
Error1107d ago
no better fabric runs better for his usecase hes doing pure vannila setup with fabric preformance mods would do better I belive
Eismeister
EismeisterOP7d ago
We have anticheat, anti-xray, etc. so there could be some issues there if they can't run on fabric We used to use a plugin called FarmControl back in the day, but it hasn't updated in almost a year
Error110
Error1107d ago
ye if you want to stay on spigot use purpur so you can use pufferfish dab and its lobotomize villagers also lower simulation distence and better optimise your server https://github.com/YouHaveTrouble/minecraft-optimization
GitHub
GitHub - YouHaveTrouble/minecraft-optimization: Minecraft server op...
Minecraft server optimization guide. Contribute to YouHaveTrouble/minecraft-optimization development by creating an account on GitHub.
Error110
Error1107d ago
oh you have pufferfish config did u used to use before? true fabric is good if you are doing a vannila experiance with his cpu and player range could increase pref

Did you find this page helpful?