BirthdayGift
Compatible with Bukkit 1.5.2, 1.6.1 & 1.6.2
BirthdayGift rewards players when they login on their birthday and notify everyone of the player's birthday. Players can set their birthday and can receive configurable rewards (optional) when they login on their birthday. The player can also have a special login message (optional) for the day and a birthday broadcast message can be configured to celebrate the special day (sent only on their first login of their birthday).
This is also my first real Bukkit plugin, so all suggestions are welcome :)
Features:
- Birthday data is stored in a SQLIte DB (with SQL injection protection)
- Players can configure their own birthdate
- Players cannot change their birthday once set (admin can)
- Players cannot set their birthday to "today" (admin can)
- Rewards are claimed by the player (/bgift claim) to preventing receiving items in creative worlds
- Reward can be any number of items and/or economy reward (requires Vault)
- Initial login broadcast is configurable and can be disabled
- Custom join message is configurable and can be disabled
- Gift message for player is configurable and can be disabled
- Full birthday management for admins (info, delete, set, reset)
Commands:
- /birthday - Main basic player command for checking/setting their birthday.
- /bgift claim - Claim your birthday gifts
- /bgift info <player> - Check the player's birthday and "last gift received" date.
- /bgift set <player> <dd-mm-yyyy> - Set the player's birthday for them.
- /bgift reset <player> - Reset the "last gift received" date (player can receive gift again).
- /bgift delete <player> - Completely removes the player's birthday record.
- /bgift stats - Show some statistics on the birthday data
Permissions:
- birthdaygift.* - Give ALL permissions (be careful!)
- birthdaygift.use - Allow player to use /birthday command
- birthdaygift.claim - Allow player to use /bgift claim (you should disable this in creative worlds)
- birthdaygift.info - Allow player to use /bgift info
- birthdaygift.set - Allow player to use /bgift set
- birthdaygift.reset - Allow player to use /bgift reset
- birthdaygift.delete - Allow player to use /bgift delete
- birthdaygift.stats - Allow player to use /bgift stats
TODO:
Add "manual reward claim" feature to prevent players receiving rewards in creative worldsAdd stats feature to provide interesting info about birthday dataShow player's age on /bgift info*- Add custom commands which are triggered when rewards are given
- ...any suggestions?
Dev Builds:
Development builds can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
See this in action?
You can try out this plugin on our family friendly survival server:
Uploaded BirthdayGift v1.1.0, waiting for approval.
- New claim system to prevent receiving rewards in specific worlds
- New claim reminder for players who don't claim their rewards immediately.
- New configurable messages for claim reminder and money received.
- Cleaned up the code a fair bit and reworked some parts.
- Fixed birthdaygift.* permission. It works fine for me. Let me know if it doesn't work for you.
@TheCobra54
You're very welcome!
I created this plugin for my own server so I'll definitely be keeping it updated! ;)
Thank you so much! Please keep it up to date!
Such a fantastic plugin. Does exactly what i wanted and very easy to use. Keep up the good work