Repository navigation
Basic Commands
One way to manage the bots on your server is by using chat commands. You need to have the appropriate permissions in order to use them, and they can be turned off completely with the setting DisableChatCommands. Be careful when using chat commands as inappropriate use may cause lag or even a server crash.
Most of what these commands do is also available in the fun-bots menu (F12). For the RCON commands see below.
[] is an optional argument
<> is a required argument
Spawn static bots (bots who have their AI disabled) next to you.
| Command | Permission | Description |
|---|---|---|
!row <number> [spacing] |
ChatCommands.Row |
A row of bots in front of you (spacing default 2 m) |
!tower <number> [spacing] |
ChatCommands.Tower |
Bots stacked on top of each other |
!grid <rows> [columns] [spacing] |
ChatCommands.Grid |
A grid of bots |
!mimic |
ChatCommands.Mimic |
Static bots copy all your movement |
!mirror |
ChatCommands.Mirror |
Static bots mirror your movement |
!static |
ChatCommands.Static |
Static bots don't move at all |
| Command | Permission | Description |
|---|---|---|
!spawnbots <number> |
ChatCommands.SpawnBots |
Spawns bots on the map (the default way) |
!spawnway <number> [path index] |
ChatCommands.SpawnWay |
Spawns bots on one path (default path 1) |
!respawn [0] |
ChatCommands.Respawn |
Bots respawn after they have been killed (0 turns it off) |
!shoot [0] |
ChatCommands.Shoot |
Bots attack (0 turns it off) |
!shootback [0] |
ChatCommands.ShootBack |
Bots shoot back when hit (0 turns it off) |
!attackmelee [0] |
ChatCommands.AttackMelee |
Bots attack with the knife when close (0 turns it off) |
!setbotkit <0-4> |
ChatCommands.SetBotKit |
Kit of new bots, 0 = random |
!setbotcolor <0-14> |
ChatCommands.SetBotColor |
Appearance of new bots, 0 = random |
!setaim [value] |
ChatCommands.SetAim |
Sets the aim error of the bots (BotAimError, default 6) |
!stop |
ChatCommands.Stop |
Your bots stop moving, shooting and respawning |
!stopall |
ChatCommands.StopAll |
All bots stop moving, shooting and respawning |
!kick [number] |
ChatCommands.Kick |
Kicks bots (default 1) |
!kickteam <1 / 2> |
ChatCommands.KickTeam |
Kicks all bots of a team |
!kickall |
ChatCommands.KickAll |
Kicks all bots and stops spawning more |
!kickplayer |
ChatCommands.KickPlayer |
Kicks the bots you spawned |
!kill |
ChatCommands.Kill |
Kills the bots you spawned |
!killall |
ChatCommands.KillAll |
Kills all bots |
Paths are recorded with the node editor in the fun-bots menu (F12), see Traces. These commands do the same from the chat.
| Command | Permission | Description |
|---|---|---|
!trace |
ChatCommands.Trace |
Starts recording a path |
!tracedone |
ChatCommands.TraceDone |
Stops recording |
!cleartrace |
ChatCommands.ClearTrace |
Clears the path being recorded |
!clearalltraces |
ChatCommands.ClearAllTraces |
Removes all paths of the level (until you load them again) |
!tracesave [index] |
ChatCommands.TraceSave |
Saves the recorded path |
!printtrans |
ChatCommands.PrintTransform |
Prints your position to the server console |
| Command | Permission | Description |
|---|---|---|
!permissions |
- | Lists your permissions and your GUID |
!serverraycasts [on / off] |
ChatCommands |
Bots check their line of sight on the server, so they fight each other without any player client |
!objectives |
ChatCommands |
Prints the objective of every bot to the server console |
For server admins (e.g. in Procon), all need an RCON login.
| Command | Description |
|---|---|
funbots.spawn <amount> <Team1 / Team2> |
Spawns bots in a team |
funbots.kickAll / funbots.kickBot <name> / funbots.killAll
|
Kicks or kills bots |
funbots.config.<Name> [value] |
Reads or sets a setting (see configuration) |
funbots.saveall / funbots.restore
|
Saves all settings to mod.db / restores the defaults |
funbots.clear.BotNames / funbots.add.BotNames / funbots.replace.BotNames
|
Edits the names of the bots |
funbots.serverRaycasts [on / off] |
As !serverraycasts
|
funbots.Permissions <player> [permission] |
Lists, grants or revokes permissions, see Permissions |
Download latest release⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ToDo⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Bugs & Issues