Bazaar - Player, Admin & Clan Shops icon

Bazaar - Player, Admin & Clan Shops -----

Player Shops - Admin Shops - Clan Shops



Added API calls
Change Log 1.2.3

This update adds some API calls to Bazaar so you can hook into it and get some information as well as modify existing shops

API calls are as follows:

Code (Java):
    /**
     * Gets a set of all shop locations
     * @return Set of shop locations
     */

    Set <Location > getAllShopLocations ( )

    /**
     * Gets a set of all shop locations owned by the player specified
     * @param uuid Player unique identifier
     * @return Set of shop locations
     */

    Set <Location > getPlayerShopLocations (UUID uuid )

    /**
     * Gets a set of all admin shop locations
     * @return Set of admin shop locations
     */

    Set <Location > getAdminShopLocations ( )

    /**
     * Gets a set of all server shop locations
     * @return Set of server shop locations
     */

    Set <Location > getServerShopLocations ( )

    /**
     * Gets a set of all clan shop locations for the clan tag provided
     * @param tag Clan tag
     * @return Set of clan shop locations
     */

    Set <Location > getClanShopLocations ( String tag )

    /**
     * Removes all the shop locations owned by the player specified
     * @param uuid Player unique identifier
     */

    void removeAllPlayerShops (UUID uuid )

    /**
     * Gets a shop at the specified location
     * @param location Location of shop
     * @return Shop object - null if not found
     */

    Shop getShop (Location location )

    /**
     * Replaces the shop at the specified location
     * @param location Location of shop
     * @param shop Shop object
     */

    void putShop (Location location, Shop shop )
----------, Oct 9, 2023
Resource Information
Author:
----------
Total Downloads: 113
First Release: Sep 7, 2019
Last Update: Nov 20, 2024
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings