Counter-Strike 2 Plugin
Integrating your Counter-Strike 2 with our API allows us to automate several processes, enhancing your gaming experience.
Installation Steps
- Download the Plugin:
- Download our official plugin from our GitHub page.
- Install the Plugin:
- Place the addon folder into your
/path/to/csgo
directory. - Start or restart your server to activate the new plugin.
- Place the addon folder into your
- Configure the Plugin:
- Stop your server.
- Navigate to
/path/to/csgo/addons/counterstrikesharp/configs/plugins/GameCMSPlugin/GameCMSPlugin.json
. - Open the config file, locate the
ServerHttpPort
entry, and enter a free port number not used by any other service. - Configure the database settings within the same file to ensure proper communication with the necessary databases.
- Restart your server to apply the configuration changes.
- Create and Verify the Server:
- Go to the GameCMS Dashboard.
- Navigate to Integrations > Servers.
- Select Counter-Strike 2 as the Server Type and click Create.
- You will be redirected to the server verification page. Follow the instructions provided.
- Run the server verification command in your console, and you should see a message confirming that your server has been successfully verified.
WEBSITE API KEY
Website API KEY is not required it's added for future features.
Configuration Options
- ServerApiKey: This is the server API key used to create a new server instance for each of your servers.
- WebsiteApiKey: This is your website API key. Currently, this option is not in use and can be ignored.
- ServerHttpPort: This is the port you need to open for connecting the server to our platform.
- FaceitToken: This is an optional field. To use this, generate a server-side token from the Faceit Developer Portal. It's used to display player levels and online player lists.
- DeleteExpiredAdmins: Set this to 'true' if you want to automatically delete expired admins from the database.
This completes the setup process. Your Counter-Strike 2 server is now fully integrated with our platform.
Command List
info
All commands require the @css/root
permission and are available for both client and server.
- css_gcms_store_force: Forces the execution of any commands that are queued from the webstore.
- css_gcms_server_verify: Verifies your Counter-Strike 2 server with the GameCMS API.
- css_gcms_reload_admins: Reloads admins, groups, and overrides. These changes will be applied to your
admins.json
,admin_groups.json
, andadmin_overrides.json
files. (Root flag required) - css_gcms_k4syncranks: Synchronizes K4 system ranks with the database to improve performance and display on your website. (Root flag required)
Video Tutorials
For further assistance, please refer to our video tutorials:
How to setup CS 2 Plugin
How to add MySQL Server
Plugin Features
If you wish our plugin to do something more that can help your Rust Server, please contact us.