Events & commands

There are 3 events in the life of a subscription, after payment, after renewal and after expiration.

You can configure commands to be executed on your servers or give and remove roles on Discord according to these events.

After payment

Commands or roles that you enter in this event will be executed once on the first payment occurs, when the subscription is created.

Commands will be executed on your server only when payment is completed and received in your account.

The Tip4serv payment status should be PAID and not PENDING.

After each renewal payment (optional)

Commands that you enter in this event will be executed after each renewal payment. So every week or every month depending on the cycle you have configured.

Useful if, for example, you want to give 500 of virtual currency each month to your subscribers.

This event does not occur on the first payment.

With each renewal payment the expiration date of the subscription is extended.

After expiration

The commands you enter in this event will be executed when the subscription expires.

If no more payment is received or if the customer has canceled his subscription.

The subscription will expire when the expiration date is exceeded.

Example

In the example below, the player is given the VIP role after payment and then given 50 coins each month. Then we remove the VIP role when the subscription expires.

Last updated