Omnicore docs

Global Config Reference

Home

Global Config Reference

Global configuration fields, ranges, and permission modes.

Global Config (config.json)

These fields control system behavior and the defaults applied to new players.

FieldTypeDefaultRangeNotes
maxLogLinesnumber2000100 - 10000Maximum log entries stored in memory.
consoleRefreshIntervalMsnumber500100 - 5000HUD refresh rate in milliseconds.
defaultConsoleVisiblebooleantrue-Whether the console is visible for new players.
permissionModestring"none""none", "op", "custom"Controls who can access commands (see below).
defaultConsoleDisplayobject--Default display settings for all players (see Console Display page).

Valid Ranges (Clamped)

  • maxLogLines: out-of-range values reset to 2000
  • consoleRefreshIntervalMs: out-of-range values reset to 500

Permission Modes

OmniCore supports three permission modes:

ModeBehavior
"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".