public class WauzPlayerEventCitizenShop extends java.lang.Object implements WauzPlayerEvent
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
citizenName
The name of the citizen to interact with.
|
private java.lang.String |
shopName
The name of the shop to display.
|
core| Constructor and Description |
|---|
WauzPlayerEventCitizenShop(java.lang.String citizenName,
java.lang.String shopName)
Creates an event to view the shop of the given citizen.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(org.bukkit.entity.Player player)
Executes the event for the given player.
|
private java.lang.String citizenName
private java.lang.String shopName
public WauzPlayerEventCitizenShop(java.lang.String citizenName,
java.lang.String shopName)
citizenName - The name of the citizen to interact with.shopName - The name of the shop to display.public boolean execute(org.bukkit.entity.Player player)
execute in interface WauzPlayerEventplayer - The player for the execution.ShopMenu.open(Player, String, String)