Enjoy your Cake


This plugin handles giving out gifts to players when they join on certain types of days:

  • Their birthday if registered
  • Their first played anniversary
  • Arbitrary defined dates

For any event an announcement can optionally be made to all players. For instance, for their birthday you might configure a message letting everyone know its their birthday. Gifts can optionally be received after an event should the player miss logging on. You can configure any number of items to give to a player and each item can have any number of enchantments. Items are given when the player logs on.

Safeguards are in place to keep a player from changing their birthday to get additional gifts and to keep announcements from occurring too frequently. Even if the player changes their configured birthday to another date they will not receive another gift till the following year.


GiftEvents is using McStats to collect some data such as operating system, java version, Amount of players and some more.
You can learn more about it here.

You can disable it in the config file in the plugin directory.
GiftEvents Stats


Enjoy your Cake


  • /birthday get - Gets a player's birthday if set
  • /birthday set MM-dd - Sets the birthday for a player
  • /anniversary - Gets a player's first play anniversary, the date when they first joined the server
  • /events list - Lists all configured events and their dates
  • /events info - Detailed info about an event, including which gifts are given
  • /events give - Admin command to give the items from an event to a player
  • /events reset - Admin command to reset the gift status of a player for an event
  • /events reload - Reloads the events config file from disk


The are a few options in the config file, but most modifications take place in the events file. Both contains plenty of comments and examples to help you get started configuring events.

When configuring items use either the Minecraft item id number or a name as it appears in the Bukkit Material class documentation. For enchantments you can again use a numerical enchantment id or the enchantment's name in the Bukkit Enchantment class documentation. In case of spawn eggs use 383 as ID and the entity ID as damage value. All entity types can be found in the official Minecraft wiki.

When testing a configuration use the "/events reload" command to check for errors without needing to restart the server.


The permissions are very simple and allow you restrict access for certain users:

  • giftevents.birthday - Default: true
  • giftevents.anniversary - Default: true
  • - Default: true
  • giftevents.incremental - Default: true
  • giftevents.admin - Default: false

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Ironic8b49 Ironic8b49 Sep 09, 2015 at 19:03 UTC - 0 likes

    I have first join set to false and players still get a gift when they first join, to fix that I made the gift just dirt and advance-events I added 365, 720, 1095 so on to give Anniversary gifts. Hope in the near future that would be fixed.

  • Avatar of Aubli Aubli Aug 03, 2015 at 19:47 UTC - 0 likes

    @keeganjohn: Go

    Hey glad to hear that you like GiftEvents.

    I tested your event on my server and it worked perfectly fine.

    Have you tested other events?

    Check the /events list, the /events give and the /events info command on the Survival-Anniversary.

    Any error or warning in the console?


  • Avatar of keeganjohn keeganjohn Aug 03, 2015 at 18:17 UTC - 0 likes

    Hi, I love this plugin, but I'm having some trouble with creating my own event. I believe I have it set up right, but it's still not working so please help. my events file is on This Pastebin , I am trying to create the event "Survival Anniversary"

  • Avatar of Aubli Aubli Apr 03, 2015 at 20:32 UTC - 0 likes

    @Ironic8b49: Go

    Sorry I cant do anything about that. The event is set to Belated: True. Means that players get a gift because they were not online on the last anniversary date. You could fix it by setting Belated to false. But then the event will not be belated in the future which is not really a solution.

  • Avatar of Ironic8b49 Ironic8b49 Apr 02, 2015 at 21:46 UTC - 0 likes

    just was told that players are getting the first_join_gift which I have it set to false. This only gives to players who have logged into the server before I installed your plugin and when it's their first logging to the server with the plugin, any ideas on how to fix?

    Last edited Apr 02, 2015 by Ironic8b49
  • Avatar of Aubli Aubli Mar 15, 2015 at 00:20 UTC - 0 likes

    @Ironic8b49: Go

    The spamming issue is finally fixed now. Thanks for your support with your files. Was not possible to find the error without them.

  • Avatar of Aubli Aubli Mar 14, 2015 at 12:34 UTC - 0 likes

    @Ironic8b49: Go

    The spamming issue is a really strange one. It has happened multiple times now.

    The birthdays are saved in the events_info.db. If you delete it you have to set the birthdays again. Also. The file is used for incremental events.

    If you have an IncrementalEvent with 7 days, you have to join 7 times on different days.

    Please send me your events_info.db, events.yml and your config file to [email protected]

  • Avatar of Ironic8b49 Ironic8b49 Mar 13, 2015 at 22:08 UTC - 0 likes

    Getting a spamming issue with the all gifts, if one was to log out and back in they keep getting the gift, birthday, anniversary, etc.. I have a fresh config file and events file made changes by only adding events and customizing the advanced-events. Had this issue before don't recall what I did or how I fixed it?

    Last edited Mar 13, 2015 by Ironic8b49
  • Avatar of Ironic8b49 Ironic8b49 Mar 08, 2015 at 22:27 UTC - 0 likes

    getting this error at bootup now [09:17:16] [Server thread/ERROR]: [GiftEvents] events section not found in configuration, could not enable events

    What to do to fix?

    @Aubli: Go

    Guess the problem was not the config file but my events.yml I deleted that file and now it works.

    Guess my question is do I need to delete events_info.db and have them enter their birthdays again or will that file be ok?

    Also if one the incrementalEvents is 7 days does the player have to log in 7 different days or just 7 days pass?

    Last edited Mar 13, 2015 by Ironic8b49
  • Avatar of Aubli Aubli Mar 08, 2015 at 16:03 UTC - 0 likes

    @Ironic8b49: Go

    Please post your config.yml and events.yml file.


Date created
Mar 05, 2013
Last update
Mar 15, 2015
Development stage
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
Recent files
  • R: v2.4.1 for 1.8.1 Mar 15, 2015
  • B: v2.4 for 1.8.1 Feb 18, 2015
  • R: v2.3.1 for 1.8.1 Feb 17, 2015
  • R: v2.3 for 1.8.1 Feb 06, 2015
  • B: v2.2 for CB 1.7.9-R0.2 Nov 01, 2014