Class Menu
java.lang.Object
net.gcnt.additionsplus.files.menus.Menu
-
Constructor Summary
ConstructorDescriptionMenu(String name, boolean hideInventory, String permission, String noPermissionMsg, List<String> openActions, List<String> closeActions, long cooldown, String cooldownMessage, String title, String openCommand, boolean registerOpenCommand, Object size, boolean cancelClosing, List<CustomItem> items, boolean cancelClick)
-
Method Summary
Modifier and TypeMethodDescriptionstatic Menu
long
getItemBySlot(int slot)
getItems()
getName()
getNoPermissionItemBySlot(int slot)
getSize()
getTitle()
boolean
boolean
boolean
boolean
void
openMenu(org.bukkit.entity.Player player, boolean performOpenActions)
void
openMenu(org.bukkit.entity.Player player, boolean performOpenActions, boolean skipPermissionCheck, boolean skipCooldownCheck)
-
Constructor Details
-
Menu
public Menu(String name, boolean hideInventory, String permission, String noPermissionMsg, List<String> openActions, List<String> closeActions, long cooldown, String cooldownMessage, String title, String openCommand, boolean registerOpenCommand, Object size, boolean cancelClosing, List<CustomItem> items, boolean cancelClick)
-
-
Method Details
-
getByName
-
getItemBySlot
-
getNoPermissionItemBySlot
-
getName
-
isHideInventory
public boolean isHideInventory() -
getPermission
-
getNoPermissionMessage
-
getOpenActions
-
getCloseActions
-
getCooldown
public long getCooldown() -
getCooldownMessage
-
getTitle
-
getOpenCommand
-
isRegisterOpenCommand
public boolean isRegisterOpenCommand() -
getSize
-
isCancelClick
public boolean isCancelClick() -
isCancelClosing
public boolean isCancelClosing() -
getStaticSlots
-
getItems
-
openMenu
public void openMenu(org.bukkit.entity.Player player, boolean performOpenActions) -
openMenu
public void openMenu(org.bukkit.entity.Player player, boolean performOpenActions, boolean skipPermissionCheck, boolean skipCooldownCheck)
-