Hmm, I don't think CommandSender has the method .getUniqueId() try using ((Player)sender).getUniqueId() However if you don't check to see if the...
Try using Long instead of long, long is a java primitive and Long does mostly the same thing but it is an object. As far as I am aware, Hashmaps...
Does: player.chat(message); Fire a chat event? If so, then you have an infinite loop... well infinite until a crash xD Perhaps instead of making...
The problem you are having is most likely because you have joined the server at least once before server started up with the plugin, so...
Right, but what do you have in your config file for port? Lets take an example server, hosted at localhost, with the database minecraft, username...
hmm, It looks like you might be having issues with your config file, what port are you trying to use? (The second error was caused because...
I can't look too closely until I come back from class, but what are the MySQL errors? Can you pinpoint where the error is coming from? ie. From...
If you are using husky and tip's MySQL library from here (I found this thread from your post there) then you should just be able to make up a...
lol, I think your problem might be that you are using forward slash, "/", instead of backslash "\" :)
lol, sorry i forgot. Try changing the line writer.write(key + ":" + locations.get(key)); to: writer.append(key + ":" + locations.get(key) + "\n");...
Ah! of course, i forgot that EntityDamageByEntityEvent extended EntityDamageEvent :) xxNightlordx So your code would be: public void ondeath...
That particular method, of LivingEntity, returns a Player, which means it can't be used to determine if it was a zombie that killed the player.
? the PlayerDeathEvent does not contain a .getKiller() method...
Try using the Block.getState() It gives you a "snapshot" of the block, as it is, which can then be restored later (With BlockState.update()) :)...
It's not that easy lol, the event does not contain the entity that killed the player, and the .getKiller() only returns player AND the...
Separate names with a comma.