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...
Look at newboyhun's post(s).
You can reduce the amount of lines :p.
Well lore is stored permanently on items (for all I know), and if you aren't bothered by this, you can have hidden strings in the lore (it does...
ItemStack item = player.getItemInHand();
ItemMeta im = item.getItemMeta();
List<String> lore = im.getLore();
I'd recommend making a users(.yml) file and when a player selects a class store their uuid as a key in the users file then you can set...
Separate names with a comma.