Help with Minecraft Server Setup and Lag
Hey everyone! I’m kinda new to Minecraft servers when it comes to setting them up. I’m borrowing a server PC from a friend right now because renting a server from is kinda expensive, especially if you need a lot of RAM and a good cpu. I thought it was pretty fun, so I want to buy my own now. One of my admins helped me set up Ubuntu Server since he knows a lot about it, but he left my team, and now I’m basically alone trying to figure out how everything works. Recently, my server randomly stopped working, so I had to restart from scratch. I managed to fix almost everything (SSH setup, firewall ports, etc.), but when I tried installing the panel, I couldn’t get it to work.
I’ve been using Windows 11 and MCSS (because my friend recommended it), but we’ve been having a lot of lag issues. My friend thinks it’s related to datapacks, but when we ran it on Ubuntu, everything was fine. I listened to him and removed all datapacks, switching to only plugins, but we’re still getting serious TPS drops. We can’t even handle more than 12 players with just a few plugins without experiencing TPS issues, even though it’s not even using much CPU or RAM.
Is this related to using Windows 11, or could there be a virus or something corrupted with the server files? I’m honestly really confused about what to do. We have around 600 members on discord waiting for a release, and I’m not sure how to fix the lag. Should I set up Ubuntu again and start from scratch with the server files, just in case something’s wrong with them? Will getting a better CPU and RAM help improve performance? Any advice on how to fix the lag and set up a stable server would be very appreciated!
14 Replies
!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 | Docs
Admincraft Canned Responses
send a spark report
but I need players to be on to try this right?
windows is a lot more heavy than linux, so yes can cause issues, "it’s not even using much CPU or RAM.
", minecraft doesnt work like that, just because theres more cpu doesnt mean it can use it
yes, but sending one while idle just gives us overall info
ok
basically make a profiler for like a minute, send link here, then make one when players are on and the tps is down
We fixed the issue with the constant low tps but sometimes it randomly drops to like below 10 and stay there for a bit
before when we used datapacks it was down around 10 all the time
make a report when the spike happen
I just have a closed beta up now with 30-40 people so it's not active at all but I can do a ping in the dc and make people join today
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
ok so, not a great plugin selection, windows isnt helping and that cpu is not good
This is just a shit pc I am borrowing from a friend rn, I am going to buy a new one soon
so that might help
at those playercounts wouldnt do selfhosting tbh
ddos protection, power, isp, hardware deprecation, routing being worse
all of those would generally end up being more expensive than a mc host