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!
Update with all the new ideas pl0x :3
@itsatacoshop247
Great ! Thank you :D
@JohOply
Something is wrong with your list of items to give the player. If it's supposed to be empty, try making it:
- 0;0
@GCSkye
PeX is fine, but Vault will always be necessary if you are using an Economy Plugin. It's WAY too much of a hassle to manually import all the different economy plugins.
I don't see why so many people have issues with Vault? - it doesn't even do anything besides get loaded and act as a bridge for economy plugins - it doesn't need/have a config file or anything.
@itsatacoshop247
Ah wasn't familiar with vault. No I'm not using it and didn't have intentions too. I'm using permissionsex. Any plans to get it to work without vault?
Hello,
I've this error when a player join and gain $$...
I have the version 2.5 of DailyBonus
@itsatacoshop247
:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D I think I'm gonna love this plugin. <3
@norsac321
Sure, maybe a !timeUntil for an option to send how long they will get it after login, for those using the delay option, and then a !timeNext to show how long until the next day cycle of bonuses will be!
@GCSkye
Do you have Vault installed?
Default money for players with iConomy is set to 30. I had new players join and receive their bonus but they didn't get any cash thou it told them they did.
@itsatacoshop247
I wasn't in the right state of mind last night :]
Thanks for the quick response. There didn't seem to be an increase in money but I couldn't really test it. I tried deleting the players file and restarting my server but it still remember who was on that day.
Hi, nice plugin I use it on my server but I was wondering could you make it so you could put !time (Or somthing like that) in the message that people get when they get the reward and were ever you put that it would say how much longer it will be before they can get there next reward for EX: You have goten your daily bonus it will be (10 hours) before you can get your next reward" i would of put !time in the ()'s
I hope you get what i mean :)
@gabriel11798
No there isn't a way, but I like that! I will add it into the next update.
Is there a way to make it so that tier accumulate as you log on? (i.e day 1 = tier 1, day 2 = tier 2) If they miss a day, it goes back to tier 1.
@GCSkye
MultiWorld I can do.
I don't see any Iconomy messages recently - they may have been from the old, poorly made version I made a year ago :P
I've tested the new versions with EssestialsEcon and Iconomy, but ALL economy plugins work anyways.
Suggestions: MultiWorld Support - Bonus for logging into each world or worlds designated to give reward. iConomy Support - ? :|
I've seen a bunch of comments on here where you ignored people saying the addon isn't giving iConomy users money. Is there a reason this doesn't work?
Version 2.5
Download here!
@np98765
Thanks for the info, this version 2.5 should fix it! (30 minutes after you posted, gotta be some kind of record, eh? :D)
@itsatacoshop247
http://pastebin.com/z3TyuNBy
The first part is the config, second part is the player names.
I am using "Adminium", which requires me to use the JSONAPI plugin. The Remote Toolkit automatically restarts the server every 6 hours. It basically runs the /restart command every 6hours.
@TorgusAmorgus
@Cyberium59
Version 2.4
Download Here!
@itsatacoshop247
excellent, thanks for the quick reply!
@TorgusAmorgus
Ah yes that would cause an issue! I have an easy fix for it, will put it in soon!