ProtocolLib
ProtocolLib copied to clipboard
Provides read and write access to the Minecraft protocol with Bukkit.
- [ ] This issue is not solved in a development build **Describe the bug** Search tool does not work due to Javascript blocking (Tested on 3 different browsers) Console...
_Follow this template except for feature requests. Use pastebin when providing /protocol dump and any relevant errors._ Make sure you've done the following: - [Y ] You're using the latest...
- [ ] This issue is not solved in a development build I downloaded this plugin and i have a reason to believe it caused layer7 attacks on my vps
**Make sure you're doing the following** - [X] You're using the latest build for your server version - [ ] This isn't an issue caused by another plugin - [...
**Problem Description** Whenever I try to use ProtocolLib's `ProtocolLibrary.getProtocolManager()` code it always gives me a `NullPointerException` **API method(s) used** `ProtocolLibrary.getProtocolManager` `.createPacket(PacketType.Play.Server.BLOCK_BREAK_ANIMATION);` **Expected behavior** Obviously I expected to get the `ProtocolManager`...
Removed. The fork is the new developer.
I'm listening to PacketType.Play.Server.ENTITY_EQUIPMENT packets and editing the contents to remove information that Mojang never should send to clients. You can the code I'm using [here](https://gist.github.com/ams2990/2f90e9ec83ff5c087547). I have observed that...
 ```java public NametagHelper(Player player, ChatColor teamColor) { this.packet = ProtocolLibrary.getProtocolManager().createPacket(PacketType.Play.Server.SCOREBOARD_TEAM); this.packet.getStrings().write(0, RandomString.make(10)); this.packet.getIntegers().write(0, 0); this.internalStructure = this.packet.getOptionalStructures().readSafely(0).get(); this.internalStructure.getChatComponents().write(0, WrappedChatComponent.fromText(ChatColor.translateAlternateColorCodes('&', "&7ESSA"))); this.internalStructure.getStrings().write(0, "always"); this.internalStructure.getStrings().write(1, "never"); this.internalStructure.getEnumModifier(ChatColor.class, MinecraftReflection.getMinecraftClass("EnumChatFormat")).write(0, teamColor); this.packet.getOptionalStructures().write(0, Optional.of(this.internalStructure));...
i need PacketPlayOutWindowItems event