Ah, sorry, should have mentioned this earlier. You need to copy this class and AbstractPacket into your plugin.
That packet was renamed to WrapperPlayServerNamedSoundEffect in PacketWrapper.
Thanks. :) Really? This seems to work fine for me: Player p = (Player) sender; PacketContainer packet = new...
The terminology might be a bit confusing here, but a packet of type PacketType.Play.Server.PLAYER_INFO is a SERVER packet - a packet created by...
Pass in a reference to your plugin instead of "this" in line 118.
Try adding a packet listener for all sent packets (except MAP_CHUNK and MAP_CHUNK_BULK), preferably in a world with not many entities (such as The...
Thanks. :) As long as they're using Netty, intercepting packets should continue to be fairly straight forward. The question is how long it will...
I also have a bunch of more specific examples and tutorials here, including how to modify biome data. :)
Not really, just compare the average time complexity of a binary search tree and a hash table. Basically, the average time it takes to look up or...
I think you've imported the wrong PlayerInventory. It should be org.bukkit.inventory.PlayerInventory, not NMS.inventory: import...
Metadatable is probably the best fit here, as it does survive server reloads but not server restarts (download): package com.comphenix.example;...
Do not create a new instance of Main() i KitSelector (line 19). Instead, pass in the main class constructed by Bukkit. Give KitSelector the...
Sure, but you can also copy ExpireHashMap into your project if you don't mind GPL. Still, I think TimedList could have been salvaged - if you'd...
I don't see why you need to create an entire background thread for every TimedList - it introduces concurrency for no good reason, wastes a lot of...
In order to do that, you'd have your actual player avatar invisible, and then spawn a new player entity with the correct skin and name, while...
ProtocolLib 3.4.0 Jenkins (#257) This is a major release with a couple of bug fixes and new features that may be useful for disguise plugins,...
It depends, what kind of features do you need? Do you need to support older server software? Is a simple and minimal server installation (or none...
It doesn't support offline servers, unfortunately. That can be rectified, but it would be against the forum policy to post that here. Then it's...
Are you sure changeDisplay() is actually executed? Try adding a print statement with a specific message after that line, and see if you get that...
You could proxy the CraftServer singleton, by replacing the existing instance in the Bukkit class with reflection. Then you just copy the...
Separate names with a comma.