Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Since you're using 1.17, you can use the PersistentDataContainer of the item to store the item's data - you should use this instead of using the...
I know this thread has already been answered, but you could perhaps try some configuration API's. There are really useful API's out there, here...
AFAIK this method does not exist within 1.8 spigot.
OP, consider using this method instead.
You'd have to send these packets in this order:
PacketPlayOutPlayerInfo - REMOVE_PLAYER packet
PacketPlayOutPlayerInfo - ADD_PLAYER packet...
I'm quite sure this is a guava class, if I'm not mistaken.
It's not too hard to make your own class for it, I'd personally avoid using external...
The ChatHandler object should just be a singleton class, this way you wouldn't need a static field for the Map.
There are several API's you could use, if you want to stay on 1.8, such as https://github.com/tr7zw/Item-NBT-API.
This is a simplistic, work in progress, Menu API for Spigot.
Basic minecraft inventories.
Pagination for inventories:...
NotNV6 submitted a new resource:
[Open Source] - Menu API - A simplistic menu API for Spigot
This is a simplistic, work in progress,...
Do you have JavaPlugin imported in your Game class?
I'm sorry if I'm wrong, but aren't you able to check if the player is in the list of nearby entities (Player#getNearbyEntities(..)) instead of...
Thanks, this helped. It works properly now.
CraftServer#getPlayerExact() checks if the passed parameter (the name) equals player.getName().
Edit: It seems like the spigot api I use as...
As I mentioned before, Bukkit.getPlayer does work properly and Bukkit.getPlayerExact does not. CraftPlayer#getName returns the name of the new...
I'm completely changing the GameProfile of the player to a new one, I'm setting the field of the GameProfile inside of the EntityPlayer class.
Yes, I'm using reflections to change the GameProfile.
Okay, so I'm trying to change the player's GameProfile for reasons, but Bukkit#getPlayerExact breaks by doing so. Things such as Bukkit#getPlayer...
I'll add a gif for that later today.
A pearl through plugin for HCF servers
Made by @NotNV6
Pearling through open fence gates and tripwires