BirthdayCraft
BirthdayCraft
BirthdayCraft rewards players when they join the server on their birthday! Players can set their birthday and receive rewards set in a config file when they log in to the server on their birthday. Upon first logging into the server on their birthday, a birthday message will broadcasted to the entire server so all other players can be informed of that specified player's birthday, and wish them a great happy birthday!
In case anyone is wondering, I only set cooldowns in BirthdayCraft for 24 hours. This is because after their birthday, the plugin will not allow them to get a gift anyway so instead of wasting resources and setting cooldowns to 1 year, 24 hours is fine!
This is my first Bukkit plugin so show some love, pretty please? I'm also always open to requests for new features! :)
PLEASE NOTE: As of version 2.0 and up, BirthdayCraft requires Vault in order to enable!
Features
- Players can set their own birthday
- Players cannot change their birthday once it is set
- Players cannot receive more than 1 reward(s) per birthday year
- Admins (or users w/ the permission) can change another player's birthday
- Players can check when another player's birthday is
- Players can check when their own birthday is
- Server broadcasts a message when it is a player's birthday
- Configurable item ID reward + amount
- Support for economy based rewards (Vault)
- Auto-updating
Commands
- /birthdaycraft - Main command that displays usage and/or shows the birthday that they set.
- /birthdaycraft <month> <day> - This usage of the main command allows a player to set their birthday.
- /birthdaycraft check <player> - This subcommand allows users to check when another player's birthday is.
- /birthdaycraft change <player> <month> <day> - This subcommand allows users to change another player's birthday!
Permissions
- birthdaycraft.* - Gives players all permissions of BirthdayCraft.
- birthdaycraft.use - Allows players to use the BirthdayCraft command.
- birthdaycraft.reward - Allows players to receive their birthday reward.
- birthdaycraft.check - Allows players to check for another user's birthday.
- birthdaycraft.change - Allows players to change another user's birthday.
Upcoming Features
- Support for multiple item rewards
- MySQL support
- View information about when a player received their last gift
- Configurable broadcast message + player gift message
Hope you all enjoy BirthdayCraft! :)
Just curious, what's preventing players from lying about their birthday to get rewards early?
So is the reward giving automatic?
@sparts
Make sure you use vault, and make sure the b-day is a upcoming day, birthdaycraft has a auto timer to make sure people don't cheat, that timer is 24h
also making it /birthday month day is discourage by both mojang and bukkit. nearly all plugins are required to have their plugin name as their first/default command and its easier for the plugin itself to use those strings.
Players have permission birthdaycraft.use and check but everytime they log on they see "BirthdayCraft > You do not have permission to use BirthdayCraft!" Players can still set their bday initially and check others but still see the message. (Using 1.7.9)
A couple suggestions: Can you make an alias instead of typing "/birthdaycraft month day" can we do "/birthday month day"? Less typing = less confusion.
I would like to see support for meta data as well (so we can customize the items they receive).
EDIT: Fixed the message by giving players birthdarycraft.reward permission. Since I don't want to use the reward portion yet, I just set the amount of reward to 0.
EDIT2: I can not seem to get the reward or the message to show up on my testworld. I have all the permissions and I made my birthday today for testing purposes. Tested on 1.7.9 and 1.7.10. All of the commands work, no errors. It just doesn't display the message/gift.
@Artix1416
This plugin should already be compatible with previous versions of CraftBukkit. :)
@harleyknd1
Awesome, glad to hear the plugin is finally working with no errors on your server now! Thanks for using! Also, thanks for the plugin suggestions. I will take them into consideration. I am currently developing an awesome new plugin coming soon. :)
I am running a crafting dead server, the latest is version 1.5.2. Is there anyway I cane change this plugin to an earlier version of CB?
finally, the plugin started cracking down when i updated the server to 1.7.4 Q_Q
here are a few plugin ideas i've been thinking of, if you have time/want to make any of them, be my guest, but let me test them :P
a plugin that turns a single chest into a ender dragon egg with a command, and when a player right clicks on it, several mobs spawn around it and the egg turns back into a chest (maybe add purple portal effects to it)
another much requested idea from our players is a plugin that triggers a /playsound command to a player when they enter a are, e.g /playsound custom.Tavern every time some one walks into the tavern, and have a option to loop the sound and make it stop when players leave the radius... i'm not sure how hard that is to make, but a lot of users(including myself) have been wanting something like that, just so we can add extra feeling to the environment
aside from that, the plugin seems to be stable for now
kirito
@ygor114
Yep, this will work fine for 1.5.2 as well. :)
Work in 1.5.2?
Hello everyone! BukkitDev has finally approved BirthdayCraft v2.0. So, go download it now! As I've stated, this version of BirthdayCraft does require that you install Vault and a supported economy plugin onto your server even if you choose not to use economy rewards.
For a full changelog, scroll down below to read my comment from 2 days ago, or view it on the BirthdayCraft v2.0 file changelog page! :)
As I've stated, I'm very sorry for the long wait and lack of updates, I became suddenly busy for quite a while but I found some time to update BirthdayCraft and hopefully I am back on here for good with constant updates and maybe even some new plugins! :D
I hope the bukkit staff doesn't need forever to approve it. Finally your comment is two days ago. ^ ^
Thanks for the greak work, i know that is great work without testing. ;)
Hey all, BirthdayCraft v2.0 has been uploaded finally, just wating on BukkitDev staff to approve it! I'm very sorry for the long wait and lack of updates, I became suddenly busy for quite a while but I found some time to update BirthdayCraft and hopefully I am back on here for good.
Let me know if you want me to upload some other plugins to BukkitDev soon! But, don't worry. For those of you who love BirthdayCraft, I will still be updating it! I'm going to try and finish off the upcoming features for the next update! :D
Anyway, here's the changelog for BirthdayCraft v2.0 (FINALLY!):
Because of the new economy support with BirthdayCraft, even if you choose not to use economy, if you do not have Vault and a supported economy plugin (BOSEconomy, iConomy, etc.) in your server's plugins folder, BirthdayCraft will NOT enable!
Good news everyone! Sorry for the very, very long break. I'm working on a complete rewrite of BirthdayCraft which should be out sometime this week!
Also, thanks for 1,000 downloads! :D
@LegitModern
i've send my log to you (link in the PM), any answers for this issue?
greetings KingSarkasmus87
@LegitModern
well, for your first plugin you sure wrote it well, its not (that) broken in 1.7.2 altough the ''update is available'' msg while there isn't one is rather getting on my nerves, additionally when you have some time, could you write something that hooks into pex that when pressed it adds the user that presses it to a other group, we need it for a new spawning mechanism we want to implement
Sweet!
@KingSarkasmus87
You shouldn't be able to do this. Are there any stack traces (errors in console) associated with the bug? Please provide as much detail as you can. Otherwise, I'll have to further look into it and sort out the bug.
I will probably be rewriting the plugin soon anyway. I wrote this plugin a while ago when I first getting started with Bukkit development. :P
@xDizasterCYx
Wow, thanks for the awesome logo! I appreciate it, well done. I'll put it on the main page in a bit! :)
Hi guys, is it a thing of our Server or is it normal that anybody can on birthday log-in and log-out and get the present every time again? Or is it an Admin privilege...?
LG KingSarkasmus
hey i made an awesome logo for your plugin:
http://oi42.tinypic.com/2eelqme.jpg
@harleyknd1
It will be updated soon, waiting for approval.