A CS2 site from scratch
From an installed Flute to a CS2 site that shows the player count, keeps statistics, bans on the server and sells VIP that lands as a group in the game.
By the end you will have a CS2 site with live server status, a leaderboard, bans that travel from the site to the server, and a shop: a player buys VIP for 30 days and the group shows up for them in the game. The plugin goes on the platform your server already runs, and the path below uses CounterStrikeSharp with VIP Core. On SwiftlyS2 and Metamod only the plugin archive and the command names change; they are listed on the Counter-Strike 2 page.
What you need
- An installed Flute and a session as the owner, see installation.
- A connected Flute key: without it the marketplace installs no modules, see Flute key.
- A CS2 server with CounterStrikeSharp 1.0.369 or newer and VIP Core, with access to its files and console.
- A Steam Web API key: players sign in through Steam with it, and the site reads their nicknames and avatars.
If you picked Counter-Strike 2 in the installer, the site already has a dark theme with an amber accent and draft pages: "Home", "Rules", "Servers" and "Contacts". No modules were installed at that point, so these pages have no server list and no other module blocks. Blocks the template places, such as the Monitoring server list, land on these pages by themselves once you install the module, as long as you have not saved the pages. The rest is added in The home page in Studio.
The server and the plugin
Without the FluteCS2Connect plugin the site sees only the player count and the map: privileges, punishments on the server and live statistics do not work. The plugin calls the site over HTTPS, so you open no ports on the server.
Add the server
Open AdminServers and click "Add server". At the "Game" step pick "CS 2 / CS:GO" and put the IP and port into "Server address", for example 203.0.113.10:27015. Click "Check connection", then "Save server". Details and wizard errors are in Connect a game server.
Install the plugin
Open the server, go to the "Plugins" tab and expand "How to install GameLink". Download flute-cs2-css-<VERSION>.zip, unpack it into game/csgo/ keeping the folders, and restart the server.

Connect the server to the site
Click "Issue token" and run the command from the window in the server console or over RCON:
css_flute_setup "https://<YOUR_DOMAIN>" <SERVER_TOKEN>A few seconds later the console answers Connected to https://<YOUR_DOMAIN> (server #3).
Wait for "Connected"
The status on the "Plugins" tab turns to "Connected". At the same moment the "Link the server to the site" item in the "Community setup" list is ticked: it waits for the plugin to reach the site, not for the token.
Link your account
Purchases and punishments from the site find the player on the server by the linked SteamID. On the site open Profile → Settings → Linked accounts and click "Get code". Join the server, type !link CODE in chat and confirm the link on the site. Your players go the same way.
The Steam key goes into AdminSign-in methods: click "Connect" on the Steam card and fill in "Steam Web API key". If you entered the key in the installer, the card already shows "Key found". Where to get the key is in Sign-in methods.
Modules
| Module | What it adds to a CS2 site |
|---|---|
| Monitoring | a servers page with the live player count and the "Servers" block for the home page |
| Stats | the /stats leaderboard, ranks, statistics in the profile, seasons with prizes |
| Sentinel | bans, mutes and gags from the site to the server and back, the public /bans list |
| Rewards | delivery of rewards to the server and the log of every grant. Stats, GiveCore and Shop require it |
| GiveCore | VIP and admin rights as server groups with a term |
| Shop | products sold for the site balance |
| Rules | rules with clauses that punishment reasons point to |
| Tickets | support requests and punishment appeals |
Install them from AdminExtensionsModules with "Install"; the admin panel offers the dependencies itself. Dependencies and ionCube are covered in Installing modules. Later you can add Reports for !report from the game and Demos for GOTV demos.
Statistics
There is no source to set up: once the server is "Connected", the plugin sends kills, rounds and player stats, and the /stats board fills by itself. The plugin skips bots and warmup.
The points formula is in AdminStatistics seasonsSettings, the "Points and anti-boosting" group: 2 points for a kill, −1 for a death, 1 for a headshot kill and 1 for a round won. Kills count while at least 4 players are on the server, and a player enters the board after 10 kills ("Kills needed for the board"). So if two of you test it, the board stays empty. Prizes for places in the day, week and season tops are set up in statistics seasons.
Punishments
Add a reason
Open AdminPunishmentsPunishment reasons and click "Add reason". Set "Punishment type" to "Ban", type Cheating into "Reason", 30 days into "Default term". "Rule" is picked from the rules of the Rules module once they are written. With "In the game menu" ticked, an admin can pick this reason in the punishment menu on the server.
Ban a player from the site
Open the player in AdminPlayers, go to the "Punishments" tab and click "Punish". Set the type to "Ban", tick your server under servers and pick "Cheating" as the reason: the term comes from it. The "What will happen" block shows where the command goes. Click the button at the bottom of the form.

