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...
Separate names with a comma.