1
0
Fork 0
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%
Find a file
2026-02-03 23:12:32 +01:00
.github/workflows add compile ci 2020-02-09 23:01:49 +01:00
plugin exec config again 10s after map load 2026-02-03 23:12:32 +01:00
.envrc flake 2025-10-21 22:16:00 +02:00
.gitignore flake 2025-10-21 22:16:00 +02:00
flake.lock flake 2025-10-21 22:16:00 +02:00
flake.nix flake 2025-10-21 22:16:00 +02:00
LICENSE add license 2020-05-08 19:12:29 +02:00
README.md update readme 2020-05-09 23:32:15 +02:00

AutoExec

Automatically execute the correct config for a map

Installation

Download Plugin

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.