A CS 1.6 site from scratch
From an installed Flute to a CS 1.6 site on AMX Mod X with live status, statistics, bans from the site, non-Steam players and VIP that becomes access flags on the server.
By the end you will have a CS 1.6 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 gets the t access flag in AMX Mod X. The site also works with non-Steam players when the server runs ReUnion. Every plugin command and setting is on the Counter-Strike 1.6 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.
- An HLDS or ReHLDS server with AMX Mod X 1.9 or 1.10 and the AmxxEasyHttp module (
easy_http) 1.4.0 or newer, with access to the server files and console. - A Steam Web API key: Steam players sign in to the site with it, and the site reads their nicknames and avatars.
If you picked Counter-Strike 1.6 in the installer, the site already has a retro theme in the spirit of old Steam with olive panels, and draft pages "Home", "Rules", "Servers" and "Contacts". No modules were installed at that point, so these pages have no 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 GameLink plugin the site sees only the player count and the map: access flags, punishments on the server, reports and statistics do not work. The plugin calls the site over HTTPS through easy_http, so you open no ports on the server.
Add the server
Open AdminServers and click "Add server". At the "Game" step pick "Counter-Strike 1.6" 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 the plugin
Open the server, go to the "Plugins" tab, expand "How to install GameLink" and download flute-cs16-amxx-<VERSION>.zip. Unpack it into cstrike/. The archive has three builds for different voice setups: flute_cs16_connect.amxx for the stock engine, flute_cs16_connect_revoice.amxx for ReHLDS with Revoice and flute_cs16_connect_vtc.amxx for VoiceTranscoder. Put one of them into plugins.ini:
flute_cs16_connect.amxxCheck that easy_http is enabled in modules.ini 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 cannot be run from the game, even by an admin.
flute_setup "https://<YOUR_DOMAIN>" <SERVER_TOKEN>The plugin answers [FluteConnect] saved to configs/plugins/FluteConnect/flute_connect.cfg, connecting... and syncs right away.
Wait for "Connected"
flute_status should show connected: 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 game account. 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.
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.
Non-Steam players
By default "Player authentication" is set to "Licensed", and the site sees only players Steam has verified. If the server runs ReUnion and some players join without Steam, open the "Plugins" tab, expand "For power users: security, command queue, in-game menu" and pick "With and without Steam" under "Security".

Non-Steam players link their account with the same /link CODE, but they cannot sign in from the game or pay with the balance. Their id depends on the ReUnion settings, so one person can have different ids on two servers. More in Non-Steam players.
The server sent players its player check turns away
The players have no Steam, and "Player authentication" is set to "Licensed". Purchases will not reach them until you pick "With and without Steam". Players with STEAM_ID_LAN and STEAM_ID_PENDING stay invisible to the site in every mode.
Modules
| Module | What it adds to a CS 1.6 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 from the site to the server, gags and mutes both ways, the public /bans list |
| Rewards | delivery of rewards to the server and the grant log. Stats, GiveCore and Shop require it |
| GiveCore | VIP and admin rights as AMX Mod X flags 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: in CS 1.6 demos are recorded by the HLTV proxy, and a second plugin uploads them to the site, see demo recording.
Statistics
Once the server is "Connected", the plugin sends kills, round ends and, at the end of each round, counters: shots, hits, damage, bombs, hostages, team kills. CS 1.6 has no warmup, so every round counts, and the plugin skips bots. Shots and damage need the stock hamsandwich module.
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 CSstatsX SQL, Army Ranks Ultimate or Levels Ranks, 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". The server runs the ban with the command from flute_ban_cmd, by default amx_ban #{userid} {minutes} '{reason}'. If your ban system expects the arguments in another order, change the template in flute_connect.cfg.
The plugin handles gags and mutes itself and reports to the site the ones an admin gives on the server. Of all bans, only those from Fresh Bans and Lite Bans reach the site, and an unban on a CS 1.6 server never does, whatever the ban system. If AMXBans keeps your bans, Sentinel can work with its database directly, see 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. The plugin's flute_groups.ini file decides which flags the player gets, and the VIP group already has the t flag there:
"VIP" "t"
"Admin" "bcdefijmnopqrsu"Create the privilege
Open AdminPrivileges and click "Create a privilege". Enter VIP as the "Name" and type VIP into the "What the player gets" column of the server row, the way the group is named in flute_groups.ini. Click "Create a privilege" under the form.

The plugin removes only the flags it gave itself, so admins from users.ini keep theirs. The site never grants the l and h flags or the root, rcon, owner and superadmin groups.
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. Grants that did not get through are collected in AdminRewardsGrants. If a separate VIP plugin hands out VIP, write vip:<group> in the privilege and set its command in flute_group_vip_add_cmd, as described on the Counter-Strike 1.6 page.
The home page in Studio
The Counter-Strike 1.6 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 1.6.
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.
flute_statusshowsconnected: yesandlast error: -./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 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. - AdminRewardsGrants has nothing under "Did not reach the players".
If something does not add up, start with the troubleshooting table on the Counter-Strike 1.6 page.