You have to place the "return false;" before the last curly bracket.
Oops, that would only work if you wanted to reduce the range, but not to increase... :/
Use CreatureSpawnEvent and check for SpawnReason!
Oh ok den^^
Yeah & you have to send PacketType.Play.Server.UPDATE_SIGN; not PacketType.Play.Client.UPDATE_SIGN;
Does it throw an exception or why doesn't it work?
In the essentials config there's a chat.format section where it should be configured how the names are displayed.
Do you have Essentials Chat installed?
It's PacketPlayOutSpawnEntityLiving
Yeah, possibly it will fake the packet sent to the player pinging the server Working with BungeeCord, only listen for the ProxyPingEvent and edit...
I think you want ((EntityLiving) ((CraftPlayer) player).getHandle()) .
billman555555 Quote from jd.bukkit.org ItemStack.java @Deprecated 80 public ItemStack(final int type, final int amount, final short damage) {...
xELI7E_SNIPEZx Oh sry, it's getId(), getTypeId() is for ItemStacks
ItemStack (final int type, final int amount, final short damage) so: new ItemStack(Material.GOLDEN_APPLE.getTypeId(), <your_amount>, (short) 1);
Janmm14 I meant the stack trace before that stack trace...
Separate names with a comma.