@mine-care Lol. I've got some really old classes that are not define with publics, statics or finals and they work when being casted. Is it the...
@SuperSniper I mean I changed the ArrayList to a static, but don't those cause memory leaks? Also, I'm trying to prevent the usage of static...
@TomeDM Didn't change a thing. The event will work when I put something outside of it, but won't check for the LIST. @Petersoj I did.
Hi there, So I did several tests with accessing arraylists in different classes just to see if classes were effecting the access, so far there is...
@finalblade1234 Your method seemed to work! Thanks :D!!!! Also, thanks to all of those who have replied :D!
@ProSl3nderMan I think you did it right there, if you didn't, try adding this somewhere before calling the pickRandom() method:...
If you're trying to change the EXP level amount below to level up, that's possible. I'm not sure about making anything above 17 total exp to get a...
@DarthAimbot Firstly, make sure you have imported your API you're using to your plugin, steps are below, then you make that method a Static for...
@Nebuler for(PotionEffect effects : player.getActivePotionEffects())...
I suppose this is a way to heal others? if(lbl.equalsIgnoreCase("heal")){ if(sender instanceof Player){...
Honestly I think using Fanciful is the best solution. You could send some rawtext, but you'll have a lot more to deal with.
What are you trying to do again? Are you trying to check for a certain amount of EXP and a certain LVL to do something?
@adam752 No NullPointerException, if that was the case I would've figured this out easier. The HashMap contains all it's values and keys. The...
This code should return a random player from your desired list: ArrayList<String> test = new ArrayList<String>(); public Player...
@The_BloodHound You can just create an entire class dedicated to all your commands, and register them from the onEnable method. @Override...
Separate names with a comma.