Package net.ess3.api
Interface IEssentials
- All Superinterfaces:
CommandExecutor
,IEssentials
,Plugin
,TabCompleter
,TabExecutor
- All Known Implementing Classes:
Essentials
This interface exposes certain extra methods implemented in the main class that are not implemented in
IEssentials
.
External plugins should use this class instead of Essentials
or IEssentials
where possible.-
Method Summary
Modifier and TypeMethodDescriptionGet theCustomItemResolver
that is currently in use.net.ess3.provider.PotionMetaProvider
Get the potion meta provider for the current platform.net.ess3.provider.SpawnEggProvider
Get the spawn egg provider for the current platform.Get a list of players who are vanished.Methods inherited from interface org.bukkit.command.CommandExecutor
onCommand
Methods inherited from interface com.earth2me.essentials.IEssentials
addReloadListener, broadcastMessage, broadcastMessage, broadcastMessage, broadcastMessage, broadcastTl, broadcastTl, broadcastTl, broadcastTl, broadcastTl, canInteractWith, canInteractWith, getAlternativeCommandsHandler, getBackup, getBalanceTop, getBannerDataProvider, getBiomeKeyProvider, getCommandMap, getContainerProvider, getDamageEventProvider, getFormattedCommandAliasProvider, getI18n, getInventoryViewProvider, getItemDb, getItemUnbreakableProvider, getJails, getKits, getKnownCommandsProvider, getMail, getMaterialTagProvider, getOfflineUser, getOnlineModeProvider, getOnlinePlayers, getOnlineUsers, getPermissionsHandler, getPersistentDataProvider, getPlayerLocaleProvider, getPluginCommand, getRandomTeleport, getScheduler, getSerializationProvider, getServerStateProvider, getSettings, getSignDataProvider, getSpawnerBlockProvider, getSpawnerItemProvider, getSyncCommandsProvider, getTimer, getUpdateChecker, getUser, getUser, getUser, getUser, getUserMap, getUsers, getVanishedPlayers, getWarps, getWorld, getWorldInfoProvider, getWorth, matchUser, onCommandEssentials, onTabCompleteEssentials, reload, runTaskAsynchronously, runTaskLaterAsynchronously, runTaskTimerAsynchronously, scheduleSyncDelayedTask, scheduleSyncDelayedTask, scheduleSyncRepeatingTask, showError
Methods inherited from interface org.bukkit.plugin.Plugin
getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getLogger, getName, getPluginLoader, getResource, getServer, isEnabled, isNaggable, onDisable, onEnable, onLoad, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable
Methods inherited from interface org.bukkit.command.TabCompleter
onTabComplete
-
Method Details
-
getVanishedPlayersNew
Collection<String> getVanishedPlayersNew()Get a list of players who are vanished.- Returns:
- A list of players who are vanished
-
getSpawnEggProvider
net.ess3.provider.SpawnEggProvider getSpawnEggProvider()Get the spawn egg provider for the current platform.- Returns:
- The current active spawn egg provider
-
getPotionMetaProvider
net.ess3.provider.PotionMetaProvider getPotionMetaProvider()Get the potion meta provider for the current platform.- Returns:
- The current active potion meta provider
-
getCustomItemResolver
CustomItemResolver getCustomItemResolver()Get theCustomItemResolver
that is currently in use. Note: external plugins should generally avoid using this. If you want to add custom items from your plugin, you probably want to implement your ownIItemDb.ItemResolver
.- Returns:
- The custom item resolver
-