View Single Post
Author Message
yash1441
Senior Member
Join Date: Feb 2015
Location: Illuminati HQ
Old 08-07-2017 , 14:54   [Store] Daily Credits (v2.2, 2017-11-10) [MySQL Support]
Reply With Quote #1

Daily Credits

for Zephyrus Store

Edit by Nachtfrische


Command: sm_daily
Alternative commands - sm_dailies, !daily, !dailies

Collect daily credits by playing on the server everyday. Credits increase each consecutive day!

Requires Zephyrus Store & Multi Colors

GitHub [Only use this for unstable developer versions]

CVARs
sm_daily_credits_enable - Daily Credits enable?(0 = Disabled, 1 = Enabled[DEFAULT])
sm_daily_credits_amount - Amount of Credits.(10[DEFAULT])
sm_daily_credits_bonus - Increase in Daily Credits on consecutive days.(2[DEFAULT])
sm_daily_credits_max - Max credits that you can get daily.(50[DEFAULT])
sm_daily_credits_resetperiod - Amount of days after which the streak should reset itself. Set to 0 to disable.(7[DEFAULT])
sm_daily_credits_interval - Number of minutes required by the player to play on the server before getting daily credits. Set to 0 to immediately give credits upon using !daily.(0[DEFAULT])

- A config file called "dailycredits.cfg" will be created in "cfg/sourcemod"
- Translation file support "dailycredits.phrases.txt".
- Color chat support


Download dailycredits_mysql files for MySQL supported plugin. Create a 'dailycredits' database entry for it.
Attached Files
File Type: zip DailyCredits_v2.2.zip (52.0 KB, 1800 views)
__________________

Last edited by yash1441; 11-09-2017 at 20:41. Reason: Added CVar for https://github.com/yash1441/DailyCredits/issues/7
yash1441 is offline
Send a message via Skype™ to yash1441