@Clybzotik Can you show us the stack trace with a screenshot?
@Techno360! The array size you specified is 0, of course you can't add any elements to it. Here are other ways you can do this using a string...
That's what I thought, thanks.
I have the need in my plugin to have 3 RepeatingTasks. One every 0.1 seconds, another every 1 second, and another every 10 seconds. I have no idea...
This page gives a lot of useful information that likely contains what you need to solve your problem:...
"How to use methods from other classes?" Check out this tutorial. https://docs.oracle.com/javase/tutorial/java/javaOO/methods.html
@Zombie_Striker Oh man, that sounds tedious considering there are a lot of non-full blocks lol Well, as far as I can tell that would be the only...
@Zombie_Striker How does one check the mesh of a block? I've never seen anything related to this in bukkit. If I have to do it manually it would...
@Zombie_Striker The Material class's "isSolid" method checks if a location has a physical block, but the problem still consists. Fences are...
@Zombie_Striker I tried this already, and it worked, but not to the precision I wanted. When one location was on the same block as a fence, the...
Hello, I've been stuck on this for a while. I would like to create a method that returns true if there are no blocks between two locations, and...
I laughed so hard at this :D Is that supposed to be a demented for loop, or a demented if statement? Just a word of advice if an integer is equal...
@creepycode https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Bukkit.html The getOnlinePlayers method looks pretty promising if you ask me,...
@Side8StarLite A few things you should know: -You don't need a "plugin enabled" message in your onEnable, it's done automatically -You don't need...
@XFarwar First of all your ArrayList of players should be an ArrayList of strings, the strings being the names/uuid of the players. To add...
Separate names with a comma.