Class RewardGUIConfirmation
java.lang.Object
com.bencodez.advancedcore.api.gui.GUIHandler
com.bencodez.advancedcore.command.gui.RewardGUIConfirmation
-
Constructor Summary
ConstructorsConstructorDescriptionRewardGUIConfirmation(AdvancedCorePlugin plugin, org.bukkit.command.CommandSender player, String title) -
Method Summary
Modifier and TypeMethodDescriptiongetChat(org.bukkit.command.CommandSender sender) Gets the chat representation of the GUI.voidonBook(org.bukkit.entity.Player player) Opens the GUI as a book for the player.voidonChat(org.bukkit.command.CommandSender sender) Opens the GUI as chat messages for the command sender.voidonChest(org.bukkit.entity.Player player) Opens the GUI as a chest inventory for the player.abstract voidonConfirm(org.bukkit.entity.Player p) abstract voidonDeny(org.bukkit.entity.Player p) voidonDialog(org.bukkit.entity.Player player) Opens the GUI as a dialog for the player.voidopen()Opens the GUI using the default method.Methods inherited from class com.bencodez.advancedcore.api.gui.GUIHandler
colorize, open, sendMessage, sendMessage, sendMessageJson, setData
-
Constructor Details
-
RewardGUIConfirmation
public RewardGUIConfirmation(AdvancedCorePlugin plugin, org.bukkit.command.CommandSender player, String title)
-
-
Method Details
-
getChat
Description copied from class:GUIHandlerGets the chat representation of the GUI.- Specified by:
getChatin classGUIHandler- Parameters:
sender- the command sender- Returns:
- the list of chat messages
-
onBook
public void onBook(org.bukkit.entity.Player player) Description copied from class:GUIHandlerOpens the GUI as a book for the player.- Specified by:
onBookin classGUIHandler- Parameters:
player- the player
-
onChat
public void onChat(org.bukkit.command.CommandSender sender) Description copied from class:GUIHandlerOpens the GUI as chat messages for the command sender.- Specified by:
onChatin classGUIHandler- Parameters:
sender- the command sender
-
onDialog
public void onDialog(org.bukkit.entity.Player player) Description copied from class:GUIHandlerOpens the GUI as a dialog for the player.- Specified by:
onDialogin classGUIHandler- Parameters:
player- the player
-
onChest
public void onChest(org.bukkit.entity.Player player) Description copied from class:GUIHandlerOpens the GUI as a chest inventory for the player.- Specified by:
onChestin classGUIHandler- Parameters:
player- the player
-
onConfirm
public abstract void onConfirm(org.bukkit.entity.Player p) -
onDeny
public abstract void onDeny(org.bukkit.entity.Player p) -
open
public void open()Description copied from class:GUIHandlerOpens the GUI using the default method.- Specified by:
openin classGUIHandler
-