Class MinePayPlugin

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
dk.minepay.server.bukkit.MinePayPlugin
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

public class MinePayPlugin extends org.bukkit.plugin.java.JavaPlugin
Main class for the MinePay plugin. This class initializes the MinePay API and the Skript hook if Skript is available.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for the MinePayPlugin class.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the Skript hook if the Skript plugin is available.
    void
     
    void
    Called when the plugin is enabled.

    Methods inherited from class org.bukkit.plugin.java.JavaPlugin

    getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString

    Methods inherited from class org.bukkit.plugin.PluginBase

    equals, getName, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MinePayPlugin

      public MinePayPlugin()
      Constructor for the MinePayPlugin class.
  • Method Details

    • onEnable

      public void onEnable()
      Called when the plugin is enabled. Initializes the MinePay API and Skript hook if Skript is available.
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class org.bukkit.plugin.java.JavaPlugin
    • initSkriptHook

      public void initSkriptHook()
      Initializes the Skript hook if the Skript plugin is available.
    • onDisable

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