[FREE] Simple referral

Hello, today i’m publishing this simple script i made for fun.

It’s a simple and easy referral system, where each player gets a referral code that they can share with other players to both get rewards.

Main features

  • Each player may redeem a single code but a single code can be redeemed an infinite amount of times.
  • You may setup “promo codes” that are not tied to a specific player but can only be redeemed one time
  • You may give out specific rewards for specific player codes (ex: streamers or ccs)

To regenerate a user code just wipe their entry from the db and it will regenerate
To reset the uses of a promo code just wipe their entry from the db and it will regenerate

To redeem or view your own code just do the command /redeemcode

Dependencies

Ox-lib & Oxmysql

Discord and support

I will try to help you out here in the forums but you may have an easier time finding me on Discord

Download

Feel free to pr improvements, suggestions or point out any improvement or problem

Code is accessible Yes
Subscription-based No
Lines (approximately) ~200
Requirements ox-lib, oxmysql
Support Yes
8 Likes

Nice, I really like it