https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Entity.html#addPassenger-org.bukkit.entity.Entity- Entity.addPassenger(Entity) Where...
You're doing Bukkit.getPlayer().sendMessage without checking if the player is null. If the player is not online, that method will return null.
At the end you return false. Return true ends the command. Return false displays the usage. # Edit Rip I was late lol
Try getWorld.getChunkAt().load() Edit: Also it seems a little unconventional to be loading chunks in an onEnable method. Make another method and...
You may have to get the NBT tag using NMS. Look for EntityTag.
Yeah you don't have the P in maxPlayers capitalized. You're not setting it as the right object.
I am not sure what the problem is, you haven't really specified. You should also create a player object instead of putting e.getPlayer() every...
You're going to want to check for the ItemMeta on the player's item in hand. Like this: p.getItemInHand().getItemMeta().getDisplayName(). You can...
You're casting the sender as a player before checking. That can cause errors. You're not doing anything but getting the target player if the...
If it were possible to check a clients version, would it be possible to check for hacked clients? Maybe something in there differs in the client.
It could be an error with worldguard if you have a region set up there. Try running no plugins and see if it still happens.
Default group inherits g:essentials_builder in globalgroups.yml which has the permission essentials.nick.
Maybe a PrepareAnvilEvent could help you? There are getResult and setResult methods, and the getResult can return null so you may be able to do...
Not exactly sure as to why it's doing that, it is probably essentials restricting it. Also post the error. You shouldn't put prefixes in player...
https://bukkit.org/threads/packetplayout-constructors.397793/ PacketPlayOutBlockChange maybe?
Okay thank you both @mcdorli & @NathanWolf
@mcdorli Thank you for replying, but it does not seem to work. Code: if (material.equals(Material.MONSTER_EGG)) { // SpawnEgg egg =...
Hello, it is a while since I've been on the bukkit forums, as I have not encountered many problems since 1.9. However, I have noticed that spawn...
@Xerox262 That would get all the homes, which he could do file.get("homes." + home + ".x"); etc...
for (String home : file.getConfigurationSection("homes").getKeys(false)) {}
Separate names with a comma.