Garry's Mod Leaks

[LEAK]Daily Login Bonus

Submitted by Kiritosi4, , Thread ID: 73569

Thread Closed
05-02-2018, 08:12 AM
#1
[Image: 72e05025cd5fba75687bf3c18fe479b9.png]

What does it do?

Reward your players for joining on a day by day basis.
This keeps players motivated to play every day!
It is extremely easy to add bonuses.

What gamemodes does it support?
It should work on any gamemode.
Cash rewards also work for any DarkRP version.

What rewards are possible?
There are currently5 default reward types: Cash(for DarkRP), Pointshop points & items, Pointshop 2 (by Kamshak) points & items, Weapons.
If you have some Lua experience, it'sreally easy and fast to add your own custom Type for rewards!

How many days and rewards per day can the menu display?
It is recommended to use no more than 7 days or 7 rewards in one day. People with smaller screens like 1200x900 might have trouble if you add more. (Check media tab)

How do I configure this?
All information on how to config can be found in config_dailylogin.lua, very easy to use, just follow the template
(Config at the top of the file)
SettingDBonus.ResetAfterMaxDayto true will make the counter reset to day 1 after reaching the highest day, making a circuit.
SettingDBonus.RewardOnFirstJointo true will reward new players on first join instead of the next day.
DBonus.LoginCooldownis the cooldown for a new day, default to 24 which stands for 24 hours.

Content locked
This content has been locked. Please login or register in order to unlock it.

Users browsing this thread: 1 Guest(s)