Shops

Shops Functions

These functions are found in RoyaleEconomy.apiHandler.shops:

ArrayList<Shop> getShopsList() » Gets the list of shops stored as Shop objects.

Shop getShopByName(String name) » Gets a specific shop from the list based on the name.

The Shop class as well as the ShopItem class which is a part of Shop class (ArrayList<ShopItem> items) are very configurable as you will see if you try to edit them. KEEP IN MIND! After editing a shop's features you need to use shop.saveConfig() and after editing an item/more items, you need to use shop.saveItems().

Last updated