@jeroenh2003 You must depend on any plugin which contains classes you reference to in your plugin. You do this in your plugin's plugin.yml, with...
@Evonoucono getDirection() will return a vector which is the direction the player is currently looking. It sounds like what you want is to shoot...
@bc112354 If you are talking about the server's memory or processing power you can use the Runtime class (this is a java class, can be used for...
@Eos I'm a little late to post to this but what you should do is just put into each of your methods that change a player's balance to make it also...
@mythbusterma I don't really know how Bukkit threads work. How would I be running a query on the server's main thread and how would I not do that.
I don't really know what you mean by don't perform SQL queries on the main thread. I'm already storing data from the SQL server rather than always...
(I'm probably going to be very hard to understand during this post, just ask if you don't understand anything) So I've been working on a server...
http://pastebin.com/s0VDS9ZD This might be what you are looking for
In a class I have 2 events, one is a block break event and the other an inventory click. The inventory click event works fine but the block break...
@TheCodingCat Sorry if I've offended you I didnt mean to. @mythbusterma You didn't say anything about how that can cause an issue. The only...
@mythbusterma Look if you don't know why the hashmap is not working please would you kindly, piss off
@TheCodingCat @mythbusterma I've already said that the command registers and works fine, the only problem is the HASHMAP not registering my command
@Mythbuster ... yes... I don't have one
@TheCodingCat @mythbusterma Ok I dont have a class constructor? Why would I need one for this?
@mythbusterma Is this what you're looking for? public class WhisperCmd implements CommandExecutor {
@mythbusterma What? The class has nothing to do with it, the commands work but something is going wrong with the hash map and I don't know why
@mythbusterma Of course...
@galaipa for (String s : args) { if (ex.contains(s)) { // Found a disallowed argument } } This help?
@mythbusterma When I was testing it and I printed out the hashmap, it was empty. But I don't see why it should be.
for (int i = 0; i < amountLoopTimes; i++) { secondList.add(firstList.get(0)); firstList.remove(0); continue; } This will loop through...
Separate names with a comma.