Global Config (config.json)
These fields control system behavior and the defaults applied to new players.
| Field | Type | Default | Range | Notes |
|---|---|---|---|---|
maxLogLines | number | 2000 | 100 - 10000 | Maximum log entries stored in memory. |
consoleRefreshIntervalMs | number | 500 | 100 - 5000 | HUD refresh rate in milliseconds. |
defaultConsoleVisible | boolean | true | - | Whether the console is visible for new players. |
permissionMode | string | "none" | "none", "op", "custom" | Controls who can access commands (see below). |
defaultConsoleDisplay | object | - | - | Default display settings for all players (see Console Display page). |
Valid Ranges (Clamped)
maxLogLines: out-of-range values reset to2000consoleRefreshIntervalMs: out-of-range values reset to500
Permission Modes
OmniCore supports three permission modes:
| Mode | Behavior |
|---|---|
"none" | All players can use all commands. |
"op" | Only players in the OP group can use commands. |
"custom" | Per-command permission nodes (e.g., omnicore.console, omnicore.cmd). |
Legacy migration: If your config contains "permissions", it is automatically converted to "custom".