Check the delivery
On the punishment page, the "On servers" block shows "Delivered". If the server runs CS2-SimpleAdmin or IKS Admin, the ban goes through it; otherwise the plugin keeps its own list in sanctions.json.
Bans an admin gives in the game reach the site by themselves: "Punishments issued on a server" is set to "Record" by default. Moderator limits and a link to a SourceBans++ database are covered on the Sentinel page.
Shop and privileges
Products are sold for the site balance, so connect a payment system first, as described in Accept payments. The example below sells VIP for 30 days, which becomes the gold group in VIP Core on the server.
Create the privilege
Open AdminPrivileges and click "Create a privilege". Enter VIP as the "Name" and type vip:gold into the "What the player gets" column of the server row. The vip: prefix sends the group to the VIP plugin, admin: to the admin plugin. Click "Create a privilege" under the form.

A server with a token gets the "Flute plugin" delivery method by itself. You can check it under "Delivery to servers"; more on the GiveCore page.
Put it in the shop
On the privilege page click "Sell in the shop". A new product opens with the "Server privilege" reward already chosen. Fill in "Name" and "One phrase about the product".
Set the term and the price
In "Terms and prices" the first row is already set to 30 days: fill in "Price". Turn on "On sale" and save. A row without a price is not sold.

Give the product to yourself
Test the delivery without paying: open your account in AdminPlayers, choose the "Give a product" action, then "Product and term" and "Server". The order gets the "Given by hand" status and shows up in AdminShopShop orders.
If the player is offline, the group waits until they join. Purchases that did not reach the server are collected in AdminRewardsGrants, where you can also retry them. Discounts, bundles and VIP with Premium in one ladder are covered on the Shop and GiveCore pages.
The home page in Studio
The Counter-Strike 2 template puts the Monitoring server list on "Home" and "Servers". When Monitoring is installed after the site, the list is already on these pages unless you have saved them. Rebuild the pages from the template only if you have edited them, and add the other module blocks yourself.
Open the template
Open Studio from AdminSite design, click "New page", choose "From a template" and then Counter-Strike 2.
Tick the pages
Under "What will be created", tick "Home" and "Servers". Pages that already exist are marked "replaces the draft of …". If Monitoring is not installed, the page shows "Without blocks this site lacks: …".

Add module blocks and publish
Find "Best players", "Latest punishments", "Shop: products" and "Rules in short" in the block list and put them on the home page. Adding and setting up a block is covered in Studio blocks. Then click "Publish", as described in Studio.
A template applied from Studio changes the theme only when you tick "Use the template's theme": colours, fonts and corners replace the theme draft and go live when you publish. The box shows for those allowed to change the theme. Without it, if you picked another game in the installer, colours and fonts are set in the site style, and another theme is turned on in AdminExtensionsThemes.
Check
By now the "Community setup" list on the admin home page ticks "Add a game server", "Link the server to the site", "Turn on a login provider", "Connect payments" and "Style the site in Studio", see first steps. The rest is checked in the game and on the site, with the account you linked to the site.
css_flute_statusin the server console shows no error in theLast errorline.!menuin the game opens the site menu with the shop section, and "My privileges" shows VIP and its term.- On the server's "Privileges" tab, the "Check" column for VIP says "The server has it".
- The home page shows the server with its player count, and
/bansshows the test ban. - After a match with four or more players, they appear in
/stats. - AdminRewardsGrants has nothing under "Did not reach the players".
If something does not add up, start with the troubleshooting table on the Counter-Strike 2 page.