@Ilomiswir Are your events registered? Use Bukkit.getPluginManager().registerEvents(this, listenerClass); inside your onEnable() method.
@xelatercero I'm assuming your attempting to check if they have an item in hand repeatedly and then set their speed. Try scheduling a task and...
@Roveral move code inside the second if to an else after checking the gamestarted if(gamestarted){ doStuff(); } else { doOtherStuff(); }
@BeastyBoo some people on this site can jerky. Essentially create a runnable task, and change the order of items using a integer, so for example...
@xlr20ice just add a few ticks of delay (i usually use 4) to the respawn event.
More web development than Bukkit. Anyway, I need a little help getting this down. Currently I have a MySQL database storing stats (kills, deaths,...
@mrgreen33gamer ip? I wanna try it :3
Considering MySql and is delayed query time, compared to yml ill just stick to files thx guys
Okay, for a new plugin I'm developing (not personal for BukkitDev) I have been pondering this question. Would it be faster to query using a MySQL...
@BestMcPlayers pseudo: onCommand(){ if(getConfig().getBoolean("some.path"){ // do stuff }else{ // send message } }
@floop222 go. Learn. Java. Now before its too late. Not knowing the sinplest thing (importing - used in pretty much every .java file) is a bad thing.
@To175 self explanatory if you try it. event#getMessage returns the string entered.
@mysterypotatoguy use a particle packet (PacketPlayOutWorldParticles). I believe Skoinz made a really excellent tutorial on this.
@DemKazoo thanks, looks nice, definately going to use this
@EnveRuleZZ cast event#getEntity() to Player to obtain a player variable.
@tomanik3 make a StringBuilder then use the append method to join strings together. Use stringbuilder#toString() to get a string object.
@Peavalu iterate through event#getDrops(), if its a compass remove it.
@Skionz yea after considering it its a bad idea... my bad
@mythbusterma idk Ive never developed a generator though right after I posted that's I considered the 3 nested for loops and the lag however it...
@mythbusterma but it may look natural?
Separate names with a comma.