Package me.therealkeyis
Class MinecraftPlugin
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
me.therealkeyis.MinecraftPlugin
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
,org.bukkit.plugin.Plugin
public class MinecraftPlugin
extends org.bukkit.plugin.java.JavaPlugin
Discord Chat Minecraft Plugin
Main class that handles chat interactions
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
-
Field Details
-
DEFAULT_DISCORD_TOKEN
- See Also:
-
DEFAULT_DISCORD_CHANNEL
- See Also:
-
DEFAULT_DISCORD_VOICE
- See Also:
-
DEFAULT_DISCORD_CATEGORY
- See Also:
-
DEFAULT_DISCORD_SERVER
- See Also:
-
-
Constructor Details
-
MinecraftPlugin
public MinecraftPlugin()
-
-
Method Details
-
onEnable
public void onEnable()Handles initialization of the plugin Sets up defaults and configures the DiscordBot class- Specified by:
onEnable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onEnable
in classorg.bukkit.plugin.java.JavaPlugin
-
onDisable
public void onDisable()Executes cleanup on server stop- Specified by:
onDisable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onDisable
in classorg.bukkit.plugin.java.JavaPlugin
-