RoyaleEconomy
  • RoyaleEconomy Documentation [NOT UP TO DATE]
  • Hooks
  • PlaceholderAPI Support
  • Commands
    • royaleeconomy
    • talismans
    • killcoins
    • interest
    • coinsbag
    • reshop
    • balancetop
    • piggybank
    • bank
    • sharedbank
  • Menus
  • InputGUIs
  • Shops
  • Purse On Death
  • Sounds
  • Permissions
  • Coins Bags
  • Bank Upgrades
  • Interest
  • Kill Coins
  • Talismans
    • Random Coins Talisman
    • Percent Reducer Talisman
    • Death Saver Talisman
  • API
    • Events
    • Balance
    • BalanceTop
    • Bank
    • SharedBank
    • Interest
    • Kill Coins
    • Shops
    • Others
Powered by GitBook
On this page

Was this helpful?

  1. API

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().

PreviousKill CoinsNextOthers

Last updated 4 years ago

Was this helpful?