Voting Postback System
Welcome to this page! Here, you will learn what the postback system is if you don't already know, and what it actually does.
What is it?
This system helps you track in real-time whether the vote is legitimate!
Okay, but why do I need to track if the vote is legitimate or not?
For example, if you choose to reward players on your server based on their regular votes, you need to make sure these votes are legitimate and not tampered with
by players trying to vote multiple times to get rewarded!
Additionally, you may need to know whether a specific IP, which belongs to a specific player, has already voted for your server, so you can avoid rewarding them twice.
This can be automated on your side using the information sent by us every time a vote is triggered on your server, assuming you have the postback system set up
and the URL correctly configured to receive the data from us!
How does it work?
The system is very easy to use if you already have the postback code set up on your website. But don't worry if you haven't we'll help you get it working.
Okay, let's assume you already have the postback code. All you need to do is go to your server’s "edit" section and fill in the "Vote Postback System" field with the URL
of the postback code, for example: `http://yourdomain.com/postback.php`.
Once that's set, you're good to go! ^_^
What data does this system provide?
As long as the system is set up on your end and you provide us with the correct URL to connect,
every time a vote is triggered on your server, the postback will send you details of the vote, such as: server_id (your server ID), vote status (VALIDATED),
the IP address of the person who successfully voted for your server, and the exact timestamp, e.g., DD/MM/YY HH:MM:SS.
How do I set up the postback?
If you don't have the postback system on your end, don't worry—the process is very simple.
First, I suggest creating a subdomain for your website. For example, you can use `postback.yourdomain.com`.
Now that you have the URL path, let's make sure you're able to receive data from us!
Check the GitHub link below where you can download the PHP file!
|
Well done! Now, assuming you've uploaded the file to the subdomain you created earlier, your URL path should look like this:
`http://postback.yourdomain.com/postback.php`
(You can also integrate this file wherever you want on your site.)
The only requirement is to provide the correct path to the
`postback.php`
file in the "Vote Postback System" field on our website!
Assuming you haven't changed anything in the code, and you've set up the URL path for the postback by doing the following:
- Go to your server's "Edit" section
- Fill in the "Vote Postback System" field with the correct URL
You should now be able to see a file called
`postback_log.txt`
where you can find details of every vote triggered on your listing.
The lines displayed inside the log should look like this:
|