Bukkit#getOfflinePlayer?
Yes, it is empty. How would I get the duration then? :(
Hello, I simply want to get the potion's duration of what was splashed. I tried doing for (PotionEffect effect : ((PotionMeta)...
You can do Bukkit.dispatchCommand(p, "say <message> / command"); Nvm
You could store all of the blocks in an arraylist, their locations ofcourse, and remove the last one every so often.
@thechrisanator You can use a InventoryClickEvent and make an if statement whether it was a shiftclick, if it was, do whatever.
I don't think it's with the saveDefaultConfig(). Is it Config.options.copy DefaultConfig()? I'm pretty sure that's only used to create a new one...
Im making this plugin and I can't seem to get the armor equiped. I've tried e.getCurrentItem and such and none of it worked. Please help me, sorry...
@EloGamerr Maybe you could make a SplashPotionEvent and check if the hit player(s) is in a hashmap with the other or however you're storing the...
@davekov5 Don't know if this awnser's you're question but you don't need a curly bracket for returning something. Simply just return it like so:...
@_TheTimelord_ Can I see some of you're code? Maybe I'll see what you're trying to do better.
I'm not sure if you're using an PlayerDropItemEvent or not. But if you are, I think you could get the drop, make an instanceof, like...
Okay, so I think I get what you're trying to say, is that you want the lore of your custom inventory, or Bukkit#createInventory() to be updated....
@Funnylizard99 You're command boolean is incorrect. You have public boolean onCommand(CommandSender arg0, Command arg1, String arg2, String[]...
He bought some premuim client, and I guess it can manipulate players or something. It pops up in the tablist, but it was gone ever since I...
No, I don't. I remember my friend logging on with a hacked client, it created a duplicate of him tho. Maybe it affected the server? It didn't do...
Okay, I'm going to try what you said. But yes, I print the UUID's and they are both different and I checked them and they are correct with...
I'm not getting an error in console, but It just doesn't send the player a message. Also, I know I don't need to cast it to an aplyer, I was just...
Hey, it's me again. I know I asked 2 questions in like the past hour but I can't continue with my development without it, because I've come across...
Yeah, I tried that, but how do I check the key's value and check the value's key. OH, I GET IT NOW! Thanks man, I love you. What I did was I...
Separate names with a comma.