Heres your problem. if(team1.contains(online1.getName()) && (team2.contains(online1.getName()))){ I'm assuming a player can't be in team1 and...
Do some checks first. See if the two if structures are returning true in the onThrow method. Make sure those are working correctly first. This way...
Make a String outside of your for each loop. Just make it empty, then add the names to it individually then send the message to the player. So...
Samthelord1, I prefer doing plugins on my own. (I HATE using Github and all that) Thank you for the offer though :) TheShadbusher, That would be...
You need to make it. getServer().getPluginManager().registerEvents(new LauncherEventHandler(this), this); because your listener needs to be...
TheShadbusher, I've gotten a good start on it so hopefully they'll get to play it soon!
Someone can correct me if I'm wrong but I believe making it final Player player = (Player) sender; will work. If I'm correct you can do this...
I actually really like this idea. I'll send you a pm.
That's similar to what I did. I saved the paths to folders in my config and it loops through the paths, then the folders in the paths, so on so...
Hello! So for the plugin I'm working on, I need to load .yml files. This is simple enough to do, however, I have allowed players to create...
riking, What if you just add lore to every item and make the lore an empty String. That might work, would it not?
What i recommend you do is debug. Put println's after each if and see how many it prints out, then you can get a more specific as to where the...
else { if(e.getClickedBlock().getType() == Material.material) { // Your code } }
xTrollxDudex, Haha, I think something went a little wrong in the code there :p Nonetheless, I got all the code out, it works. Thanks!
Hello! So for the plugin I'm working on, I am trying to make a LivingEntity walk to a location. So I looked at some code and found this....
Separate names with a comma.