As timtower said its not possible withing a plugin, but if you're using spigot there is a auto-restart option in the configuration that starts the...
Well, you first need a space after /test deny " " p1.getDisplayName(). Also can you send a gif or a picture of trying it so we get the full picture?
compare what exactly? Does each ItemStack have some sort of ID?
Really weird that on the drop event it is an Entity, but the drops on player death are a ItemStack.
is that the only way to do it? it seems kinda of iffy
I want to remove player items off of the ground after a few minutes when they die but the drops are a ItemStack and I can't remove ItemStack off...
Alright, thanks for the help. Will look to see if I'm doing any of those.
I just want to create lots of objects and save them and do this over and over again and look for memory leaks, or ways to improve saving.
I'm looking for a way to stress test my plugins with the use of commands, chunk generation, etc. I've looked on other sites and they use bot's...
1) Add the people you don't want attacked in a List of some sort using their UUID. 2) Using the EntityDamageByEntityEvent check if the person hit...
What do you mean? I don't think minecraft has a set worldborder.
In your picture your args[0] is the string "text" not "redshirt" and in your method you are returning null which is why you're getting...
Also I'm pretty sure Factions has custom events that detect when a player leaves or enters a claim.
Mark this as solved if your issue is resolved.
If you are using the #contains() method it will return anything that has the character '1' in it, so you would probably have to do #equals().
The reason most people say not to sure the player object in a list or map is because most people don't remove them correctly after they are done...
Why don't you just save the ItemStack? That contains everything you are trying to save.
It's actually getType() ==
Please use the code tag so the code is more clear.
Why are you comparing the WORLD, compare the NAME. Thats like the fifth time event.getPlayer().getWorld().getName().equalsIgnoreCase("world");
Separate names with a comma.