Is there a way or mod to limit the player speed? Fabric 1.20.1
Some of my players have to much speed, and load chunks to fast and i want to limit that
24 Replies
Thatβs not the solution. Pregenning is
Use chunky
!chunky
Resource: Chunky
Chunky is a plugin/mod that will generate chunks in a defined radius as if you just visited it yourself. The process will temporarily use up more memory and a high percentage of your CPU as it creates the chunks in server memory and this process can be taxing on the server's resource.
If you've setup a worldborder, start with by typing
/chunky worldborder
. Otherwise, you can set a radius using /chunky radius <num>
. Then run /chunky start
.
It is a good idea to let this run with no players online. If your server does crash, just start it back up and /chunky resume and it should pick back up where it left off.
Once it tells you that the task is finished, you may remove the chunky folder if any was created and the Chunky jar from your server. Although this isn't required and you may end up needing to do more pre-generation in the future
Note: you can use /chunky quiet 60
to make the progress report only be shown every 60 seconds
Download | WikiAdmincraft Canned Responses
i CANT pre gen 100k blocks
100k blocks is nothing
You have a 16x16 chunk, that means 256 blocks per layer
And if the chunk is filled for 80 layers, you have 20k blocks per chunk
So 100k blocks is 5 chunks or so
I mean 100k blocks FROM 00
Distance
Chunky generates in units of chunks, not blocks. Do you mean chunks?
But all of that amounts HEAVYLY to my server memory
Well, how much do you have?
200gb
With 8k in overworld, and 5k in nether and end I already have 70gb
Like I said loading 100k blocks in every direction is not a solution
even that wont be a solution since some players want to reach the farlands
What? My world is 40gbs (iirc) with a 20k pregen radius in the overworld. How did you manage that size
Well just use borders then
Not an option either
Are farlands still a thing? Just curious
In the newer versions*
As I said, I'm not looking for a solution to the distance or chunks problem, I'm looking for a way to limit the speed.
Not really
Sooo why not just tell them the truth
There's only one world border now, but they call it farlands by custom, I guess.
They know it XDDD they just want to get there
So is your issue storage usage or cpu usage?
From storing the generated chunks or from generating them
AFAIK there is not a widespread way of doing that, so youβd probably be looking at alternatives
CPU usage, loading so many chunks so fast, with a custom Nether has managed to slow the server several times
Interesting, so they are traveling in the nether?
Yes
Thatβs fair, most of the custom nether packs Iβve seen arenβt great.
With that said, I donβt know of a solution that really addresses this issue, unless you are willing to upgrade your hardware
You could possibly get a dev to make a mod just for this, but Iβm pretty sure public solutions does not exist
I have some logs of the moment, maybe I have misinterpreted the error
You could send a spark then
/spark profiler start βtimeout 300
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
@Alvarete666 AnarchyExploitFixes has customizable speed limits