FalconFalcon
Docs menuPerformance

Administration

Performance

Status

/status prints server performance and player figures.

Profiler

profiler on
profiler status
profiler off

/profiler off writes profiler/profile-<timestamp>.html, a self-contained report of the ticks recorded. If no tick was recorded, it reports an error.

Settings that matter

KeyWhy
view-distanceDefault 32. Sets how many chunks are generated and sent
tick-distanceDefault 4. Sets how many chunks tick around each player
max-threadsDefault 8. Worker threads
compression-thresholdDefault 1

Threads

Game state belongs to the main thread. Chunk workers and the network thread only exchange data through queues. Plugin code that uses Scheduler::async must not touch game objects from the worker: do that in the done callback.