Plugin wiki
Everything to make plugins and game modes for Classic Strike servers: Luau scripts that change rules, add commands, menus, HUD elements and effects, keep statistics, talk to web services, and build whole new modes. The game and the dedicated server come with the tools, the API's types for your editor and this documentation.
Start here
Getting startedFrom nothing to a working plugin on your own server.TutorialA complete game mode, step by step.ConceptsHow plugins run: events, players, time, data, performance.CookbookShort answers to common tasks.QuestionsProblems plugin authors meet, and their answers.
Reference, guides and examples
API referenceEvery function, class, event and type (generated).FieldsEvery entity variable and game member, with the classic names (generated).Client scriptsLuau in the players' clients: HUD, effects, shared movement.WindowsWindows on players' screens: shops, settings, votes, drawn by the game.Toolscs_plugin: new, check, test, preview, pack, install; development mode, profiling, debugging.Native modulesThe C SDK: .so and .dll modules.PortingFrom AMX Mod X and Metamod: compat/amxx and cs_port.Game modulesAdd-ons for the game itself: server tabs, transports, settings pages (C ABI).DesignHow the plugin host works, area by area: the host, events, the API, mods.Shipped pluginsThe game's own plugins: admin, bans, map votes, stats and more.Reference modsEight game modes of the game's own, as examples: deathmatch, zombie, jailbreak and more.WebsitesSign players in on your website and read their public data (Web API).
A taste
cs.on("player_join", function(ev)
cs.chat(ev.player, "{green}Welcome{default}, " .. ev.player.name .. "!")
end)
cs.command("hello", function(player, args)
cs.reply(player, "Hello, " .. (args[1] or "world") .. "!")
end, { help = "hello [name]: says hello" })
Put it in a folder with a plugin.toml, drop it in the server's plugins/ folder, and it runs. Getting started.