public class ArgumentMenu extends SimpleMenu
config, stringReplacers, variableManager| Constructor and Description |
|---|
ArgumentMenu(me.hsgamer.hscore.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.bukkit.entity.Player player)
Close the menu
|
void |
closeAll()
Close/Clear all inventories of the type
|
boolean |
create(org.bukkit.entity.Player player,
String[] args,
boolean bypass)
Called when opening the menu for the player
|
createButtonMap, refreshButtonMapOnCreategetButtonMap, getGUIHolder, updatecanBeReplaced, getConfig, getName, getParentMenu, getStringReplacers, getVariableManager, replace, setParentMenupublic boolean create(org.bukkit.entity.Player player,
String[] args,
boolean bypass)
Menucreate in class BaseInventoryMenu<me.hsgamer.hscore.bukkit.gui.simple.SimpleButtonMap>player - the player involved inargs - the arguments from the open commandbypass - whether the plugin ignores the permission checkpublic void close(org.bukkit.entity.Player player)
Menuclose in class BaseInventoryMenu<me.hsgamer.hscore.bukkit.gui.simple.SimpleButtonMap>player - the player involved inpublic void closeAll()
MenucloseAll in class BaseInventoryMenu<me.hsgamer.hscore.bukkit.gui.simple.SimpleButtonMap>Copyright © 2023. All rights reserved.