Commands
Commands below use the default names from configs/main.lua. If you renamed them in Main config, use your names instead.
| Command | Who can use | What it does | Usage |
|---|---|---|---|
/settings (default) | Everyone | Opens the HUD settings UI (toggle parts of the HUD, drag layout). | /settings — or the name you set in settingsCommand |
/announce (default) | Players in allowedGroups for announceCommand | Broadcasts a server-wide announcement banner to all players. | /announce Your message here |
/teamchat / /tc (defaults) | Players in allowedGroups for teamChatCommand | Sends a staff-style message as a notification to everyone who shares those groups. | /teamchat Hello team or /tc Hello team |
/ids (default) | Everyone (stock script) | Shows nearby players’ names in a notification, or a message if nobody is in range. | /ids |
/ooc (default) | Everyone (stock script) | Local out-of-character chat: notifies players near you. | /ooc Your message |
Ranges for /ids and /ooc
idsCommand.radius— how far the/idscommand looks for other players (meters).oocCommand.radius— intended OOC range in config. Current behavior: the server script uses the same radius asidsCommandwhen gathering nearby players for OOC. See Main config.
Disabling commands
Set enabled = false inside the matching block in configs/main.lua for announce, team chat, IDs, or OOC. Restart ols_hud after saving.
Locale text
Titles and bodies for announce, team chat, IDs, and OOC use locales/*.json. Edit those files to change wording — see Locales & data files.
Last updated on