Vote rewards for Garry's Mod
An addon pays DarkRP money, pointshop points or weapons when players type !claimvote. Players are known by Steam ID.
Vote for Emberfall
ExampleVoting as Iron Moss
2 of 4 voted
VoteRank Vote here first
Voted. Again in 11 h 42 minTop-Games.net
Voted. Again in 41 minGMod-Servers.com
Waiting for the list to confirmTopG
Vote every 6 hoursCreate your vote page
Sign up, name your server and choose Garry's Mod. 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, Top-Games.net, GMod-Servers.com and others are ready.
VoteRank Recommended
Top-Games.net
Choose the reward
darkrp_money, ps_points, or a weapon class.
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
Follow the steps 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
Addon
Tested against a live VoteScript with a simulated gameStep 1
Unzip into garrysmod/addons/ and set your key in votescript.lua.
garrysmod/addons/
votescript/new
lua/autorun/server/
votescript.lua
local URL = "https://votescript.voterank.net" local KEY = "YOUR_KEY"
Step 2
Players are known by SteamID64. Set IDENTITY to name to use nicknames.
Vote for Emberfall
ExampleVoting as 76561198000000000
0 of 1 voted
VoteRank Vote here first
Vote every 12 hoursStep 3
Ranks for some days (ULX or SAM), places and your own actions that votes may give are at the top of the file.
Toplists for Garry's Mod
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
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.

