Vote rewards for Counter-Strike
CS2 servers use a CounterStrikeSharp plugin with !claimvote. CS:GO and CS:Source shops can be paid through their database.
Vote for Emberfall
ExampleVoting as Iron Moss
2 of 3 voted
VoteRank Vote here first
Voted. Again in 11 h 42 minTopG
Voted. Again in 2 h 02 minServerTilt
Waiting for the list to confirmCreate your vote page
Sign up, name your server and choose Counter-Strike. Setup fills in the usual settings: players enter “Your Steam ID (17 digits)” and claim with !claimvote.
Tell us about your server
Add your toplists
Paste the link of your server on each list. For this game, VoteRank, TopG, ServerTilt and others are ready.
VoteRank Recommended
TopG
Choose the reward
A word from the plugin’s config.
Reward for every vote
Create an API key
Open Game server in the dashboard and create a key. It is shown once. You need it in the next step.
API key
gv_4d1f…9c02CopyCopy it now. We store only a hash, so it cannot be shown again.
Waiting for the first call from your game
Connect the game
Choose one of these ways. Each has its own files and settings below.
Try it
Open a vote site in your dashboard, use Send a test vote with your own name, then type !claimvote in the game.
Moss: !claimvote
Thank you for voting! Rewards received for 2 votes.
API key
gv_4d1f…9c02CopyCopy it now. We store only a hash, so it cannot be shown again.
Your game has used a key
CS2 with CounterStrikeSharp
Compiled, not yet run on a game serverStep 1
Put VoteScriptCS2.dll in plugins/VoteScriptCS2/ and restart.
counterstrikesharp/plugins/
VoteScriptCS2/new
VoteScriptCS2.dllnew
Step 2
Set the API key and what each reward key runs in the plugin’s config. VIP groups for some days, places on a map and your own actions are there too.
{
"Url": "https://votescript.voterank.net",
"ApiKey": "YOUR_KEY",
"Commands": {
"credits": ["css_givecredits {steamid} {amount}"]
},
"Groups": { "vip": "#css/vip" }
}Step 3
Players type !claimvote. Built for CounterStrikeSharp 1.0.381.
Moss: !claimvote
Thank you for voting! Rewards received for 2 votes.
CS:GO and CS:Source
Most shops keep credits in MySQL: use the delivery program with your shop’s table, keyed by Steam ID. RCON works too if your shop has a command that takes a Steam ID.
Any server with RCON
Example command, test it firstAn example only: use the command of your own shop plugin.
Step 1
No game code: the delivery program runs a command for every confirmed vote. Download it and run it once.
$ php votescript-delivery.php
Created votescript.ini. Fill it in and start again.
Step 2
Set up votescript.ini like this, with your own password and command.
[votescript]
url = "https://votescript.voterank.net"
key = "YOUR_KEY"
mode = "rcon"
[rcon]
host = "127.0.0.1"
port = 25575
password = ""
retry_if = "No player was found"
[commands]
default = 'sm_givecredits "#{player}" {amount}'Toplists for Counter-Strike
VoteRank is recommended for every game. Lists marked “test first” have a format we only found in other people’s code.
If it does not work
The command says there is nothing to claim
Votes are not checked right now
The command runs but the player gets nothing
Players enter their nickname
A reward says it waits
Nothing arrives from a toplist
Do it yourself
The API, webhooks and clients work with any game.
GuideConnect your gameWhen a player types your command, the game asks VoteScript what is waiting and hands it out.
GuideRewards, bonuses and streaksStart with one reward per vote: an item, a day of VIP, a title, a teleport. Add a bonus and a streak when the first one works.
GuideToplist callbacksA callback is how a toplist tells VoteScript that someone really voted. Lists also call it postback, incentive, pingback or webhook. You paste one address per list.
Give your players one place to vote
Your page is live as soon as you create your server. You can connect the rest step by step.

