mirror of
https://codeberg.org/spire/autoexec.git
synced 2026-06-03 10:14:07 +02:00
Automatically execute the correct config for a map
- SourcePawn 90%
- Nix 10%
| .github/workflows | ||
| plugin | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
AutoExec
Automatically execute the correct config for a map
Installation
Usage
The plugin automatically executes the config while loading a map.
If a team readies up without the expected number of players for the active config, a warning will be shown.
Configuration
sm_autoexec_league: set the league for which to load the config (etf2l or ugc, defaults to ugc)sm_autoexec_mode: set the gamemode for which to load the config (4v4, 6v6 or 9v9, defaults to 9v9)sm_autoexec_autoset: try to set league and mode when a config is manually loaded (true or false)
Manually execute the config
You can manually load the selected config using the sm_autoexec server command.