Package com.earth2me.essentials
Interface IEssentials
- All Superinterfaces:
CommandExecutor
,Plugin
,TabCompleter
,TabExecutor
- All Known Subinterfaces:
IEssentials
- All Known Implementing Classes:
Essentials
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addReloadListener
(IConf listener) int
broadcastMessage
(IUser sender, String message) int
broadcastMessage
(IUser sender, String message, Predicate<IUser> shouldExclude) int
broadcastMessage
(String message) int
broadcastMessage
(String permission, String message) void
broadcastTl
(IUser sender, String tlKey, Object... args) void
broadcastTl
(IUser sender, String permission, String tlKey, Object... args) void
broadcastTl
(IUser sender, Predicate<IUser> shouldExclude, boolean parseKeywords, String tlKey, Object... args) void
void
broadcastTl
(String tlKey, Object... args) boolean
canInteractWith
(CommandSource interactor, User interactee) boolean
canInteractWith
(User interactor, User interactee) getI18n()
getJails()
getKits()
getMail()
getOfflineUser
(String name) getPluginCommand
(String cmd) getTimer()
Deprecated.Deprecated.getUsers()
Deprecated.getWarps()
getWorth()
boolean
onCommandEssentials
(CommandSender sender, Command command, String commandLabel, String[] args, ClassLoader classLoader, String commandPath, String permissionPrefix, IEssentialsModule module) onTabCompleteEssentials
(CommandSender sender, Command command, String commandLabel, String[] args, ClassLoader classLoader, String commandPath, String permissionPrefix, IEssentialsModule module) default <P extends net.ess3.provider.Provider>
Pvoid
reload()
runTaskLaterAsynchronously
(Runnable run, long delay) runTaskTimerAsynchronously
(Runnable run, long delay, long period) int
int
scheduleSyncDelayedTask
(Runnable run, long delay) int
scheduleSyncRepeatingTask
(Runnable run, long delay, long period) void
showError
(CommandSource sender, Throwable exception, String commandLabel) Methods inherited from interface org.bukkit.command.CommandExecutor
onCommand
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
-
addReloadListener
-
reload
void reload() -
getCommandMap
Map<String,IEssentialsCommand> getCommandMap() -
onTabCompleteEssentials
List<String> onTabCompleteEssentials(CommandSender sender, Command command, String commandLabel, String[] args, ClassLoader classLoader, String commandPath, String permissionPrefix, IEssentialsModule module) -
onCommandEssentials
boolean onCommandEssentials(CommandSender sender, Command command, String commandLabel, String[] args, ClassLoader classLoader, String commandPath, String permissionPrefix, IEssentialsModule module) -
getUser
Deprecated. -
getUser
-
getUser
-
getUser
-
matchUser
User matchUser(Server server, User sourceUser, String searchTerm, Boolean getHidden, boolean getOffline) throws PlayerNotFoundException - Throws:
PlayerNotFoundException
-
canInteractWith
-
canInteractWith
-
getI18n
I18n getI18n() -
getOfflineUser
-
getWorld
-
broadcastMessage
-
broadcastMessage
-
broadcastMessage
-
broadcastMessage
-
broadcastTl
-
broadcastTl
-
broadcastTl
-
broadcastTl
-
broadcastTl
-
getSettings
ISettings getSettings() -
getScheduler
BukkitScheduler getScheduler() -
getJails
IJails getJails() -
getWarps
IWarps getWarps() -
getWorth
Worth getWorth() -
getBackup
Backup getBackup() -
getKits
Kits getKits() -
getRandomTeleport
RandomTeleport getRandomTeleport() -
getUpdateChecker
UpdateChecker getUpdateChecker() -
runTaskAsynchronously
-
runTaskLaterAsynchronously
-
runTaskTimerAsynchronously
-
scheduleSyncDelayedTask
-
scheduleSyncDelayedTask
-
scheduleSyncRepeatingTask
-
getPermissionsHandler
PermissionsHandler getPermissionsHandler() -
getAlternativeCommandsHandler
AlternativeCommandsHandler getAlternativeCommandsHandler() -
showError
-
getItemDb
IItemDb getItemDb() -
getUsers
IUserMap getUsers() -
getUserMap
Deprecated. -
getBalanceTop
BalanceTop getBalanceTop() -
getTimer
EssentialsTimer getTimer() -
getMail
MailService getMail() -
getVanishedPlayers
Deprecated.UseIEssentials.getVanishedPlayersNew()
where possible.Get a list of players who are vanished.- Returns:
- A list of players who are vanished
-
getOnlinePlayers
Collection<Player> getOnlinePlayers() -
getOnlineUsers
-
getPluginCommand
-
getProviders
ProviderFactory getProviders() -
provider
-
IEssentials.getVanishedPlayersNew()
where possible.