13. [Plugin] Bonus to Referral Parent
[BUTTONS] 13. BONUS TO REF. PARENT
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
🔌 Plugin of functions:
«12. Bonus Button»
«21. Button Exchange-1 (Fixed)»
«22. Button Exchange-2 (Course)»
❗ Plugins are not working without the mother feature as they are her components.
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
Adding bonus to the ref. parent
The amount of referral parent bonus is set in the same place where the rest of button's settings, right after all other parameters.
❗ The «Bonus to Ref. Parent» amount is set in PERCENT ( % ) from the main user accrual in button. For the buttons Exchange-1 and Exchange-2 (because sums are deducted in one place and added in another at the same time) «Bonus to Ref. Parent» can be calculated using the sum of deduction same as the sum of addition.
❗ The bonus for every level shall be set separately on the new line.
Thus - first line meaning is: add X% from the main bonus to the referral parent of level 1, second line for the second level and so on.
▪ Accruals are processed same as in the referral system:
● No more than the number of levels of the referral system itself.
● If the lines are less than the levels of the referral, then the remaining levels will be set "zero" bonus.
● If there are more rows than the referral levels, the extra lines will be ignored.
➠ Example:
10
5
2.5
Where "10, 5, 2.5" is the bonus percent that will be accrued for the referral parents at their levels (first, second and third), from the accrual specified for the user who pressed the button.
❗ Use a dot ( . ) as a decimal divider, here as well as everywhere in a bot.
❗ A form of writing with a percent (%) sign is also possible.
❗ «Negative Ref. Bonus for Deduction». By default, the bonus to the referral parent is not assigned if the bonus itself has negative value. Enabling this option will allow you to make such accruals. Keep in mind that, indicated amounts of accruals will be deducted from ref. parents.
❗ «Ref. Bonus from withdraw(1) or from adding(2): 1». Determines from what value the bonus will be calculated - from the dedicated amount or from the accrued one (relevant only for exchange buttons).
To add feature go to your bot:
☞ 🔐Admin | 🧩Extensions | 📂Buttons
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
👾 For 1 bot (individually)