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!
great plugin but is it still active and will be updatet?
This doesn't seem to be working with the latest beta build for MC 1.4.5
It shows up in the plugins list, but when I try to reload it I get internal server errors.
What happend to Iconomy :(
@Hangar
Yeah sure, I'll make a ticket to remind myself.
This is still working good for us in the latest patch. The only issue I just had is that it global-announced me when I logged in vanished (imagine my embarrassment). So I guess I will disable the global announcement, but if you ever feel like doing a project, maybe you can tap into the Vanish API and not announce for people that join vanished.
Thanks :)
@wolfenguard
I could see about doing this. Tracking world changes from the possibly hundreds of teleport plugins could cause issues, I don't know.
As a temp fix, what permissions plugin do you use? You could just give them the dailybonus.tier.x permissions for only the world you want them to get it, then they just have to log into or relog into that world to get the bonus.
Suggestion for multiple world servers. My server runs both survival and creative worlds, have the plugin give the items once they enter a certain world(survival). Having the plugin give items in creative is pointless.
@StreetDancer1
Doesn't CButd just require the bukkit link in the plugin.yml? I'm pretty sure I already added that.
also add this to ' CraftBukkitUpToDate'
i would love mySQL <3
@itsatacoshop247
Yes, but will you add the thing I suggested? (Does this count as nagging?)
Anyone interested in having mySQL support for this plugin?
can't wait for 1.4.2!!
I can't wait! This is one of my favourite plugins by far!
@itsatacoshop247
Cant wait! I'm hoping you solve my ticket at the same time :p
1.4.2 version will be released. Watch for dev builds here: http:www.cookieslap.net/bukkitplugins/dailybonus-dev-builds/
2012-10-20 14:03:40 [WARNING] [DailyBonus] Task #1072 for DailyBonus v3.1 generated an exception
java.lang.NumberFormatException: For input string: "5-1"
I get from the way the default config is set up. . but there's a chance I typed it like that, somehow.
As a request, perhaps an option to disable Daily Bonus on first join, although there's not much reason for that.
And is there a way to start a new line with the messages?
@08havoc
Theres an IRC channel listed in the main post, I am there whenever available. I see the bug reports, seems to be a common problem, I'll boot up a server running the latest bukkits for testing soon.
Anyone seen itsatacoshop247 ? I filed a ticket about 10 days ago. No response still.
@graveXrobber
Same for me!