Skip to content

logo

Description🔗

Bonuses are an entity in MRGS that is needed for support service and cross-promotional advertising.

Developers themselves create a bonus, specify its code and add objects to the bonus. When the bonus is issued, the game server and client receive information that they need to give the player the bonus of a certain code, with a certain object, in a certain amount.

For example, you create the “Resources” bonus, its code is “resources”. Several objects have been added for this bonus, for example:

mrgs_bonuses_screen

And you need to give a player 10 gems. Thus, information with the code ‘resources’, with the object id ‘5’ and with the number ’10’ will be sent to the game server.

If you have a client-server application, then adding a new bonus does not require modifying the client, only the server, therefore it can be implemented very quickly. Also, the advantage of this solution is that technical support does not need access to your server, it already has access to MRGS, where each step is logged, and the issuance of bonuses will not be left without attention.

Key features🔗

  • Unified mechanism for issuing rewards. For different use cases, you will have one mechanism and common settings, whether it be cross-promotion, issuance from support, or regular issuance.
  • Detailed logging. Each bonus issuance is logged (time, manager, quantity).
  • No need to update the client. You can always change the number of valuables issued on the server, without the need to update the client.
  • Server API. It allows you to issue bonuses via your own server.

Steps to integrate into a product🔗

Set up bonuses on the server🔗

First you need to add information about the bonus on the server.

Step 2. Add support for issuing bonuses on the server or the client🔗

  • If you want to give out bonuses on your server, you need to integrate support for the server-to-server API.
  • If you want to give out bonuses on the client, you need to integrate the SDK.

client_icon server_icon

Note

Select the platform you're interested in to open the SDK integration description section.


Last update: 2023-10-25
Created: 2020-01-20