Repository navigation
Basic Configuration
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
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).
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 overrideConfig.lua. - Save temporarily only changes them until the server restarts.
- RCON (e.g. Procon):
funbots.config.<Name>returns a value,funbots.config.<Name> <value>sets it (e.g.funbots.config.BotAimError 4).funbots.saveallsaves all values tomod.db,funbots.restorerestores the defaults. - Game console (with permission):
funbots.config.get.<Name>,funbots.config.set.<Name> <value>,funbots.config.saveall.
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.
See Upgrading.
Download latest release⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ToDo⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Bugs & Issues