TWings preview and reload.
You can now add previews of every TWing your server!
HOW?
1. You need the Permissions "twings.admin"!
2. Shift and Leftclick in the Menu on the Wing you want to create a Preview.
3. type /twings reload
4. Enjoy your preview!
You don't wont any preview anymore of a specific TWing?
Just Shift and Rightclick the TWing in the GUI and its GONEE!
The GUI got more Slots to work with (added Pages)!
Added some ErrorCatches to the code to prevent errors from .yml files you might get into.
Added an API to spawn your Wings in your Plugin!
How to use my API:
Code (Text):
import me.pixelstrace.twings.api.API;
API twings = new API();
sendWingsToLocation(LOCATION, "YourWingName.yml");
sendWingsToLocation(LOCATION, "YourWingName.yml", (int) decreaseInWard);
setPlayerWings(Player, "YourWingName.yml");
getWingName("YourWingName.yml");
getWingItem("YourWingName.yml", boolean withLore);