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,362 - Pet doesn't despawn when player leave the server. 

4.0.13:
- able to change all cosmetics item stack

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

4.1.0:
- Remade pet.

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
- need to add  && !ENABLED.contains(type) to all type, 

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
  