public interface InternalManager extends ProtocolManager
Modifier and Type | Method and Description |
---|---|
void |
close()
Called when ProtocolLib is closing.
|
PacketFilterManager.PlayerInjectHooks |
getPlayerHook()
Retrieves how the server packets are read.
|
boolean |
isDebug()
Determine if debug mode is enabled.
|
void |
registerEvents(org.bukkit.plugin.PluginManager manager,
org.bukkit.plugin.Plugin plugin)
Register this protocol manager on Bukkit.
|
void |
setDebug(boolean debug)
Set whether or not debug mode is enabled.
|
void |
setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
Sets how the server packets are read.
|
addPacketListener, broadcastServerPacket, broadcastServerPacket, broadcastServerPacket, createPacket, createPacket, createPacket, createPacket, createPacketConstructor, createPacketConstructor, getAsynchronousManager, getEntityFromID, getEntityTrackers, getMinecraftVersion, getPacketListeners, getReceivingFilters, getReceivingFilterTypes, getSendingFilters, getSendingFilterTypes, isClosed, recieveClientPacket, removePacketListener, removePacketListeners, sendServerPacket, updateEntity
recieveClientPacket, recieveClientPacket, sendServerPacket, sendServerPacket
PacketFilterManager.PlayerInjectHooks getPlayerHook()
void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
playerHook
- - the new injection method for reading server packets.void registerEvents(org.bukkit.plugin.PluginManager manager, org.bukkit.plugin.Plugin plugin)
manager
- - Bukkit plugin manager that provides player join/leave events.plugin
- - the parent plugin.void close()
boolean isDebug()
void setDebug(boolean debug)
debug
- - TRUE if it is, FALSE otherwise.