Just iterate through the array. Create a variable that stores the largest value, and then compare the value from your array and the value stored...
@EventHandler http://wiki.bukkit.org/Event_API_Reference
The closest thing I could come up with was a modified hopper inventory that was renamed: [IMG] http://wiki.vg/Protocol#Open_Window From my...
The simple solution would to not use the reload function of the server. Using /reload is known to cause issues with plugins and memory leaks. If...
Different people learn different ways. For one person going through a book or online documentation will be great, for others it is easier for them...
Just take the time to learn it online. If you "can't find any good youtube videos", then you clearly aren't searching hard enough. Here is a...
That is because you are doing almost everything wrong. The way you are doing it now, if it did work the entire server would lock up until the...
Completely remove the variable "plugin". Since you are trying to do it in your main class, you do not need a pointer the main class. Change:...
You need both. You have to show that the method has a potential to throw an error so that when it is being executed you can catch it, but you also...
Just create a class that extends Exception. Then you can just add "throw new MyException();" and catch it wherever the method is being called. You...
Sounds like you are interested in BufferedReader
Hey guys, I don't post here often, but I need to ask a very simple question. How do you go about preventing players getting stuck in blocks when...
I don't think so. A lot of the larger plugins have links to their own repository though, which you could use.
Separate names with a comma.