PlayerBirthday icon

PlayerBirthday -----

The best birthday plugin




This update has the following changes:
  • Added /bth private command to make birthday celebrations private (no fireworks will be launch or cake will be given if the client has his birthday private)
  • Added an option in the configuration to allow server owners use the US date format (month/day) instead of gregorian format (day/month)
----------, Apr 20, 2023

This version fixes the birthday song not playing and also updates the plugin to use the latest KarmaAPI version
----------, Apr 18, 2023

What's new in this version?
This version updates the plugin to use the new KarmaAPI platform API, instead of compiling inside of it.
----------, Jan 15, 2022

What's fixed in this version?
  • Fixed dump and celebrate command were not working in offline mode servers
----------, Nov 28, 2021

What's fixed in this version?
  • Fixed a nag author problem
----------, Oct 5, 2021

What's new in this version?
  • Added compatibility with minecraft 1.17
  • Added compatiblity with java 16
  • Removed plugin API
----------, Jun 13, 2021

What's fixed in this version?
  • Fixed an error when forcing the birthday celebration
What's new in this version?
  • Removed old classes
  • Improved package locations to avoid some errors
  • Errors won't be printed to console anymore, now they will be in a logs folder

Thanks to @starnos for reporting the celebration problem
----------, May 16, 2021

This update has these fixes:
  • Tried to fix a problem with older java versions

Changes:
  • Updated plugin dependencies
----------, Feb 17, 2021

This version includes an option in config to modify birthday set and birthday not set placeholders
----------, Jan 19, 2021

This update includes Java 9-10-11-12-13-14-15 support and PlaceholderAPI support

Placeholders:

  • %birthday_set% - Returns if the player has a birthday set
  • %birthday_daysleft% - Returns the amount of days before your birthday
  • %birthday_timeleft% - Returns the Hours : Minutes : Seconds before your birthday
  • %birthday_date% - Returns the user birthday date
  • %birthday_day% - Returns the user birthday day
  • %birthday_dayname% - Returns the day name of the user birthday for this year ( Plugin will detect player locale, meaning the result will be in the client game language )
  • %birthday_month% - Returns the user birthday month
  • %birthday_monthname% - Returns the month name of the user birthday for this year ( Plugin will detect player locale, meaning the result will be in the client game language )
  • %birthday_age% - Returns the user age
----------, Jan 7, 2021

Fixed:
  • /dump command wasn't working properly
Improvements:
  • Improved how the plugin detects if the player has already celebrated his birthday
----------, Dec 5, 2020

Fixed:
  • A bug in where commands and messages in commands.yml weren't being sent
----------, Sep 21, 2020

Fixed:
  • TRIED to fix a bug with anti-birthday-abuse system
  • MySQL tables weren't being generated correctly somethimes
  • A bug with command messages
What's new?
  • config.yml and messages.yml now support comments
  • Removed version from config and messages
  • Provided config.yml of comments so now it's easy to read
  • Added /bths reload
----------, Sep 21, 2020

What's new?
  • Re-implemented auto-updater, but this one works a bit different from the original one (- v.2.0.9), this one will update the plugin after a restart, so it won't cause any problem
----------, Jun 30, 2020

Fixed:
  • Fireworks weren't working
What's new?
  • Now you can toggle song
Code (YAML):

Song
:
  enabled
: true/false
  Name
: Birthday
----------, Jun 27, 2020

PlayerBTH have been re-coded
  • Removed cake (will be re-implemented)
  • Remove img map
  • Removed support for SQLite
  • Removed bths update, bths changelog, bths checkupate
  • Changed birthday system (Now supportts 00-09 & 1-9)
  • Changed bths resetbd to bths dump
  • Changed bth public with bth notify
  • Changed how public works, now will be used to specify if the player wants to receive notifications about other players birthdaysChanged withs testbirthday with bths celebrate
  • Now NoteBlockAPI (NEEDED FOR SONGS) won't be downloaded automatically
  • Changed player data file, to a .player format
  • Added migration command
  • Added migration from yaml-mysql automatically on join
  • Improved MySQL system
----------, Jun 24, 2020

Fixed a problem with a null message @starnos
----------, Jun 17, 2020

Now you can set your birthday with age executing
/bth setbd dd/MM <age>
Minimun age is 1, and max age is 100
@HoggyTheWizard

Optimized how updater system works
@MCRrrrrr

The age system is now available also on MySQL and SQLite
----------, Mar 28, 2020

Since I noticed the 1.15 was generating errors to generate the song file, the default and special song file will be now internal, so the only way to use a custom song is to put it on the "Songs" folder and set the song name (without .nbs) in the config
----------, Mar 27, 2020

