Skip to content

Basic Configuration

Joe91 edited this page Nov 1, 2026 · 9 revisions

The default configuration can be found in ext/Shared/Config.lua. Example The Registry (low-level options, mostly for developers) can be found in ext/Shared/Registry/Registry.lua. Example

Note to contributors

Config.lua is generated out of ext/Shared/Settings/SettingsDefinition.lua: edit that file and regenerate it with the fun-bots-helper (Dev Tools → Settings → Update Configs, create_settings.py).

Changing the configuration

Using the in-game settings (recommended)

Open the fun-bots menu with F12 (you need the appropriate permissions) and go to the settings. Values can be typed in directly, changed values are marked and can be reset to their default.

  • Save stores the values in mod.db: they are loaded on every start and override Config.lua.
  • Save temporarily only changes them until the server restarts.

Using the console or RCON

  • RCON (e.g. Procon): funbots.config.<Name> returns a value, funbots.config.<Name> <value> sets it (e.g. funbots.config.BotAimError 4). funbots.saveall saves all values to mod.db, funbots.restore restores the defaults.
  • Game console (with permission): funbots.config.get.<Name>, funbots.config.set.<Name> <value>, funbots.config.saveall.

Editing Config.lua by hand

You can edit Config.lua; the changes take effect after a restart of the server, but only for values that are not saved in mod.db. To go back to Config.lua for all values, clear the saved settings (fun-bots-helper: Mod Database → Clear Settings). Be careful what you change in Registry.lua.

Keeping your configuration on an upgrade

See Upgrading.

Setup & Configuration

Installation & Upgrading
Configuration
Maps & Navigation

Contribution

Github Project

Clone this wiki locally