-
Notifications
You must be signed in to change notification settings - Fork 0
Server Performance
Slimefun is a large gameplay platform. Machines, Cargo, energy networks and addons can create a lot of scheduled work, so performance should be managed with measurements rather than guesses.
Slimefun Legacy is maintained primarily for Paper 26.2 / Minecraft 26.2 with Java 25.
Before changing configuration, determine what is actually expensive.
Useful tools include:
-
/sf timingsfor Slimefun-focused timing information - spark for server-wide profiling
- Paper's own diagnostics
-
/sf doctor runtimefor Legacy runtime health -
/sf versionsfor installed Slimefun addons and compatibility markers
A red startup task does not automatically mean the server has an ongoing tick problem. Look for work that repeats while players are online.
Do not use Bukkit/Spigot-style /reload to install, update or repair Slimefun.
Slimefun and many of its addons maintain inventories, schedulers, listeners, databases and machine state that are not designed to survive arbitrary plugin reloads.
Stop and restart the server normally.
Large Cargo and energy networks can be much more expensive than several smaller purpose-built networks.
Prefer:
- short, understandable paths
- separate factories for unrelated production chains
- local storage buffers
- fewer unnecessary connector nodes
- reasonable network limits
See Cargo Networks and Energy Networks.
A server with twenty addons is not simply "Slimefun plus more items." Every addon can introduce its own:
- ticking machines
- database work
- entity scanning
- chunk access
- Cargo hooks
- energy logic
- GUIs
- external dependencies
If a profile points at an addon, test that addon separately before changing the core.
Use:
/sf versions
/sf doctor compatibility
/sf doctor dependencies
/sf doctor runtime
Factories spread across many chunks are harder to reason about and can interact poorly with chunk loading.
For production builds:
- keep tightly coupled machines near each other
- avoid intentionally forcing huge areas to stay active unless necessary
- do not assume an unloaded destination can safely participate in a transaction
- investigate chunk loaders provided by addons separately
Slimefun Legacy includes chunk-safety work intended to avoid unsafe Cargo, energy and machine behavior around unloaded locations.
Slimefun exposes settings related to machine/network timing and network size. Lower-frequency work can improve performance, but excessive delays make factories feel broken.
Change one thing at a time and compare profiles before and after.
Keep a copy of the previous configuration so the change can be reversed.
For a large server, a production upgrade should look like this:
- Back up worlds, Slimefun data, databases and addon data.
- Copy the server or representative data to staging.
- Install the candidate Slimefun Legacy build.
- Review startup logs.
- Run Doctor diagnostics.
- Test representative machines, Cargo, energy, backpacks and addons.
- Profile the staging server under load when possible.
- Only then update production.
Slimefun Legacy can isolate repeatedly failing machine callbacks rather than allowing one bad ticker to continuously hammer the server.
Use runtime Doctor commands to inspect and retry isolated machine behavior after the underlying problem is understood.
Folia changes scheduler and region-ownership rules. It should not be installed merely because a server is experiencing lag.
Slimefun Legacy's Folia support remains experimental, and every installed addon also needs to be Folia-safe.
When TPS or MSPT suddenly worsens:
- Capture a spark profile during the problem.
- Check
/sf timings. - Check recently added or updated addons.
- Look for oversized Cargo/energy networks.
- Look for a single pathological machine or chunk.
- Review
/sf doctor runtimeand/sf versions. - Compare against the last known-good build/configuration.
- Reproduce on staging before making destructive changes.
Slimefun Legacy — an unofficial community-maintained downstream Slimefun 4 fork for modern Paper servers.
Home · Install · Addons · Troubleshoot · Developer Guide
Legacy-maintained pages override inherited reference material. Classic Slimefun4 wiki content is adapted from Slimefun/Wiki under the MIT license; see Upstream Wiki Attribution.
Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.
- Weapons
- Items
- Food
- Basic Machines
- Resources
- Tools
- Armor
- Magical Armor
- Magical Items
- Magical Gadgets
- Talismans
- Technical Components
- Miscellaneous
- Energy & Electricity
- GPS
- Technical Gadgets
- Programmable Androids
- Cargo Management
- Seasonal Categories
- Research & Progression
- Energy Networks
- Cargo Networks
- Factory Design Patterns
- Backpacks & Storage
- Radiation & Reactors
- Glossary