This version changes 1.15 API, changes of update syste, also adds "SSL" support for MySQL (Make sure the account you sepcify to use MYSQL is SSL, if not, make sure to set "ssl" false in config and mysql aswell
----------, Mar 25, 2020

Fixed players were not able to set their birthday
----------, Dec 29, 2019

Since this version, you will have to type /bths update to update the plugin due the recent inconveniences, this will allow the player to choose if he wants to update the plugin or not, and the server won't be stopped on every-update

Added a config version and a config backup.

If your config version is old, or incorrect, the plugin will save your actual config and generate a new one
----------, Dec 29, 2019

Sorry for the inconvenience :((
----------, Dec 28, 2019

In this version you can choose updater channel

(BETA - RELEASE)
----------, Dec 27, 2019

This version has next changes:

SQLite support
More strictness over defining file data type (You must include capital letters on method "File, SQL or Lite")
If you type "file" (Without "capital F") the plugin won't recognize it, and will happen the same with other two types (SQL|Lite)
----------, Dec 26, 2019

Now you can choose if the song will be played or not, just by leaving song name empty on config.yml
----------, Dec 25, 2019

This version has:
MySQL support
Fixed anti birthday abuse system was not working (Player was able to request birthday prizes infinitely)


Known errors:

Code (Java):
[ERROR ] Error occurred while enabling PlayerBTH v2.0.4 (Is it up to date ? )

java. lang. NoClassDefFoundError : org. apache. commons. io. FileUtils

at karmaconfigs. birthdays. PluginUtils. GenSongFile. <init > (GenSongFile. java : 34 ) ~ [ ?:? ]

at karmaconfigs. birthdays. Main. onEnable (Main. java : 57 ) ~ [ ?:? ]

at org. bukkit. plugin. java. JavaPlugin. setEnabled (JavaPlugin. java : 263 ) ~ [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at org. bukkit. plugin. java. JavaPluginLoader. enablePlugin (JavaPluginLoader. java : 352 ) [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at org. bukkit. plugin. SimplePluginManager. enablePlugin (SimplePluginManager. java : 417 ) [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at org. bukkit. craftbukkit. v1_15_R1. CraftServer. enablePlugin (CraftServer. java : 462 ) [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at org. bukkit. craftbukkit. v1_15_R1. CraftServer. enablePlugins (CraftServer. java : 376 ) [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at net. minecraft. server. v1_15_R1. MinecraftServer. a (MinecraftServer. java : 456 ) [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at net. minecraft. server. v1_15_R1. DedicatedServer. init (DedicatedServer. java : 266 ) [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at net. minecraft. server. v1_15_R1. MinecraftServer. run (MinecraftServer. java : 783 ) [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at java. lang. Thread. run ( Thread. java : 813 ) [ ?:1.8.0_212 ]

Caused by : java. lang. ClassNotFoundException : org. apache. commons. io. FileUtils

at java. net. URLClassLoader. findClass ( URLClassLoader. java : 591 ) ~ [ ?:1.8.0_212 ]

at org. bukkit. plugin. java. PluginClassLoader. findClass (PluginClassLoader. java : 135 ) ~ [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at org. bukkit. plugin. java. PluginClassLoader. findClass (PluginClassLoader. java : 81 ) ~ [spigot -1.15.1. jar :git -Spigot -05bb8bc -4b34472 ]

at java. lang. ClassLoader. loadClassHelper ( ClassLoader. java : 946 ) ~ [ ?:1.8.0_212 ]

at java. lang. ClassLoader. loadClass ( ClassLoader. java : 891 ) ~ [ ?:1.8.0_212 ]

at java. lang. ClassLoader. loadClass ( ClassLoader. java : 874 ) ~ [ ?:1.8.0_212 ]

... 11 more
It seems to ocurr only on 1.15

WORKING TO FIX IT
----------, Dec 25, 2019

This version has a lot of new features, and some fixes:

  • Fixed some message of /bths resetbd were getting null error
  • Fixed a console message related with testbirthday private
  • Fixed BirthdayInYellow was always saving, removing the old song
  • Special birthday song is now faster and better
  • Now you can change map image
  • Now you can change map name
  • Now you can specify the way that player receives the birthday items
----------, Dec 22, 2019

In this version, I decided to do something special:

New special birthday song

Now auto updater won't stop the server, instead, it will be restarted

Note: special birthday is currently on beta, that means that's not the final product of it


READ HOW TO SETUP RESTART SCRIPT IF YOU DON'T HAVE ONE
----------, Dec 22, 2019

This version adds support for versions 1.14 and 1.15
----------, Dec 20, 2019

Fixed update checker updater was always at 5 seconds before updating
Fixed update checker updater updater spamming error
Changed update checker updater from 5 secodns before updating to 10 seconds before updating
----------, Dec 18, 2019

With this update, I implemented:

  • Age system ( Starting from 0 since you set your birthday )
  • Added fireworks
  • Added cake
  • Default birthday song is now better and plays faster
  • Fixed song spamming error on versions higer than 1.8
----------, Dec 18, 2019

Fixed that plugin was showing always an infected version message
----------, Dec 18, 2019

Since I told that I would implement a song option to the plugin, I worked on it until I achieved it.

  • Play song when its a player birthday
  • Now you can test birthday by typing bths testbirthday <player> <public/private> on console
  • Now you can test song by typing bths bthsong <player/online> on console - If you type online, birthday song will be played to everyone
  • Metrics with bStats fixed
  • Auto dependency downloader - AS I ADED THE OPTION TO PLAY A SONG WHEN IS A PLAYER BIRTHDAY, THE PLUGIN UPDATED HIS DEPENDECY FROM "NONE" TO "NOTEBLOCKAPI" WICH WILL BE DOWNLOADED AUTOMATICALLY IF ITS NOT IN YOUR PLUGINS FOLDER
----------, Dec 17, 2019

This version fixes an error related with other versions on plugin startup

Code (Java):
[ 14 : 41 : 24 ERROR ] : Error occurred while enabling PlayerBTH v1.0.5 (Is it up to date ? )
java. lang. NullPointerException
at karmaconfigs. birthdays. FileManager. Messages. PluginMessages. regenConfig (PluginMessages. java : 36 ) ~ [ ?:? ]
at karmaconfigs. birthdays. FileManager. Messages. PluginMessages. reloadConfigFile (PluginMessages. java : 20 ) ~ [ ?:? ]
at karmaconfigs. birthdays. FileManager. Messages. PluginMessages. <init > (PluginMessages. java : 13 ) ~ [ ?:? ]
at karmaconfigs. birthdays. PluginUtils. FileManager. Messages. Message. <init > (Message. java : 24 ) ~ [ ?:? ]
at karmaconfigs. birthdays. Main. onEnable (Main. java : 37 ) ~ [ ?:? ]
at org. bukkit. plugin. java. JavaPlugin. setEnabled (JavaPlugin. java : 321 ) ~ [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. plugin. java. JavaPluginLoader. enablePlugin (JavaPluginLoader. java : 335 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. plugin. SimplePluginManager. enablePlugin (SimplePluginManager. java : 405 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. craftbukkit. v1_8_R1. CraftServer. loadPlugin (CraftServer. java : 356 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. craftbukkit. v1_8_R1. CraftServer. enablePlugins (CraftServer. java : 316 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. craftbukkit. v1_8_R1. CraftServer. reload (CraftServer. java : 746 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. Bukkit. reload (Bukkit. java : 534 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. command. defaults. ReloadCommand. execute (ReloadCommand. java : 25 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. command. SimpleCommandMap. dispatch (SimpleCommandMap. java : 141 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at org. bukkit. craftbukkit. v1_8_R1. CraftServer. dispatchCommand (CraftServer. java : 646 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at net. minecraft. server. v1_8_R1. PlayerConnection. handleCommand (PlayerConnection. java : 1115 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at net. minecraft. server. v1_8_R1. PlayerConnection. a (PlayerConnection. java : 950 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at net. minecraft. server. v1_8_R1. PacketPlayInChat. a (PacketPlayInChat. java : 26 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at net. minecraft. server. v1_8_R1. PacketPlayInChat. a (PacketPlayInChat. java : 53 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at net. minecraft. server. v1_8_R1. PacketHandleTask. run (SourceFile : 13 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at java. util. concurrent. Executors$RunnableAdapter. call (Executors. java : 511 ) [ ?:1.8.0_232 ]
at java. util. concurrent. FutureTask. run (FutureTask. java : 266 ) [ ?:1.8.0_232 ]
at net. minecraft. server. v1_8_R1. MinecraftServer. z (MinecraftServer. java : 696 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at net. minecraft. server. v1_8_R1. DedicatedServer. z (DedicatedServer. java : 316 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at net. minecraft. server. v1_8_R1. MinecraftServer. y (MinecraftServer. java : 634 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at net. minecraft. server. v1_8_R1. MinecraftServer. run (MinecraftServer. java : 537 ) [spigot - 1.8. jar :git -Spigot -c3c767f -33d5de3 ]
at java. lang. Thread. run ( Thread. java : 748 ) [ ?:1.8.0_232 ]
----------, Dec 16, 2019

This new update has the next:
  • Implemented metrics with McStats
  • Implemented metrics with bStats
  • Implemented updater functions
  • Fixed some updater functions
  • Added option on config to toggle metrics
  • Added option on config to toggle auto update checks
----------, Dec 15, 2019

Resource Information
Author:
----------
Total Downloads: 6,455
First Release: Dec 14, 2019
Last Update: Apr 20, 2023
Category: ---------------
All-Time Rating:
13 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings