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...
Flamedek https://forums.bukkit.org/threads/hidden-lore-attributes.219156/ Look at newboyhun's post(s).
mythbusterma 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(); lore.add("anything");...
GEETAFF 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.