When I enter it doesn't say anything but when I pass more then 10 it prints.
The distance is passed 10.
What do you mean?
How can I check if a player enters or exits the location? I've tried this but it says you have exited when you enter....
How do I make an npc talk using CitizensAPI? This is what I got so far but it doesn't work. npc.addTrait(Text.class);...
So I'm trying to check if a certain entity exists but it's saying it exists and doesn't exist at the same time. Location location = new...
The only code I have is above. What kind of list? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@Override public void onEnable() { getLogger().info("onEnable has been invoked!"); getServer().getPluginManager().registerEvents(this,...
I only have it registered once.
edit: so I checked and the event is running twice, why? So whenever a entity dies it drops an custom item but the problem is that it's dropping...
It doesn't detect if any npc's exist in the world and yes I've tried printing out the names.
I've tried this code but it doesn't work. for(Entity npc : Bukkit.getWorld("world").getEntities()) {...
By name.
How can I check if an NPC exists? I'm using citizens API.
@timtower I think the issue has to do something with the projectiles and explosions. I've tried adding the player into a hashmap but the same...
Separate names with a comma.