About This File
Social Rewards
Social Rewards is a new module that your players will love it.
How it works
Game owners through the admin panel can create a Gift Code where the Game owner can choose the followings:
1. Gift Code ( e.x MjKl213 )
2. How many hours will this Gift Code be valid.
3. Reward ( You can choose everything that is included in userStats table. ( e.x If you want US_money then you ll write money).
4. Amount of the reward ( e.x $1.000.000).
Then Game Owners must decide how they will distribute this Gift Code( Email, Ingame, Social Pages ).
When a user wants to reedem the Gift Code then the user goes to the Gift Code under the Account Menu ( You can change then menu from the hooks file).
Every user can use 1 time the Gift Code.
--------------------------------------------------------------------------------
Admin Panel
1. Overview
Here you can see all your Gift Codes . You have the choice to edit or delete a specific Gift Code.
Also i used Cronless job where every 5 minutes the system will check if a Gift Code has expired and then the system will change the status of this Gift Code.
You can also see how many users used each Gift Code.
2. Add Codes
Here you can create Gift Codes.
Be careful in the Reward Type
***WARNING*** You can select a reward only from userStats table (e.t.c money,points,bullets,exp or whatever you want to give and its in the userStats table.
You dont need to add in fron the US_ its auto added in the backend.
How to Install
- Open up your game
- Go to the admin Panel
- Go to Modules & Themes
- Open the Module Manager
- Click on Install Module
- Upload the ZIP file
- Voila you are Ready!
Live demo ( The game is open and active ) in MafiaShot
If you need any help you can find me here or in Discord.
Hope You enjoy my Mods.