Package com.janboerman.invsee.spigot
Class InvseePlusPlus
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
com.janboerman.invsee.spigot.InvseePlusPlus
- All Implemented Interfaces:
InvseePlusPlus
,io.papermc.paper.plugin.lifecycle.event.LifecycleEventOwner
,CommandExecutor
,TabCompleter
,TabExecutor
,Plugin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetApi()
Get the InvseeAPI instance.Get the Mirror used forEnderSpectatorInventory
s.getEnderChestMirror
(FileConfiguration config) Deprecated.Get the Mirror used forMainSpectatorInventory
s.getInventoryMirror
(FileConfiguration config) Deprecated.usegetInventoryMirror()
instead.Get the logging options.getLogOptions
(FileConfiguration config) Deprecated.use your own player database instead.getPlaceholderPalette
(InvseePlatform platform, FileConfiguration config) Get the title used forEnderSpectatorInventory
s.getTitleForEnderChest
(Target target) Deprecated.usegetTitleForEnderChest()
instead.Get the Title used forMainSpectatorInventory
s.getTitleForInventory
(Target target) Deprecated.usegetTitleForInventory()
instead.Internal api.boolean
Get whether InvSee++ should support spectating inventories of players who are offline.boolean
boolean
onCommand
(CommandSender sender, Command command, String alias, String[] args) void
void
onEnable()
boolean
Get whether InvSee++ should tabcomplete names of players who are offline.boolean
boolean
Get whether InvSee++ should support spectating inventories of players who have not played on the server before.boolean
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLifecycleManager, getLogger, getPlugin, getPluginLoader, getPluginMeta, getProvidingPlugin, getResource, getServer, getTextResource, init, init, isEnabled, isNaggable, onLoad, onTabComplete, reloadConfig, 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
Methods inherited from interface org.bukkit.plugin.Plugin
getComponentLogger, getDataPath, getLog4JLogger, getSLF4JLogger
-
Constructor Details
-
InvseePlusPlus
public InvseePlusPlus()
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnable
in interfacePlugin
- Overrides:
onEnable
in classJavaPlugin
-
onDisable
public void onDisable()- Specified by:
onDisable
in interfacePlugin
- Overrides:
onDisable
in classJavaPlugin
-
getApi
Get the InvseeAPI instance.- Specified by:
getApi
in interfaceInvseePlusPlus
- Returns:
- the api
-
materials
-
tabCompleteOfflinePlayers
public boolean tabCompleteOfflinePlayers()Get whether InvSee++ should tabcomplete names of players who are offline.- Returns:
- true if tabcompletion is enabled for offline players, otherwise false
-
tabCompleteOfflinePlayers
-
offlinePlayerSupport
public boolean offlinePlayerSupport()Get whether InvSee++ should support spectating inventories of players who are offline.- Returns:
- true if spectating offline players' inventories is supported, otherwise false
-
offlinePlayerSupport
-
unknownPlayerSupport
public boolean unknownPlayerSupport()Get whether InvSee++ should support spectating inventories of players who have not played on the server before.- Returns:
- true if spectating unknown players is supported, otherwise false
-
unknownPlayerSupport
-
getTitleForInventory
Get the Title used forMainSpectatorInventory
s.- Returns:
- the title
-
getTitleForInventory
-
getTitleForEnderChest
Get the title used forEnderSpectatorInventory
s.- Returns:
- the title
-
getTitleForEnderChest
-
getInventoryMirror
Get the Mirror used forMainSpectatorInventory
s.- Returns:
- the mirror
-
getInventoryMirror
-
getEnderChestMirror
Get the Mirror used forEnderSpectatorInventory
s.- Returns:
- the mirror
-
getEnderChestMirror
-
getLogOptions
-
getLogOptions
-
getPlaceholderPalette
-
getPlaceholderPalette
-
getTitleForInventory
Deprecated.usegetTitleForInventory()
instead. -
getTitleForEnderChest
Deprecated.usegetTitleForEnderChest()
instead. -
getInventoryTemplate
Deprecated.usegetInventoryMirror()
instead. -
getEnderChestTemplate
Deprecated.usegetEnderChestMirror()
instead. -
getOfflinePlayerProvider
Deprecated.use your own player database instead. -
onCommand
- Specified by:
onCommand
in interfaceCommandExecutor
- Overrides:
onCommand
in classJavaPlugin
-
getEnderChestMirror()
instead.