Plugins and game modes
Servers run plugins: admin tools, statistics, map votes and whole game modes. Ours come with the dedicated server; players publish theirs from the game's workshop, and staff review each one before it is listed here. Each can be installed or updated on its own.
Plugins
Loading the catalogue…
Game modes
Loading the catalogue…
Installing
On the server, next to cs_dedicated. Each package is signed: ours with our key, a player's with its author's key, which the catalogue lists. cs_plugin checks the signature before installing anything, and an update is taken only with the same key. Running install again updates the plugin.
./cs_plugin search
./cs_plugin install zombieMake your own
Luau scripts
Plugins are written in Luau, in a sandbox, with an API for players, entities, rounds, weapons, menus, the HUD, data and HTTP.
The tools
cs_plugin comes with the server: new starts a plugin from a template, check type-checks it, test runs its tests against a real server with bots, and pack signs it with your own key.
Sharing
A packed plugin is one .csplug file. Other hosts install it with cs_plugin install, and updates are only accepted when they carry the same signature.