DailyBonus
DailyBonus- Daily Login Bonuses
Want to help update DailyBonus? Contact gomeow
This plugin give a bonus once a day to players who log in. The amount is configurable.
There is an option in the config file for a delayed time until they get the bonus. If the player logs out before getting the bonus, then it will remember that they didn't get the bonus yet for that day, and attempt to make them wait the time again.
You can also give items based off a list in the config file.
The plugin uses SuperPerms (all permissions plugins will work, is what this means) for Permissions and Vault for economy, so all plugins that support those will work with DailyBonus!
Watch the video!
The Tier system:
The tier system allows you to have as many tiers as you want, as long as you change the "Number of Tiers" option in your config.
How tiers work:
- Tier number, 1 being the lowest tier
- So the highest admins/ops/VIPs will be given the highest Tiers, while defaults/noobs get the lowly Tier 1.
Economy Bonus
- The economy amount will be given as long as Vault is enabled. If you don't use an Economy, then set the values to 0.
- Again, you NEED Vault to give an economy amount with DailyBonus.
- To have a random amount of economy, put the "base-values;random-amount" down. So "20;5" would give a random amount between 5 more or 5 less than 20, aka 15-25 currency.
Message:
- This message will be sent to the player when they get their DailyBonus. Color codes such as &6 and &4 work.
- (Full list here!).
- !amount will be replaced with the economy amount given.
- !type will be replaced with your currency, if available.
Items:
- This is a list of items the player will be given. "x;y" -> x being the item ID and y being the amount to give. So "266:5" would give 5 Gold Ingots!
- If you don't want to give any items, set one ID of 0 or just leave it empty.
- To give random items, set the line to "x;y;z", with x and y the same as above, and z being the max or min that will be added/subtracted from the y.
- To give items with a data value add a "-d" to the end of the item line, with the d being a data value.
- Example - "5;10;5-1" - This would give 5 to 15 wood planks (ID 5) with a data value of 1 (Darkwood).'
- Item Give Delay (In Seconds): This is how many seconds the plugin will wait to give the bonus. So if you set it to 5 minutes (300 seconds), the player must login and stay online for 5 minutes before getting the bonus. If they log out early, the timer will stop and they must wait another 5 minutes to get it for that day.
Permissions:
- dailybonus.tier.#
- # being the tier number. So 'dailybonus.tier.1', 'dailybonus.tier.2', 'dailybonus.tier.3', and so on.
- You can have an unlimited amount of tiers, just change the "number of tiers" option in the config accordingly.
- Players will not inherit the other tiers. For example - even if admin's with tier.2 were set to inherit the default groups tier.1 they would not get items from both sections.
Features:
- Daily amount given (configurable) when a player logs in each day.
- Permissions based on tier systems
- Custom message for each tier
- !amount is replaced by the actual amount in the message
- Item giving
- If the player's inventory is full, items will drop at their feet!
Commands
- '/DailyBonus reload' - Reloads the plugin - Permission 'dailybonus.reload'
Get Vault here if you are using an Economy plugin!
Roadmap:
- Suggest Stuff!
-
View User Profile
-
Send Message
Posted Apr 28, 2012Hey,
Hope the double bonus thing is fixed soon! It been disabled for too long...
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Shooty_
@TorgusAmorgus
Yeah I'll look at it, something is bugging out somewhere. Sorry for the issues on this D:
-
View User Profile
-
Send Message
Posted Apr 24, 2012@TorgusAmorgus
Same here
@itsatacoshop247
no
-
View User Profile
-
Send Message
Posted Apr 24, 2012Getting bonus given twice. not using a delay.
Line 1680504: 2012-04-24 21:41:18 [INFO] [34m[KiCraft Donor] [33mToroeo just got a donor bonus for logging in today![0m Line 1682223: 2012-04-24 22:01:55 [INFO] [34m[KiCraft Donor] [33mToroeo just got a donor bonus for logging in today![0m
for example
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Shooty_
I assume you are using a delay on the bonus?
-
View User Profile
-
Send Message
Posted Apr 24, 2012@itsatacoshop247
My player win 2x the dailybonus in a day sometimes oO
-
View User Profile
-
Send Message
Posted Apr 23, 2012Sometime this Saturday (28th of April), midday PST (3pm - 7pm) I will be online working on the plugin, and I will put my test server live to the public at 24.23.235.78:25566
If you want to help test/let me know of issues then feel free to jump on!
I am also available nearly all waking hours on IRC, #CookieSlap on Quakenet if you need instant help.
Edit: Hell, maybe I'll livestream it too
@08havoc
Ok, thanks for the info.
-
View User Profile
-
Send Message
Posted Apr 23, 2012@isatacoshop247 I am also having issues similar to what you are looking into. I have a delayed bonus (5 minutes) and very few individuals of tier 1 rank (permissionsex) are not recieveing a bonus and have no data in players.yml
-
View User Profile
-
Send Message
Posted Apr 23, 2012@itsatacoshop247
Nice to see your working on it! Thanks for the info, look forward to seeing it all up and running, seems a nice addition to have on servers. :)
-
View User Profile
-
Send Message
Posted Apr 23, 2012@ThaReaperGuy
It is just a day, not 24 direct hours. There seem to be issues with it, I will be devoting this weekend to getting the plugin working correctly. Seems to be hit and miss with working fine for some and no-go for others.
-
View User Profile
-
Send Message
Posted Apr 23, 2012Hi,
I'm having a slight issue also with the delay for the payment? Could you go over how it's meant to work, I know theres an error as it seems at the moment, however it confused me on how it worked.
Also, I have set the delay to 0 now, meaning they should get a bonus every day when they log on, however they aren't everything works as I've checked but they don't receive a bonus, or is it 24 hours directly after they logged in previously.
Thanks!
-
View User Profile
-
Send Message
Posted Apr 20, 2012@apoisonedgift
Yeah, the delay thing is tough for me, I'll look at it when I wake up tomorrow. Probably just a small error I missed somewhere causing the second bonus every time.
-
View User Profile
-
Send Message
Posted Apr 20, 2012That would make sense... I added a delay to it a while ago... I guess maybe that's when it started... anyways, here's the config:
-
View User Profile
-
Send Message
Posted Apr 19, 2012@QBcrusher
That is very odd - can I see config file?
@apoisonedgift
Can I see your config file? I believe I may have an issue with delayed item giving.
-
View User Profile
-
Send Message
Posted Apr 19, 2012I'm not sure why... but my users are getting the daily bonus twice if they log on twice, but no a third time. I have no idea why this is, and it used to work fine... so... help?
-
View User Profile
-
Send Message
Posted Apr 19, 2012i am having a problem. it seems when some of my users log in and receive their bonus, their inventory gets wiped. can i fix this?
-
View User Profile
-
Send Message
Posted Apr 19, 2012@itsatacoshop247
It's having to install another plugin that has so many things going on with it, just for one small thing. Nothing wrong with the plugin itself :]
Thanks thou.
-
View User Profile
-
Send Message
Posted Apr 19, 2012@MontegroDK
You might have messed up the permissions file. Let me see your config for DailyBonus and the permissions setup.
-
View User Profile
-
Send Message
Posted Apr 19, 2012I have a couple issues, when my users log in, they always receive Tier 7's rewards, always. Also, some of them can log out and in a few times to receive multiple daily rewards.
-
View User Profile
-
Send Message
Posted Apr 19, 2012@gabriel11798
Working on it. Between classes, my server, and all my other plugins, I haven't had time. I just recently updated this, and it seems stable, so I need to tend to my other plugins first before I give this one another update.