Skip to content

bug: apply a plugin's configuration on community servers - #486

Merged
lukepolo merged 1 commit into
mainfrom
bug/community-server-plugin-cfgs
Oct 2, 2026
Merged

lukepolo merged 1 commit into
mainfrom
bug/community-server-plugin-cfgs

Conversation

@lukepolo

@lukepolo lukepolo commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

A plugin's configuration only ever ran as part of a match, so community dedicated servers (no match) ran plugins on their defaults — e.g. the Inventory Simulator kept invsim_url pointing at inventory.cstrike.app.

  • Community servers now write each loaded plugin's cvars into cfg/gamemode_<valve mode>_server.cfg, which CS2 execs on every map load
  • Plugin cvars run before the game mode's, so the mode wins a conflict, same order as a match
  • Ranked and Practice servers are skipped; their matches already exec the plugin layers
  • Editing a plugin's configuration still needs a server restart to reach running servers

@lukepolo
lukepolo merged commit a4aff2a into main Oct 2, 2026
2 checks passed
@lukepolo
lukepolo deleted the bug/community-server-plugin-cfgs branch October 2, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant