Half-Life Dedicated server (HLDS) commands

 

NOTE: These commands can ONLY be executed via the HLDS
server console, OR by a player with RCON access.

Note: all HLDS commands for NeoTF begin with the " ntfsv_ " prefix.


--- Client Exec ---
"ntfsv_exec <player> <command>" , Make a player execute the specified command(s).
"ntfsv_execteam <team> <command>" : execute client command on all players on specified team (1- 4).
"ntfsv_execall <command>" , execute the specified command(s) on all players.

NOTE: all admin/server EXEC commands are checked for certain forbidden
commands (unbindall etc.) and are refused if one is found.

NOTE: Enclose ALL player names and commands in quotes " "
especially if there are spaces in the names or commands.
e.g ntfsv_exec "New Name" "jointeam 2"
e.g ntfsv_execteam 1 "say neodate"


--- HLDS Admin-type commands ---
"ntfsv_command lightstyle <string>" : Set map lightstyle to specified alphabetical string
"ntfsv_command lightstyle" : Reset map lightstyle to default.
"ntfsv_command glow_all (r g b)" : Make players glow specified color
( use 0 0 0 as color to turn off glow).
"ntfsv_command neodate_all" : Run the neodate command on all players.
"ntfsv_command neotime_all" : Run the neotime command on all players.
"ntfsv_command cure_all" : Cure all players of Plague or medic infections.
"ntfsv_command plague_all" : Give all players a Plague infection.
"ntfsv_command screenfade_all (r g b) <alpha>" : Cause a screenfade of the specified color
(red, green and blue) and intensity (alpha).
(Enter 0 0 0 as color and 255 as intensity for
a total blackout effect ).
"ntfsv_command mp3_all <playtype> <track number>" : Play HL MP3 tracks to all players.
"ntfsv_command mp3_all stop" : End the current track playing (if any) for all players.


--- Server Center Say ---
"ntfsv_csay (msg) (rgb)" : Server prints specified colored HUD message to all players.
"ntfsv_csay (msg)" : Server prints default green HUD message to all players.


--- Teamlist ---
"ntfsv_teamlist" (type): List number of players on each team, including spectators.
e.g. "ntfsv_teamlist 1"

--- Safe Remove ---
"ntfsv_removeent <classname>" : Safely remove almost all NeoTF spawned entities.
e.g. ntfsv_removeent "cycler"


--- Map Entity Creation ---
Special Commands: "ntfsv_create <type name> [ ...parameters ]",
see ntf_admin_commands.txt file for HLDS
spawn commands for each entity.

Note: all Creation commands begin with the "ntfsv_create" prefix.
e.g. ntfsv_create ntf_barnacle -245 0 -100

Note: Certain entities "type name" differ from their "classname"
so take note.

You are currently allowed to create these entities:
- Quad Item powerups
- Invul Item powerups
- Invis Item powerups
- Airtank Item powerups
- Map weapon entities.
- Map weaponbox entities.
- Cycler entities.
- Ammopack entities.
- Xen Tree entities.
- Tentacle Monsters
- Barnacle Monsters.
- Tank entities (i.e 50-caliblre gun emplacements).
- TankLaser entities.
- Speedball entities.
- Antidote entities.
- Restock entities.
- Teleport entrance/exit entities.

See ntf_admin_commands.txt for detailed commands.