A Source games site from scratch
From an installed Flute to a site for CS:S, TF2, L4D2 or CS:GO on SourceMod with live status, statistics, bans from the site and VIP that lands on the server.
By the end you will have a site for a SourceMod server: the player count on the home page, a leaderboard, bans that travel from the site to the server, reports from the game and a shop where a player buys VIP for 30 days. The path below uses CS:S with VIP Core (R1KO). TF2, L4D2 and CS:GO take the same plugin; the steps note what differs, and the other games are listed on the Source games 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 server with SourceMod 1.11 or 1.12 and Metamod:Source, the RIPExt 1.3.x extension, and access to the server files and console.
- A Steam Web API key: players sign in through Steam with it, and the site reads their nicknames and avatars.
Source games have no site template of their own. The closest is "Universal" in the installer: a calm neutral theme with the pages "Home", "Rules", "Servers" and "Contacts". They have no module blocks yet; those arrive in The home page in Studio.
The server and the plugin
Without the GameLink plugin the site sees only the player count and the map: VIP, punishments on the server, reports and statistics do not work. The plugin calls the site over HTTPS through RIPExt, so you open no ports on the server.
Add the server
Open AdminServers and click "Add server". At the "Game" step pick "CS:S" (or "Team Fortress 2", "Left 4 Dead 2") and put the IP and port into "Server address", for example 203.0.113.10:27015. Click "Check connection", then "Save server". Details are in Connect a game server.
Install RIPExt and the plugin
Unpack RIPExt into the game folder so that rip.ext.so ends up in addons/sourcemod/extensions/. Then open the server, go to the "Plugins" tab, expand "How to install GameLink" and download flute-source-sourcemod-<VERSION>.zip. Unpack it into cstrike/ (tf/ for TF2, left4dead2/ for L4D2) 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. It does not work from the game, even for an admin.
sm_flute_setup "https://<YOUR_DOMAIN>" <SERVER_TOKEN>The plugin writes the address and token to cfg/sourcemod/flute_connect.cfg and answers [Flute] saved to cfg/sourcemod/flute_connect.cfg, connecting to https://<YOUR_DOMAIN>.
Wait for "Connected"
sm_flute_status should show configured=yes and last_error=-, and within a minute 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 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. The code lives for 10 minutes, and your players go the same way.
CS:GO server: the Plugins tab shows CS2 archives and commands
The game list has CS:GO and CS2 as one entry, "CS 2 / CS:GO", so the admin panel offers the CS2 plugins. For CS:GO on SourceMod, download flute-source-sourcemod from the flute-source releases and run sm_flute_setup with the same address and token.
The Steam key goes into AdminSign-in methods: click "Connect" on the Steam card and fill in "Steam Web API key". Where to get the key is in Sign-in methods.
Modules
| Module | What it adds to the 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 grant log. Stats, GiveCore and Shop require it |
| GiveCore | VIP in VIP Core and SourceMod admin groups with a term |
| Shop | products sold for the site balance |
| Reports | !report from the game with the offender's chat and score |
| Rules | rules with clauses that punishment reasons point to |
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 Demos: a second plugin records SourceTV demos and uploads them to the site, as described in demo recording.
Statistics
Once the server is "Connected", the plugin sends kills, round ends and, once a round, player counters: shots, hits, damage, MVPs, bombs and hostages in CS:S, damage and team kills in TF2, damage in L4D2. The plugin skips warmup and bots, and the /stats board fills by itself.
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. If the server already runs HLstatsX:CE, Levels Ranks or RankMe, Stats can read their database, see Stats.
Punishments
Add a reason
Open AdminPunishmentsPunishment reasons and click "Add reason". Set "Punishment type" to "Ban", type Cheating into "Reason" and 30 days into "Default term".
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 "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". SourceBans++ or MaterialAdmin carries out the ban, and without them the stock SourceMod bans do. Gags and mutes go through SourceComms++ or MaterialAdmin; otherwise the plugin blocks chat and voice itself.
Bans, gags and mutes an admin gives or lifts in the game reach the site while "Punishments issued on a server" in Sentinel is set to "Record". The plugin does not see an offline ban or an unban in SourceBans++, because SourceBans++ does not report them. If the site should work with the SourceBans++ database directly, connect it as described in Sentinel.
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. Click "Create a privilege" under the form.

The vip: prefix sends the group to VIP Core. A group without a prefix becomes a SourceMod admin group: that is how VIP works on a server without VIP Core, for example in TF2 or L4D2. Such a group must exist in admin_groups.cfg, otherwise the server answers group.add: admin group '…' does not exist on this server.
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.

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 command waits on the site and arrives about a second after they join. The plugin restores admin groups every time the player joins. Grants that did not get through are collected in AdminRewardsGrants, where you can also retry them. VIP ladders and credits paid straight into the Shop Core database are covered on the GiveCore page.
The home page in Studio
Studio has no template for Source games, so module blocks go onto the home page by hand. The "Universal" template from "New page" → "From a template" works too: it puts the Monitoring server list on "Home" and "Servers" when the module is already installed.
Open the home page in Studio
Open Studio from AdminSite design and go to the site's home page.
Add module blocks
Hover over the block below the first screen and click "+" on its edge. Find "Servers" in the list (the search above it takes the name), then add "Best players", "Latest punishments", "Shop: products" and "Rules in short" the same way. Setting up a block is covered in Studio blocks.

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.
sm_flute_statusshowslast_error=-and a recentlast_sync.!menuin the game opens the site menu, and "My privileges" shows VIP and its term.- On the server's "Privileges" tab, the "Check" column for VIP says "The server did not say": the plugin does not list VIP Core groups. SourceMod admin groups on a server without VIP Core get "The server has it".
- The home page shows the server with its player count, and
/bansshows the test ban. - After a game with four or more players, they appear in
/stats. !reportopens the player list, and a sent report shows up in AdminPlayersPlayer reports.- AdminRewardsGrants has nothing under "Did not reach the players".
If something does not add up, start with the troubleshooting table on the Source games page.