Interface Shop
public interface Shop
Represents a single shop page.
It does not represent all items existing, but only the ones that have being configured to be displayed on this shop (page).
- See Also:
-
Method Summary
-
Method Details
-
getId
String getId()Returns the unique id of this shop page.It is promised that this id does not change over runtime.
- Returns:
- The unique id
-
open
Open this shop for the given player.It might not open the shop immediately with the next tick, as it might have to load the player's data first.
- Parameters:
player
- The player to open the shop for
-
hasOpen
Get whether the given player has this shop open.- Parameters:
player
- The player to check- Returns:
true
if the player has this shop open
-