A player creates a code for himself. If a player uses this code, both earn credits. As the player using the code plays on the server, the owner and the person using the code will earn credit per hour. By opening the reference system menu, the accumulated credits are withdrawn.
The image is in Turkish. The plugin has been translated but needs minor adjustments.
Cmds- sm_usecode <code>
- sm_createcode <code>
- sm_topref
- sm_refinfo
- sm_ref or sm_ref <code> || see the statistics of the referral code
cfg/Plugincim_com/Referral_System.cfg is will auto creating.
Cvars- "ref_kod_kullanana", "1", "Give credit to the player who used the code? 0 == OFF"
- "ref_kodu_kullanana_saatlik", "1", "How many credits per hour should be given to the player using the referral code? 0 == OFF"
- "ref_kodu_kullanilana", "2", "How many credits should be given to the player whose code is used? 0 == OFF"
- "ref_kodu_kullanana", "2", "How many credits per hour should be given to the player whose referral code is used? 0 == OFF"
- "ref_bilgi_mesaji", "300.0", "In how many seconds should an information message be sent about the reference?"