UserManager is probably null, can you share all relevant classes?
You might need to elaborate a bit more, what packet are you writing to ?
It's because every scoreboard entry has to be unique, in the context of spaces, "" and "" are the same so if you have a bunch of them like you...
That's not possible as far as I know.
The cape is tied with the skin texture value. If you change someone's skin they will get whatever cape that person has (assuming they have one)
https://rest.wiki/?https://api.mineskin.org/openapi.yml https://www.spigotmc.org/threads/help-with-api-mineskin.390698/
You can only get skin data from a Minecraft account because you need a signed value which only mojang can create. To set a player's skin with an...
You need to send a request to mojang's servers to get a skin texture and signature, then edit the player's gameprofile by inserting these values...
You're casting an entire list of entities to just a single entity object. You need to loop over all the entities.
No, don't do this. The only difference between those lines of code is that the first one is registering a listener as another class, whereas the...
Player#hasLineOfSight is based off of the player's look direction and a specified mob's location, you need to specify a specific entity with a...
What version are you working with? In later iterations of spigot the ProjectileHitEvent has getHitEntity(). If you're on an older version, why not...
I believe you can get all shulker boxes by the shulker box tag. Set<Material> shulkerBoxes = Tag.SHULKER_BOXES.getValues();
Keep in mind PlayerInteractEvent#getPlayer is @NotNullable so it will never return null and thus your check is unnecessary. Also, your code seems...
Any errors in the console?
It's recommended to learn java (at least the basics) before making plugins. It's so hard to help you because you don't entirely know what you're...
You can't cast PlayerInventory to Player, use player#getInventory()
You also need to fill in location data I believe, do some googling and play around with it. It's deprecated because it was removed past 1.8 I...
Something similar pretty much, instead youre using packetplayout PacketContainer packetPlayOutSign = new...
Hard to find 1.8 packet information, try packet.getChatComponentArrays().read(0); EDIT: Yep, that should be it looking at the decompiled...
Separate names with a comma.