-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Feature request
Many people have requests a feature, which limits the generation speed of chunky in order to be able to let it run in the background whilst players are on the server, without it affecting their gameplay. I think this is a sensible feature to support considering the high demand for it.
Proposed changes
My idea would be the introduction of a new subcommand for /chunky:
/chunky maxspeed 30 -- limits the max generation speed to 30 CPSImplementation details
From a technical standpoint, this could be accomplished by generating the first, in this example, 30 chunks, taking the time it took (a.e. 0.2s), and adding slight delays before dispatching generation tasks. I am not a chunky internals expert, so this might not be feasible without a rewrite to some degree, but I think many people would appreciate a limiter of this type.
EDIT: Preferably this would only limit the generation of new chunks, not limit the speed at which existing chunks are "touched".