πŸ“©Subscribtion system

With a subscription system, you can allow your players to subscribe to a rank/item in your store. You can specify discounts/actions dependent on the streak.

Syntax

*product configuration | product settings section*

      subscription-settings:
        enabled: BOOLEAN
        renewal-time: VALUE
        start-actions:
          - ...
        end-actions:
          - ...
        streak-actions:
          'AMOUNT':
            - ...
        streak-discounts:
          'AMOUNT-AMOUNT': VALUE

Renewal time

This time stamp indicates the interval at which the subscription will be paid/renewed. Format: value+value+value...

Values:

  • d = day

  • h = hour

  • m = minute

  • s = second

example:

Start/End actions

List of actions from here that are activate after the subscription purchase/end example:

Streak actions

List of actions from here which are activated during the subscription payment process depending on the user's current payment streak. systax

example:

Sreak discounts

Percentage discounts on the next subscription payment depending on the user's current payment streak...

systax

example:

Last updated