4.0.0:
- Made some optimisations.
- Fully supported minecraft 1.12.
- Do not support 3.7.6 and older version anymore.
- Updated to the latest method of getting the plugin version.
- Added an option to create your own hats, particles and banners.
- Added permission for menu selector(gadgetsmenu.menuselector). Now player's required permission of giving them a menu selector.
- Added custom flags to disable unique cosmetic in region. (Required WorldGuard installed)
- Added iDisguise support for morphs.
- Added iDisguise support for morphs. plugin can now work with either of iDisguise or Lib's Disguise, if the two are installed, priority is given to Lib's Disguise.
- Added an option to disable commands while player equipped a cosmetic. ("Disabled-Commands")
- Added an option that will execute custom commands when back to main menu.
- Added gift mystery boxes.
- Added Mystery Boxes support for MySQL.
- Mystery Boxes is now have a expiry date.
- Crafted Mystery Boxes, Gifted Mystery Boxes and Normal Mystery Boxes can have different names.
- Added new placeholders. ( %gadgetsmenu_unlocked_total%, %gadgetsmenu_locked_total%, %gadgetsmenu_total_size%, %gadgetsmenu_unlocked_total_percentages%)
- Normal Mystery Boxes are now require permission to open it.
- Renamed cosmetics folder to categories folder.
- Renamed Broadcast Radio Gadget to Radio Gadget, and will only play song to the player who activate.
- Renamed permission gadgetsmenu.mysterybox to gadgetsmenu.mysteryboxes
- Exploding Sheep Gadget will now show explode countdown timer.
- Modified KawarimiNoJutsu Gadget.(teleport to random location in 8 of ranges of the player)
- Modified Parachute Gadget. (å¼¹å°„ä¸ŠåŽ»ï¼Œä¸�ä¼šå†�teleport)
- Modified Discoball Gadget. (Stain glass will change color).
- Removed /gmenu reload command due some unstable issue.
- Fixed bug (Reported by AnimalMaceYT #1179) - Tetherball Gadget unable to activate while the current location Y + 150 is higher than 256.
- Fixed a bunch of bugs.

4.0.1:
- Remove worldguard feature for unfixable issue when worldguard is below than 6.2.
- Fixed bug ISSUES-260 - Fixed 'mysterydust pay' command placeholder not work.
- Fixed bug ISSUES-262 - Fixed '/gmysteryboxes giveall' command not working.
- Fixed bug ISSUES-266 - Fixed reset button doesn't work in gadget type GUI menu.
- Fixed a bunch of minor bugs.

4.0.2:
- Fixed bug ISSUES-272 - Fixed Teleport Stick Gadget, Paint Trail Gadget, Fire Trail Gadget, 
                         Let It Snow Gadget, Cowboy Gadget, Paintball Gun Gadget doesn't working because of WorldGuard plugin checking.

4.0.3:
- Modified auto updater, now won't restart the server when update completed.

4.0.4:
- Fixed bug - gift packs, gift sent and gift received count wrongly while using MySQL database.
- Fixed bug ISSUES-269 - Morph self view unable to disable.
- Fixed bug ISSUES-272,274,276 - Reset button doesn't work.
- Fixed bug ISSUES-278 - Some item doesn't show the original material while custom item was disabled.
- Fixed bug ISSUES-279 - Ignore cooldown option able to toggle when player doesn't have permission.
- Fixed bug - '/gmenu reset' command doesn't work.

4.0.5:
- Fixed bug - wither skeleton and horse spawn wrong type on 1.11/1.12 spigot.
- Fixed bug ISSUES-295 - Some gadgets doesn't working due checking worldguard plugin.
- Fixed bug ISSUES-296 - Occurring error while equipping morph.

4.0.6:
- Fixed bug ISSUES-304 - Ignore Cooldown & Morph Self View (uses the same permission).
- Fixed bug ISSUES-305 - Occurring error activate discoball gadget.
- Fixed bug ISSUES-306 - Give player's menu selector even disabled.
- Fixed bug - Occurring error while equipping morph.
- Fixed a bunch of minor bugs.

4.0.7:
- Fixed bug ISSUES-312 - 'Red little helper' and 'Green little helper' item show undyed hat when permission is not given.
- Fixed bug ISSUES-316 - Mysql reconnect error.
- Fixed bug ISSUES-321,313 - Mystery vault holograms spawn every 0.5 second.

4.0.8:
- Added sound for thor suit when the anvil touch the ground.
- Added an option to turn off bumblebee song by left clicking again with an empty hand.
- Added an option to disable suit ability(Ninja,Baker, Plumber, Spooderman, Bumblebee, Thor, Warrior) while holding an item on main hand.
- Fixed bug - Player's activated cosmetics will be synced even the world was disabled.
- Fixed bug ISSUES-171 - Menu selector "mystery dust" and "mystery boxes" doesn't sync.
- Fixed bug ISSUES-337 - "Previous Page" button doesn't work.

4.0.9:
- Readded reload command.
- Added '/mysteryboxes give' support for offline player. (case sensitive)
- Added mysteryboxes command support for command block.
- Added an option disable required permission to open mystery boxes.
- Added an option to disable self morph view in config.
- Use '/gmysteryboxes give <player> <amount> reqperm=false', player do not need permission to open mystery boxes. 
- You're not able to equip a cosmetic before remove the item from the specified slot or armors.
- Updated CoinsAPI to version 1.4
- Modified Cowboy gadget.
- Fixed bug - back to main menu custom commands doesn't working.
- Fixed bug ISSUES-303 - Fixed equipping morph will pass over the floor.
- Fixed bug ISSUES-344 - Fixed 'mysterydust pay' command placeholder not work when player doesn't have 0 mystery dust.
- Fixed bug ISSUES-355 - Mystery Vault animation doesn't stop and remove 'mini enderchest' when player leave the server.
- Fixed a bunch of minor bugs.

4.0.10:
- Added an option to disable gift inventory.

4.0.11:
- Modified Cowboy Gadget.
- Added support mysteryboxes & mysterydust command for all command sender. 
- Fixed bug - Cowboy gadget not working.
- Fixed bug ISSUES-358 - Player are not able to see their disguise.
- Fixed bug ISSUES-359 - Disabled cosmetic items can be found in mystery boxes.

4.0.12:
- Readded Mystery Boxes Reward.
- Fixed bug - Banner and morph can't be disabled.
- Fixed bug ISSUES-330, ISSUES-362 - Pet doesn't despawn when player leave the server. 

4.0.13:
- Fixed bug - A problem occurred When updating config.

4.0.14:
- Pet's name is now supported for other languages but not supported special characters.
- Menu selector will be removed when player do not have permission.
- Fixed bug - Mystery boxes reward did not disable even when Mystery Boxes disabled.
- Fixed a bunch of minor bugs.

4.0.15:
- Added "Available Mystery Boxes" individual hologram.
- Added Rage emote.
- Added Scanner cloak.
- Fixed bug ISSUES-375 - DiscoBall effect still activate when the song is finished.
- Fixed bug ISSUES-380 - Doesn't play sound when player do not have permission to rename pet.
- Fixed bug ISSUES-382 - Occur errors when player moving item with cursor.
- Fixed bug ISSUES-391 - Unable to rename pet with capital letters or use color codes.
- Fixed bug ISSUES-394 - Occur errors when player changing worlds.
- Fixed bug ISSUES-255754 - NoSuchMethodError when using 1.11 spigot.
- Fixed bug ISSUES-1552 - Gadgets unable to be found in Mystery Boxes.
- Fixed banners menu unable to view page 3 and so on.
- Fixed a bunch of minor bugs.

4.0.16:
- Fixed bug - Individual hologram still spawn when ProtocolLib didn't installed.

4.0.17:
- You're able to create own emote now.
- Fixed bug ISSUES-403 - Failed to get the displayName of loot.
- Fixed item lore shows wrongly.
- Fixed angry villager particle display in every emote instead of only rage emote.

4.0.18:
- Added frown emote and cheeky emote.
- Fixed gadget lore shows wrongly.
- Fixed mysql connection problem.

4.0.19:
- Fixed bug ISSUES-405 - Mystery box requires "gadgetsmenu.animations.normal" permission to open.

4.0.20:
- Fixed bug ISSUES-407 - Occur NoClassDefFoundError when updating plugin.
- Fixed bug - Cosmetics doesn't sync when player changing world.
- Fixed bug - Individual hologram didn't remove while removing mystery vault.

4.0.21:
- Fixed bug - Mystery Dust unable to hook into other plugin.

4.0.22:
- Fixed bug - Cosmetic item still can be found even disabled in mystery boxes.yml 
- Fixed bug - Unable to change pet name via rename pet name button.
- Fixed bug ISSUES-413, 415 - Fixed MySQL issue.
- Fixed bug ISSUES-416 - Occur NullPointerException when initialize player data.

4.1.0:
- Added Coins-JasperJH support.
- Added mystery boxes check command to check player's mystery boxes.
- Added mystery vault redefine command to redefine mystery vault location and blockface.
- Added a hologram above the player when they activate emote. (BETA)
- Added an option to auto equip cosmetic when player purchase cosmetic item or found loot in mystery box.
- Added a new faster mystery vault animation named 'none'.
- Mystery Vault is now required a permission to use each animation.
- Added 10 gadget (Diving board gadget, Teleporter gadget, Flower Giver gadget, DJ Booth gadget, BBQ Grill gadget, Sand Castle gadget, Pocket Beach gadget, Scarecrow gadget, Ice Cream Stand gadget, Tic Tac Toe gadget)
- Added 9 placeholder to get equipped cosmetic.
- Every 10 mins, update mystery dust from mysql.
- Now has four holograms above each Mystery Vault.
- New economy system. Developers can hook custom economy plugin using API.
- Fixed bug ISSUES-420 - Cosmetics doesn't sync while connect between servers.


4.1.1:
- Added Frosty Cloak.
- Fixed bug ISSUES-428 - Scarecrow gadget occur error and not remove bats.

4.1.2:
- Fixed bug - Occur error while using teleport stick gadget.

4.1.3: (17/12/17)
- Added 19 pets (Snowman, (2)Polar Bear, (8)Llama, (2)Husk, (2)Zombie Villager, Evoker, Vindicator, Illusioner, Stray Skeleton)
- Added slime particle.
- Added an option to disable Mystery Box Crafting.
- Added an option to disable particle/cloak effect shows to everyone.
- Fixed bug ISSUES-440 - Occurred error on startup while server has SilkSpawners plugin installed.
- Fixed bug - 1.8 horse doesn't work.
- Fixed bug - Kick player while using Rocket Gadget.

4.1.4:
- Added 7 emotes. (Sun Tan Emote, Heart Eyes Emote, Dizzy Emote, RIP Emote, Relax Emote, Spicy Emote, Deal With It Emote)
- Added cooldown for suit.(Default value is 0)
- config.yml is now supported UTF-8 format.
- Optimize code.

4.1.5:
- Fixed bug ISSUES-454 - Able to ride players with gamemode spectator using Cowboy Gadget.

4.1.6:
- Added "/gmenu purge" command to delete old player data.
- Added 1.12 sounds.
- Fixed bug - Mystery Vault doesn't load on startup.
- Fixed bug - Occur error while updating plugin from version 4.0.22
- Fixed bug - "mini enderchest" still appear after server restarted.

4.1.7:
- Fixed bug - Mystery Vault holograms doesn't load on startup.
- Fixed bug - Piano sound doesn't work on NBT song.

4.1.8:
- Fixed bug - "/gmenu menu main" command not working.
- Fixed bug - Occurred error while using suit.
- Fixed bug - Thor hammer sometimes doesn't remove.
- Fixed bug - Unable to change settings menu name.

4.1.9:
- Added Australia hat.
- Fixed bug - Player able to get multiple flower.
- Fixed bug - Mystery Vault animation still working even disabled.
- Fixed bug - Gadget doesn't remove when server restart/reload.
- Fixed some minor bug.

4.1.10:
- Added an option to open multiple mystery boxes at the same time.
- 477 - Added command "/gmenu settings" to modify personal settings such as (self morph view, cooldown bypass)
- Fixed ISSUES-491 - Let It Snow gadget able to freeze Diving Board water.

4.1.11:
- Use NBTTag to determine cosmetic item instead of using display name.
- Added REPLACE/DROP/WARN option when equip cosmetic item.
- 472 - Display "No Box Available" instead of display "0 Available"
- Fixed bug - Gifted Mystery Boxes sometimes doesn't give to the receiver.

4.1.12:
- Fixed ISSUES-513 - Occur error on startup.

4.1.13:
- Fixed ISSUES-515  - Unable to reset equipped gadget.

4.1.14:
- Fixed bug - Occur error while crafting items.

4.1.15:
- Display "Error" when player doesn't have any gift packs.
- Fixed ISSUES-521 - Some of the SQL result sets does not close.

4.1.16:
- Fixed ISSUES-528 - Occur SQL error if player join the server for the first time.
- Fixed bug - Occur IllegalStateException when player unequipped vampire suit.

4.1.17:
- Able to set the chances between different quality in command "/gmysteryboxes give" & "/gmysteryboxes giveall".
- DJBooth gadget and DiscoBall gadget cannot activate in the same area. (need to test)
- Fixed ISSUES-480, 518 - Citizens NPC become invisible.

4.1.18:
- Fixed some minor bugs.

- rename pet using anvil gui

- remade cowboy gadget
- add Swing gadget and ,Rock Paper Shears gadget

- custom event
- many add wolf, silverfish, endermite, cat, villager, horse
- maybe add "custom-loots.yml" to add custom loots into mystery boxes. LootCategory
- change all the material to Gmaterial in CosmeticType.
- maybe CustomArmorStandFollower doesn't need to register.
- allow gadget-slot move.
- add amimated hat.
- Remade pet at new plugin. (see SimplePet)
- need to optimize fire fighter suit
- Added some new mystery vault animations.
- add random animation option

Who can sponsor me some money to buy MVP+ for adding more gadgets..
- add "activate = false/true" in Gadget & Morph and remove the "activate" in the children class
- change the material of pets(rabbit, sheep, cat...)


- rearrange messagetype

- add animated hat and gestures
- able to change all cosmetics item stack
- add custom cloaks using (skDragon)
- add pet follow player even flying
- add more vault animation.

suggestions:
  - add languages support for messages.yml file
  - add languages support for the menus. Can be change in the menu selection.
  
  From feerko (Gift Boxes) conversation
  - add a condition gamemode of players is not spectator (disable particle, cloak)
  - add the way to hit the pet to push it (0 dmg instead of cancel event)
  
  From HorizontalJon
  - custom pet (santa's little helpers)
  - custom suit
  

- mini wither pet
- add an option to disable mystery boxes open animation in personal settings.
- ride pet
- able to add custom cloak

5.0.0:
- Doesn't support for version 3.x.x anymore. (delete all the file transfer if detected "OldConfigurationManager")
- Remade pet.


Use this for companions
net.minecraft.server.v1_10_R1.Entity tfe = (net.minecraft.server.v1_10_R1.Entity) ((org.bukkit.craftbukkit.v1_10_R1.entity.CraftCow) pet)
					.getHandle();
			tfe.setInvisible(true);

use this EntityBreedEvent to prevent chicken spawn egg
Animated hat.
use this method to disable ç¢°æ’ž setCollidable  
for 1.9 jukebox
Object localObject = new PacketDataSerializer(Unpooled.buffer());

((PacketDataSerializer)localObject).a(str1);

((PacketDataSerializer)localObject).a(str2);

localEntityPlayer.playerConnection.sendPacket(new PacketPlayOutCustomPayload("MC|StopSound", (PacketDataSerializer)localObject));

add an option to let player to change the material of cosmetics.
when server reload, force to open mystery boxes

- resetting file due to format changes.

-è¿Ÿç‚¹è¦�æ•´å�ˆ currentHat å’Œ selectedHatï¼Œå…¨éƒ¨å�ˆåœ¨ä¸€èµ·ã€‚



- add a command /gmenu admin getHatTexture

new system
when player equiped hat, banner, suits...
 use LocalizedName to determines

gadgets that have worldguard region checking: (if re add, need to add a method to check worldguard is hooked)
- paintball gun
- cowboy
- fire trail
- let it snow
- paint trail
- teleport stick
- let it snow suit
- ice walker suit
- snowman morph

need to modify:
 - MorphCreeper, MorphSheep
 - morph

1.8 cant use:
Gadgets:
 - Jukebox
  