back to list

Lagtrack buildin handler

General

Author 2called-chaos
Source vendor/handlers/_buildin/lagtrack
Commands !lagtrack
Description This handler keeps track of (and optionally notifies players about) minecraft server lag.
Notes
  • Adds one model/database table LagtrackLog/lagtrack_logs
  • Announces lag to all players by default.

!lagtrack

Usage:!lagtrack
Action:Shows you a summary of lags for the last hour.
Default ACL:member

Help

Usage:!lagtrack help
Action:Shows you a list of available lagtrack commands.
Default ACL:member

Logbook

Usage:!lagtrack log [-w <world>] [-m <max_entries=42>]
Action:Gives you a book with recent incidents.
Default ACL:mod
Options:
-w <world>
Only show entries for given world
-m <max_entries=42>
Limit entries (default 42 = 3 pages)

Announce

Usage:!lagtrack announce [<target>/false]
Action:Shows or updates the target which gets notified when lag occurs.
Default ACL:admin

Statistics

Usage:!lagtrack stat [-w <world>] [-d <days>|-h <hours=12>]
Action:Shows you a log summary for the given world and period.
Default ACL:mod
Options:
-w <world>
Only use entries for given world
-d <days>
Limit entries (if given -h will be ignored)
-h <hours=12>
Limit entries (default 12 hours)