Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details

Scalable is a multi-purpose optimization mod for Minecraft with a focus on smoothing lag and keeping performance stable.
Scalable is suitable for almost anyone running a Fabric server with a budget. The mod works on the server, and can be installed without requiring clients to also have the mod.
You can expect an improvement to performance especially where the server was struggling/throttled before. Scalable improves performance using deferred updates on the least noticeable things (Not that you wont notice it) and more noticeable things the worse the lag is.
Note: this will not fix consistent lag and needs "breathing time" to recover
Installation
Have the latest version of Fabric Loader and Fabric API, drop the mod into your mods folder.
Configuration
By default we're capping at 50 mspt. It is currently not possible to change this but should be in future.
Plans to add an automatic mode in future.
How does scalable work?
The mod should be mostly vanilla. However the section below is here in the event this breaks something, and now you can check it.
Entities are ticked normally first (plans to include entities in future)
First,
- Determine which chunks are loaded by which players
- Process 1 chunk per player in round-robin until the tick reaches 50ms
- Defer the remaining tickables to the next tick
Deferred chunks are processed first in the next tick before new chunks.
We are loading new chunks after usual ticking (which is the reverse order of vanilla), then deferring any updates from that new chunk to the next tick. This is so normal ticking is prioritized over chunk loading. We essentially have 50ms per tick to do chunk ticking and we pause after that time has passed.
Currently entities are not included. If you have enough lag from entities this could still end up below 20TPS (until entities are added)



