LoginBonus
LoginBonus v 0.6
LoginBonus - Reward Loyal Players Version: v0.6
This is one of my first plugins that I have built, nothing special, quite simple really, but I thought I would share this anyway. Compatible with latest recommended bukkit build [1060]. Reward the loyal players on your server, with this simple plugin.
Features:
- Rewards players on login with a diamond.
- Automatically goes into the players inventory
- Permissions Supported
- Now only activates every 24hours.
- Now has config file.
- Time is now configurable.
Permission Nodes:
LoginBonus.true
Plugin
To Do.
- Add Config File to allow more configuration - Added v0.3
- Add a timer so it can only be used every 24hours? - Added v0.2 (Thanks tips48)
- Add iConomy Support - Maybe!
ChangeLog:
version 0.6 - Fixed the configuration syntax error when creating the config file.
version 0.5 - Simplified the time configuration
version 0.4 - Made the time configurable.
version 0.3 - Added a config file. Only reward is configurable at the moment.
version 0.2 - Added the source to only allow the bonus to be given once every 24 hours - Thanks to tips48
version 0.1 - Released LoginBonus
Please update to 1.2.3
Love this plug-in but can you please make it usable with AuthMe? Just like someone else said they receive the diamond pre-login but after logging in it is gone.
can you add an option in the config to set a delay so that they receive the item after a period of time logedin so players don't just login and than logout?
u gonna update it? or is this working fine to all?
@BeerHuntor
I'd really like to use this plugin, but this problem is making it a no-go for me. Waiting for update...
The timer resets when I restart my server, but not when I reload my plugins. Is this the intended function ?
I use authme on my server since some of my players are non premium (dont hate) and it gives the bonus before the login and then after it it gets lost...now i dont mind giving them the diamond but it does get annoying...is there a way to fix this?
Lawdac.
I am currently aware of this. I will fix it appropriately :)
Loginbonus appears to work in SB1152. Please be aware that there is a glitch that players can take advantage of though:
When reloading addons, this addon will reset the counter. My server resets every 8 hours and anyone who realizes this would be able to take advantage of this fact to obtain 3 diamonds a day. It's not necessarily game breaking, but it's worth looking into having the addon save the current timer cycle during a reset.
I cant add a config for making a player be logged in for 'X time' as this plugin is On Login. So it would need to go either way. If i find a way of choosing, which one to have, either on login or logged in for 'X time' via the config I will add it. But until then, its not going to be put in. :)
Sorry guys
" Can u add config for, example player need stay logged 2min for win bonus? and custom bonus is nice. ty. "
maybe this help your.
Im not sure if I would be able to do that.. I will add it to my notes and look into it :)
Can u add config for, example player need stay logged 2min for win bonus? and custom bonus is nice. ty.