HOW TO UPDATE? Reset Config.yml, Gadgets.yml & Morphs.yml!
If you are using ProCosmetics with MySQL enabled please click on the spoiler below for more info!
Since I added custom currency I need to store it in SQL also. Therefore you must add a column to the table.
1. Go to your PHPMyAdmin and log in.
2. Go to the table of ProCosmetics and click on SQL.
3. Paste this:
ALTER TABLE ProCosmeticsData ADD Coins INT NOT NULL AFTER Pet;
Change ProCosmeticsData to the name of your table. Once that is done press RUN. Then you should be good to go!
Please consider resetting the files above otherwise, you get tons of errors!
Changelog: [+] Added ability to change the nametag for the mounts and pets. (The text above their head).
[+] Added ability to set the cooldown of a gadget.
[+] Added ability to change the amount of ammo you get when purchasing more ammo for a gadget.
[+] Added ability to set infinity ammo for gadgets.
[+] Added custom currency system. (Like MineP***)
[+] Added /ProCosmetics giveCoins (player) (amount)
[+] Added ProCosmetics.* and ex ProCosmetics.Pets.*
[+] Added self-view toggle item for morphs.
[+] Added API to open the main menu. API.OpenMainMenu(player)
[+] Update the gadget item upon ammo purchase to show the new ammo amount you have.
[+] Fixed an error that was caused by ClearLagg.
[+] Fixed damage by fireworks when opening a treasure chest.
[+] Fixed you could drag in items to the cosmetics menu and they would disappear.
[+] Fixed after reloading the plugin /PC open main - stopped working.
[+] Initialises cosmetics on startup instead of first open of the cosmetic menu.
[+] Removed Async MySQL connector which solves players joining the server before the MySQL is connected.
[+] Uses a new saving system. Should fix the overriding/lobby switch bug when using MySQL.
[+] Improved performance.
Don't you think I deserve a 5-star review now? All these new features!