Class RewardGUIConfirmation

java.lang.Object
com.bencodez.advancedcore.api.gui.GUIHandler
com.bencodez.advancedcore.command.gui.RewardGUIConfirmation

public abstract class RewardGUIConfirmation extends GUIHandler
  • Constructor Details

    • RewardGUIConfirmation

      public RewardGUIConfirmation(AdvancedCorePlugin plugin, org.bukkit.command.CommandSender player, String title)
  • Method Details

    • getChat

      public ArrayList<String> getChat(org.bukkit.command.CommandSender sender)
      Description copied from class: GUIHandler
      Gets the chat representation of the GUI.
      Specified by:
      getChat in class GUIHandler
      Parameters:
      sender - the command sender
      Returns:
      the list of chat messages
    • onBook

      public void onBook(org.bukkit.entity.Player player)
      Description copied from class: GUIHandler
      Opens the GUI as a book for the player.
      Specified by:
      onBook in class GUIHandler
      Parameters:
      player - the player
    • onChat

      public void onChat(org.bukkit.command.CommandSender sender)
      Description copied from class: GUIHandler
      Opens the GUI as chat messages for the command sender.
      Specified by:
      onChat in class GUIHandler
      Parameters:
      sender - the command sender
    • onDialog

      public void onDialog(org.bukkit.entity.Player player)
      Description copied from class: GUIHandler
      Opens the GUI as a dialog for the player.
      Specified by:
      onDialog in class GUIHandler
      Parameters:
      player - the player
    • onChest

      public void onChest(org.bukkit.entity.Player player)
      Description copied from class: GUIHandler
      Opens the GUI as a chest inventory for the player.
      Specified by:
      onChest in class GUIHandler
      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: GUIHandler
      Opens the GUI using the default method.
      Specified by:
      open in class GUIHandler