Server, HTTP and logging
Server-wide services, tick timings, outgoing HTTP and logging.
| Type | Kind | Description |
|---|---|---|
Http |
class | HTTP(S) for plugins. |
Log |
class | Global logger (prefix “[scripting]”). |
Logger |
class | Writes to the server log (native logger), prefixed with the plugin name. |
LogLevel |
enum | Log severity. |
Server |
class | Server-wide services: the tick clock, the online players, the worlds and broadcast messages. |
TickTimes |
struct | The engine’s tick time over a window of ticks (Server.TickTimes): average (MSPT), max, p95 and p50 in milliseconds, the ticks per second over the window’s length, and the last tick. |