I'm not sure what the exact vector for 25 blocks would be but doing player.setVelocity(new Vector(0, 4, 0)) should launch them fairly high....
KingFaris11 Thanks for correcting me, my bad.
Isn't it an array of online players (so .length)? KingFaris11
As do I, lol @ .size() fail...
FOEVERWAR73 Bukkit.getOnlinePlayers().length
Spemble Assuming block = player.getLocation().getBlock(), if (block.getType().equals(Material.LAPIS_BLOCK))
Spemble Just do player.getLocation().getBlock()
Are you using eclipse?
Fhbgsdhkfbl I use saveDefaultConfig() in my onEnable() and use saveConfig() in my onDisable(), make sure you're saving the file in your IDE with...
JackTheDev Post all of your code so we can help you better. Please post a stack trace of your error too.
Listen to PlayerJoinEvent and check if they've played before using event.getPlayer().hasPlayedBefore(). Wingas
This should be in plugin requests. Morganv123
Dragonphase The edit :p. I'll admit it was incorrect.
...mine is actually correct...
You do realize that I gave you the first correct answer, right? No problem though...
Separate names with a comma.