No plugin for your game? Pay through its database or console

The delivery program runs next to your game, asks VoteScript who earned what, and pays it with your SQL statement or a console command.

What it does

  • SQL

    Your statement for each reward. MySQL, MariaDB or SQL Server.

  • RCON

    Source and Minecraft console commands.

  • TShock

    Terraria servers over their REST interface.

  • Once only

    In SQL mode, the payment and its record are one transaction.

  • Waits for players

    Rewards wait while an account is online or not found, and are tried again.

  • Careful

    A statement that would change more than one row stops instead.

One settings file

Statements for many games are on the game pages. Reward keys in your dashboard decide which statement runs.

votescript.ini (part)
[sql]
coins = "UPDATE account.account SET coins = coins + :amount WHERE login = :player"
check = "SELECT 1 FROM account.account WHERE login = :player"

Keep the command you have

An RSPS whose command already reads a votes table can keep it: the program adds one row per vote and the game stays as it is.

Questions

What do I need?
PHP 7.2 or newer on the command line, on a machine that reaches your database or console.
Is RCON as safe as SQL?
Not fully. If the program stops between sending a command and noting the answer, that reward is not sent again and stays in a file for you to look at.
What if you have no statement for my game?
Then we found no table we could confirm. Use the table your own website or shop already uses for points, and test on a copy first.

Next

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.