Command reference for HOSTMOD V13.

HOSTMOD doesn't do anything by default—you must turn on the features that you want.


SERVER FACING

NB: All commands intended for server config use are namespaced with hm_.

HELPERS
AUTOMATION
SPECBOMB
NAMEFILTER
ENCORE
BATTLE
MOTD

The parameters below will crash with nonsense errors if you put too much text into them. This is a base game limitation that I haven't worked around yet. Sorry.

Example: hm_motd_name "\130Purple text, then \128white text!"

Color code reference: https://wiki.srb2.org/wiki/Lua#Text_colors

RESTAT
SHOUT
SCHEDULE

Example: hm_schedule 30 "echo It's been 30 seconds since you last saw this!"

VOTE
CUSTOM CHECK
CHOOSE

Examples:

hm_choose "echo a" "echo b" "echo c"
hm_chooseweighted "echo runs 1/4th of the time" 1 "echo runs 3/4ths of the time" 3
SCOREBOARD
AUTOACCEL
MAP RULES
DEBUG

PLAYER FACING

NB: No player-facing commands are namespaced, because nobody's gonna remember that shit.

RESTAT
POWERUP WARNINGS
RANDOMIZE
VOTE
AUTOACCEL
SCOREBOARD
VOTESPEC

SCRIPT FACING