Class SpigotPluginQuery

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
septogeddon.pluginquery.spigot.SpigotPluginQuery
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.messaging.PluginMessageListener, org.bukkit.plugin.Plugin, QueryListener, QueryMessageListener

public class SpigotPluginQuery extends org.bukkit.plugin.java.JavaPlugin implements QueryMessageListener, org.bukkit.plugin.messaging.PluginMessageListener
  • Field Details

  • Constructor Details

    • SpigotPluginQuery

      public SpigotPluginQuery()
  • Method Details

    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class org.bukkit.plugin.java.JavaPlugin
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface org.bukkit.plugin.Plugin
      Overrides:
      onDisable in class org.bukkit.plugin.java.JavaPlugin
    • getListeners

      public Set<io.netty.channel.Channel> getListeners()
    • register

      protected void register(boolean tryAgain)
    • getQueryConfig

      public QueryConfiguration getQueryConfig()
    • getEncryption

      public EncryptionToolkit getEncryption()
    • reloadConfig

      public void reloadConfig()
      Specified by:
      reloadConfig in interface org.bukkit.plugin.Plugin
      Overrides:
      reloadConfig in class org.bukkit.plugin.java.JavaPlugin
    • unregister

      protected void unregister()
    • onQueryReceived

      public void onQueryReceived(QueryConnection connection, String channel, byte[] message)
      Description copied from interface: QueryListener
      Called when the connection received a query message
      Specified by:
      onQueryReceived in interface QueryListener
      Parameters:
      connection -
      channel -
      message -
    • reloadKey

      public void reloadKey()
    • onPluginMessageReceived

      public void onPluginMessageReceived(String arg0, org.bukkit.entity.Player arg1, byte[] arg2)
      Specified by:
      onPluginMessageReceived in interface org.bukkit.plugin.messaging.PluginMessageListener