Postback

Designed to enhance your experience with our voting platform. Our postback system efficiently sends crucial information to your designated listener, ensuring smooth integration with your server.

Data Transmission:
The postback system will transmit the User's IP address, User ID (optional), whether the vote was counted on your listing and the Postback Password (optional). The Postback Password and Postback URL can be configured in your server's settings.

Please note that the script has a 5 second timeout. If a connection cannot be established within this timeframe, no data will be posted to your server.

Setting Up Your Postback Listener:
To configure your Postback listener URL and Postback Password (optional), kindly navigate to the server's settings. Within this section, you have the flexibility to set your preferences for a seamless postback experience.

Vote URL Options:

  1. 1. Default URL:
    https://mmtop200.com/vote/[SERVER_ID]
    Replace [SERVER_ID] with your Server ID.

  2. 2. Modified URL:
    https://mmtop200.com/vote/[SERVER_ID]/[ID]
    This modified link includes the User ID, allowing for more detailed tracking. Replace [SERVER_ID] with your Server ID, and [ID] with the User's ID.

Please note! The responsibility of verifying if the specific IP Address or User ID voted rests with you. The postback information will be sent only after the captcha is complete correctly. Exercise caution and perform all necessary checks on your end.

Current Postback IP: 190.92.153.241
Please note that the postback IP address is dynamic and can change at any time. For stability, we recommend using validator.mmtop200.com as the endpoint.

Sample PHP code:

<?php
        if ($_SERVER["REMOTE_ADDR"] != gethostbyname("validator.mmtop200.com")) {
            exit();
        }

        // Your postback password
        $_postback_password = "";

        // Postback password
        $postback_password = $_POST["postback_password"];

        // Vote counted
        $vote_counted = $_POST["vote_counted"];

        if ($_postback_password != $postback_password) {
            // Passwords do not match
            exit();
        }

        // User IP Address
        $user_ip_addr = $_POST["ip_addr"];

        // User ID -- Make sure to sanitize the User ID
        $user_id = $_POST["uid"] ?? "";

        if ($user_id) {
            // User ID is not empty.
        }

        if ($vote_counted) {
            // Vote counted
        }

        // Give incentives to your player.
?>