Server setting test
Last updated
Last updated
You can download the test ZIP file and test the server setup without a paid subscription.
After unzipping the downloaded ZIP file, enter the URL where the extracted files will be uploaded. In other words, specify the server location where the unzipped HTML5 game will be executed.
Enter the Webhook URL to which the result values will be sent after the game ends. The result values can be received in JSON format or as x-www-form-urlencoded in a POST request.
Please refer to the following help guide for Webhooks and Return values.
This is where you enter the website URL to which the screen will transition when the Continue button is pressed after the game ends. For example, pressing Continue after the game can redirect the screen to https://www.google.com. At this point, the following JavaScript will be automatically added to the script window below:
Additionally, you can add any extra JavaScript code to this screen as needed.
After entering the information, you must click the update button.
Once the server location for the unzipped files, the Webhook URL, and the Return URL are all entered and the update button is clicked, the “Test ZIP download” button at the bottom will turn blue. After that, you will be able to download the ZIP file.
When running the mini-game in a web browser, the ‘userid’ parameter and its value must be included using the GET method.
Parameter
userid
Unique ID generated from the brand's system
Alphanumeric (case-sensitive) + up to 20 digits
T4g4fLTaorjames
Example, Original campaign URL address https://brand.server.com/ The brand's system must call this URL and send the "userid".
https://brand.server.com/?php=userid=T4g4fLTa
Unzip the downloaded ZIP file and upload it to the brand test server.
Open the web browser and enter the server address. If there is no user ID, the following guidance screen will appear.
Add the userid using the GET method. Set the userid value to T4g4fLTaorjames. Then, click the “Run test” button.
The Block Breaker game will start.
The game ends. Then, click the “Continue” button.
Redirect to the entered Return URL.
The result value in JSON format is successfully sent to the Webhook server.
userid
User's unique ID
T4g4fLTa or james
time
Datetime when the game player attempted to play
Unix Timestamp (Milliseconds)
result
Game Score obtained by the game player
3500
playtime
Duration of play by the game player (in seconds)
20
If return data is selected as POST (x-www-form-urlencoded), the values will be returned as shown below. However, for server security, it is recommended to select JSON.