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!
I see it's abandoned, but it sadly doesn't work on 1.9 anymore.
Does this still work????
@Chaznuts
I will go try again, but the problem is that ALL players (even if they havn't any permission) get the best tier
@JohOply
If the players have, lets say, tier 1 (lowest) and tier 2 permission, tier 2 will override tier 1, since it is a better reward (or should be configured to be better). It's just a way to give different groups a different reward, based on what you have set in the tiers and which permissions those groups have.
Hi, i think there is a bug with the permission system (all players have the best bonus). Can you confirm ?
Is there a way to give players custom items (i.e. renamed items with lore)?
Why not instead just run a command because I want to do something else each day a player comes on.
Works for 1.6.2 R0.1 ty just what i needed.
@UserDead
@splint33
Didn't try yours but I got the 3.6 to work on my server
Jack
@splint33
Thanks for you! Info for others - last beta build of CraftBukkit 1.6.2 R0.1 not support this version plugin. splint33 may you try to re-update? ;) oh i'm sorry plugin was loated on few try's 0_o anything thanks!
@splint33
Great thanks
Dailybonus unofficial update to 1.6.2 (Craftbukkit build: #2815 - Vault build: 1.2.26) 0 tests, 0 fix, just updating the bukkit & vault version. I'm not the autor.
Download v1.6.2: https://www.dropbox.com/s/11d0ices6roukoo/DailyBonus_1.6.2_by_splint33.jar
Hey is it possible if you could add the last prize, even if its just the id of the tier?
I've made an unofficial 1.5.2 update of this plugin, because I have some errors on the last bukkit beta build. I've test it, that work, I only recompile the plugin with the new bukkit version (1.5.2)
https://www.dropbox.com/s/qfvy1icxbrp1bsp/DailyBonus_1.5.2_by_splint33.jar
Have fun !
@Aya1379
You should just subscribe to the project (click the tab at the top right)
No answer? I am daily checking this bukkit page and now it has been a week.
@MrAJKamilZ
No problems for me
This plugin still working? #
Command section isn't working, please tell me what I did wrong
Tier: '1': Economy Amount: 300
Message: '&6ログインボーナス &a300coins&f &6has been added!'
Commands:
- pex user !player add multiverse.portal.access.s-g
Thanks
@Aya1379
Ah, you can already do this! Use the Commands section of the config file to have it run a command giving them the permissions. '/perm give playername perm.name' or however it works for your permissions plugin.