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)
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 )
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
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
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
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
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
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
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