TRB Core
TRB_Core
TRB Core is not a dependency of any plugin. It is an optional shared core that lets TRB plugins talk to each other and run more efficiently, working together rather than competing for resources.
Features
- One scheduler: one per-tick callback for every connected plugin, with a shared game-thread time budget per tick (0.5 ms by default). Long jobs are time-sliced, and the scheduler pauses during world saves.
- One background worker: connected plugins hand file writes and other heavy work to one shared thread instead of each running their own. Disk writes wait until a world save has finished.
- One clock calibration: Core measures the server's timers once, and connected plugins reuse that instead of each calibrating on load.
- Shared events: player death, login, logout and world-save events, with each game hook installed only while a plugin uses it.
- Per-plugin timing:
trbcore perfshows the game-thread time each connected plugin uses. - Fully optional: plugins detect Core at runtime, in any load order, and fall back to their own code when it is missing or unloaded.
Works with every TRB plugin
Every TRB plugin supports Core but never requires it. With Core loaded, plugins hand their timers, background work and disk writes to Core instead of each running their own threads, disk writes wait until world saves finish, and they share one clock calibration. Without Core, each plugin runs on its own exactly as before.
Commands
trbcore status | Scheduler, events, worker and connected plugins |
trbcore perf | Game-thread time per plugin, clock and budget stats |
trbcore events / jobs / commands | Subscriptions, scheduled jobs and routed commands |
trbcore selftest | Built-in checks |
trbcore bench / bench result / bench stop | Short time-sliced benchmark on your server |
trbcore reload | Re-read config.json |
Configuration
Admin-only, in chat /trbcore, console and RCON. The command name, tick budget, worker, clock and shared display settings are in config.json.
Free download
Version 0.2.10
Coming soonDisclosure
Free plugins need no licence key and make no network connections.
Compatibility
- ARK: Survival Evolved (ASE): yes
- ARK: Survival Ascended (ASA): coming later
- ArkServerApi 3.56 or newer
This plugin is in final testing and will be available to download here soon.
Join the Discord to hear when it drops