http://lmgtfy.com/?q=change+block+type+bukkit
Have you tried, right? Can you show us the code?
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/material/Sapling.html
Idk how factions actually works. Maybe you can get the players factions name and compare to nearbyplayers factions name
idk if it's right or not, but sometimes I would use: kill = o.getScore("" + kills); I usually use it for broadcastMessages when i don't want to...
Does o.getScore(" "); work for spacer? And maybe killTitle needs to be o.getScore(String.valueOf(kills));
I recommend you to learn java first. You are going wrong way, learning how to make a bukkit plugin without java will give you too much trouble....
Is that possible? (Scoreboard). Like... Score score = objective.getScore("Hello"); score.setScore(double);
Right now i'm using this: And isn't good at all, since the code will stop when a player has more than 1 nearby players, instead of keep looking...
@Zombie_Striker Facepalm, it worked 100x better and easier. lol Thank you, again ;D @EventHandler public void...
I did this and worked... But to update the result item i need to click in a empty slot of anvil inventory. There is a way to update the anvil to...
@Zombie_Striker This is working, but when i try to get the enchants from the books I get null value. if (anvilitems[0] != null && anvilitems[1]...
@Zombie_Striker Looks like the result item isn't in anvilitems[2], so where is it? [IMG]
Yeah. anvilitems[2] still null even if GUI shows item result. [IMG]
@Zombie_Striker The code stops here(With no errors): Bukkit.broadcastMessage("aaasadas"); enc = anvilitems[1].getEnchantments(); /** * Created by...
Your code is: if(p.hasPermission("tab.admin")|| p.isOp()){ doing /tab adminstuff }else if(mimii){ doing /tab reload stuff } Because you have...
Are you getting any errors? Btw you aren't sending any item for the player. Get player inventory, add the itemstack BloxPickaxe
@Zombie_Striker Ok. I have the code and... isn't working... @EventHandler public void anvilInventory(InventoryClickEvent e) {...
Players will see "oh Sharpness 2? I'm out" in item result, so they'll get afraid of trying to put the enchantment
I have a book with Sharpness VII, when i try to put the book enchantment to a Sword anvil puts just Sharpness II, instead of VII. How can I change...
Separate names with a comma.