In my current plugin I wan't that when a player intitialitzes a map the whole map is already explored, so the player doesn't have to...
@timtower good to know that a plugin like this already exists :)
Thank you! I will look up how PerWorldPlugins solved this issue :P
I want to have a plugin which allows you to split one main server into other smaller "Servers" (Worlds) and the plugins for the smaller Servers...
@timtower Thanks for your response, but I want this to work even if the plugins are not mine.
Do you have another suggestion?
I'm currently working on my new plugin and I ran into a problem:
I want to remove a handler for only a single event. I know how to...
@timtower I want to send a plugin message from a player to another server using bungeecords "forward" message
like the title sais, I try to send a plugin message in the Player Quit event. My Problem is that this message won't be send ...
I'm currently working on a cookie clicker plugin - sound pretty simple :)
but I'm stuck with this Issue:
When a player clicks on...
@fullwall or somebody else:
How can I make a NPC use the rod ?
I already tried spawning a fishing_hook and animating Item use but everything...
You could ise @Caderape2 answer or you can use Bukkit#getServer#getPlayer and check if its null or not.
Please mark this thread as solved if this fixed you problem.
Ok i tested a bit and solved your problem:
The problem was that the Bukkit Scheduler is Async. That means that the thrownItem#remove Method is...
Are you using 1.9+?
Please search for an own solution first. Look in the bukkit api or search for threads.
But Anyways here's a small summary:
// Create your...
I don't understand your issue completely but if you really want to add a player to a config use UUIDs.
But if you really want to add player...
This code worked for me:
ItemStack modified = item.clone();
Item thrownItem = p.getWorld().dropItem(p.getLocation(),...
Plugin Developer for the TBN.
@Blackwing_Forged Can you please post your config ?
Seems like bukkit cant find the world. Are you sure that the world exists?
Separate names with a comma.