Class ShopTrait.NPCShop

java.lang.Object
net.citizensnpcs.trait.ShopTrait.NPCShop
Enclosing class:
ShopTrait

public static class ShopTrait.NPCShop extends Object
  • Constructor Details

    • NPCShop

      public NPCShop(String name)
  • Method Details

    • canEdit

      public boolean canEdit(NPC npc, Player sender)
    • canView

      public boolean canView(Player sender)
    • display

      public void display(Player sender)
    • displayEditor

      public void displayEditor(ShopTrait trait, Player sender)
    • getName

      public String getName()
    • getOrCreatePage

      public ShopTrait.NPCShopPage getOrCreatePage(int page)
    • getRequiredPermission

      public String getRequiredPermission()
    • getShopType

      public ShopTrait.ShopType getShopType()
    • getTitle

      public String getTitle()
    • removePage

      public void removePage(int index)
    • setPermission

      public void setPermission(String permission)
    • setShopType

      public void setShopType(ShopTrait.ShopType type)
    • setTitle

      public void setTitle(String title)