Package net.essentialsx.discord
Class EssentialsDiscord
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
net.essentialsx.discord.EssentialsDiscord
- All Implemented Interfaces:
com.earth2me.essentials.IEssentialsModule
,CommandExecutor
,TabCompleter
,TabExecutor
,Plugin
public class EssentialsDiscord
extends JavaPlugin
implements com.earth2me.essentials.IEssentialsModule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.earth2me.essentials.IEssentials
getEss()
static Logger
boolean
boolean
boolean
isPAPI()
boolean
onCommand
(CommandSender sender, Command command, String label, String[] args) void
void
onEnable()
void
onReload()
onTabComplete
(CommandSender sender, Command command, String alias, String[] args) 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, onLoad, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
-
Constructor Details
-
EssentialsDiscord
public EssentialsDiscord()
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnable
in interfacePlugin
- Overrides:
onEnable
in classJavaPlugin
-
getWrappedLogger
-
onReload
public void onReload() -
isInvalidStartup
public boolean isInvalidStartup() -
getEss
public com.earth2me.essentials.IEssentials getEss() -
getSettings
-
isPAPI
public boolean isPAPI() -
isEssentialsChat
public boolean isEssentialsChat() -
onDisable
public void onDisable()- Specified by:
onDisable
in interfacePlugin
- Overrides:
onDisable
in classJavaPlugin
-
onCommand
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) - Specified by:
onCommand
in interfaceCommandExecutor
- Overrides:
onCommand
in classJavaPlugin
-
onTabComplete
@Nullable public List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, @NotNull String[] args) - Specified by:
onTabComplete
in interfaceTabCompleter
- Overrides:
onTabComplete
in classJavaPlugin
-