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....
Thanks for correcting me, my bad.
Isn't it an array of online players (so .length)? KingFaris11
As do I, lol @ .size() fail...
Assuming block = player.getLocation().getBlock(),
Just do player.getLocation().getBlock()
Are you using eclipse?
I use saveDefaultConfig() in my onEnable() and use saveConfig() in my onDisable(), make sure you're saving the file in your IDE with...
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
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.