ChestShop-3
ChestShop-3 copied to clipboard
#487 - Add Plotsquared Flag
Adds PlotSquared flag to ChestShop.
The Async task is neccesary because the GlobalFlagContainer gets constructed later in PlotSquared. We load dependencies in onLoad, but the container isn't available before the onEnable in PlotSquared.
The file is called ChestshopAllowShopFlag because the name of the flag is constructed from the name of the class. There's no possibilty to override this.
The name of the flag in game is chestshop-allow-shop.
PlotSquared can be compiled from source from https://github.com/IntellectualSites/PlotSquared