Download
https://www.leaderos.net/plugin/csgoSource Code
https://github.com/leaderos-net/csgo-leaderos-connectRequirements
This plugin requires SourceMod and the ripext extension to be installed.Installation
1. Download the plugin
Download the latest release as a ZIP file from the link below and extract it: https://www.leaderos.net/plugin/csgo2. Upload the plugin
Copy the files from the extracted ZIP into your server’s SourceMod directory:3. Configure the plugin
Open the config file and fill in your credentials:4. Required server configuration
Add this to yourcsgo/cfg/server.cfg:
5. Restart your server
Restart your server. The plugin is now active. Runleaderos_status in the server console to confirm everything is working.
Configuration
| Option | Description |
|---|---|
WebsiteUrl | The URL of your LeaderOS website (e.g., https://yourwebsite.com). Must start with https://. |
ApiKey | Your LeaderOS API key. Find it on Dashboard > Settings > API. |
ServerToken | Your server token. Find it on Dashboard > Store > Servers > Your Server > Server Token. |
FreqSeconds | How often the plugin polls the command queue, in seconds. Default: 300 (5 minutes). |
CheckPlayerOnline | Set to 1 to queue commands for offline players and deliver them on next login. Set to 0 to execute commands regardless of whether the target player is online. |
DebugMode | Set to 1 to enable verbose debug logging, or 0 to disable it. |
Console Commands
All commands can be run freely from the server console or via RCON.| Command | Description |
|---|---|
leaderos_status | Displays the current plugin state, URL, token, poll frequency, and timer status. |
leaderos_poll | Triggers an immediate queue poll without waiting for the next interval. |
leaderos_reload | Reloads the config file and restarts the poll timer. |
leaderos_debug | Toggles debug mode on or off at runtime and saves the change to the config file. |
