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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApi()Get the InvseeAPI instance.Get the Mirror used forEnderSpectatorInventorys.getEnderChestMirror(FileConfiguration config) Deprecated.Get the Mirror used forMainSpectatorInventorys.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 forEnderSpectatorInventorys.getTitleForEnderChest(Target target) Deprecated.usegetTitleForEnderChest()instead.Get the Title used forMainSpectatorInventorys.getTitleForInventory(Target target) Deprecated.usegetTitleForInventory()instead.Internal api.booleanGet whether InvSee++ should support spectating inventories of players who are offline.booleanbooleanonCommand(CommandSender sender, Command command, String alias, String[] args) voidvoidonEnable()booleanGet whether InvSee++ should tabcomplete names of players who are offline.booleanbooleanGet whether InvSee++ should support spectating inventories of players who have not played on the server before.booleanMethods inherited from class 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, toStringMethods inherited from class PluginBase
equals, getName, hashCodeMethods inherited from interface Plugin
getComponentLogger, getDataPath, getLog4JLogger, getSLF4JLogger
-
Field Details
-
TABCOMPLETION_PERMISSION
- See Also:
-
-
Constructor Details
-
InvseePlusPlus
public InvseePlusPlus()
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfacePlugin- Overrides:
onEnablein classJavaPlugin
-
onDisable
public void onDisable()- Specified by:
onDisablein interfacePlugin- Overrides:
onDisablein classJavaPlugin
-
getApi
Get the InvseeAPI instance.- Specified by:
getApiin interfaceInvseePlusPlus- Returns:
- the api
-
itemMaterials
-
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 forMainSpectatorInventorys.- Returns:
- the title
-
getTitleForInventory
-
getTitleForEnderChest
Get the title used forEnderSpectatorInventorys.- Returns:
- the title
-
getTitleForEnderChest
-
getInventoryMirror
Get the Mirror used forMainSpectatorInventorys.- Returns:
- the mirror
-
getInventoryMirror
-
getEnderChestMirror
Get the Mirror used forEnderSpectatorInventorys.- 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:
onCommandin interfaceCommandExecutor- Overrides:
onCommandin classJavaPlugin
-
getEnderChestMirror()instead.