Class AdminVoteHelp

java.lang.Object
com.bencodez.advancedcore.api.gui.GUIHandler
com.bencodez.votingplugin.commands.gui.admin.AdminVoteHelp

public class AdminVoteHelp extends com.bencodez.advancedcore.api.gui.GUIHandler
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdminVoteHelp(VotingPluginMain plugin, org.bukkit.command.CommandSender player, int page)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ArrayList<net.md_5.bungee.api.chat.TextComponent>
    adminHelp(org.bukkit.command.CommandSender sender, int page)
    Admin help.
    ArrayList<net.md_5.bungee.api.chat.TextComponent>
    adminHelpText(org.bukkit.command.CommandSender sender)
    Admin help text.
    getChat(org.bukkit.command.CommandSender sender)
     
    void
    onBook(org.bukkit.entity.Player player)
     
    void
    onChat(org.bukkit.command.CommandSender sender)
     
    void
    onChest(org.bukkit.entity.Player player)
     
    void
     

    Methods inherited from class com.bencodez.advancedcore.api.gui.GUIHandler

    colorize, getData, getPlayer, getPlugin, open, sendMessage, sendMessage, sendMessageJson, setData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdminVoteHelp

      public AdminVoteHelp(VotingPluginMain plugin, org.bukkit.command.CommandSender player, int page)
  • Method Details

    • adminHelp

      public ArrayList<net.md_5.bungee.api.chat.TextComponent> adminHelp(org.bukkit.command.CommandSender sender, int page)
      Admin help.
      Parameters:
      sender - the sender
      page - the page
      Returns:
      the array list
    • adminHelpText

      public ArrayList<net.md_5.bungee.api.chat.TextComponent> adminHelpText(org.bukkit.command.CommandSender sender)
      Admin help text.
      Parameters:
      sender - the sender
      Returns:
      the array list
    • getChat

      public ArrayList<String> getChat(org.bukkit.command.CommandSender sender)
      Specified by:
      getChat in class com.bencodez.advancedcore.api.gui.GUIHandler
    • onBook

      public void onBook(org.bukkit.entity.Player player)
      Specified by:
      onBook in class com.bencodez.advancedcore.api.gui.GUIHandler
    • onChat

      public void onChat(org.bukkit.command.CommandSender sender)
      Specified by:
      onChat in class com.bencodez.advancedcore.api.gui.GUIHandler
    • onChest

      public void onChest(org.bukkit.entity.Player player)
      Specified by:
      onChest in class com.bencodez.advancedcore.api.gui.GUIHandler
    • open

      public void open()
      Specified by:
      open in class com.bencodez.advancedcore.api.gui.GUIHandler