@MCWarmup you can just replace a string with another string. The type of (Damageable) p).getHealth() is double. Just replace ((Damageable)...
@Tipper_ I believe you put your 4th listener into your third ones method. Edit: Ninja'd by CraftCreeper ;)
Maybe because nobody is understanding what you are trying to do?? Your description makes no sense at all. Please give a better explanation and...
In the new bukkit versions "Bukkit.getOnlinePlayers()" returns a collection, no longer an array. Also for the "targetP" method i would rather do...
@thefrooh Yep you can stop block breaking by cancelling the interact event You could also check this yourself by cancelling all interact events...
@Tecno_Wizard Nexus :p
Sure: https://github.com/Bukkit/mc-dev/tree/master/net/minecraft/server Here you can have a look at all the mc-server files from version 1.7.5 I...
[IMG] This is a screenshot from the EntityFishingHook class and since the field "hooked" is just an Entity you should be able to attach...
The file exists? Else file.createNewFile(); before that make sure the folder exists file.getParentFile().mkdirs(); @BurnyDaKath
@SinestroWhite Java is CaSe-SeNsItIvE! The method OnEnable() has to be onEnable()!
@dlange It works like this: Client sends ping to server. Server responds with motd and favicon. Server sends a ping response after that. Client...
@JpPlugins 'plugin' is not initialized in your listener class. Therefore its null.
@JUSTCAMH For 1.7 you spawn a horse with an extremely high age and make it ride an witherskull. Then just give it a custom name and set custom...
Also make sure e.getRightClicked is an instance of Villager and not a Zombie or so. But for this code you don't even have to cast it to Villager....
@Zappz PlayerChatEvent is deprecated, use AsyncPlayerChatEvent instead.
@VortexGmer You are checking whether the lore is null after using 'contains' on it. Check first 'ItemStack#hasItemMeta" Then "ItemMeta#hasLore"...
S @FisheyLP There's a class called "TinyProtocol" by aadnk. Search for it on google. Its like protocollib in mini
@Altarry What about substracting the direction (p.getLocation().getDirection()) from the player location?
@BrickBoy55 You're testing for WALL_SIGN both times. But you have to test for WALL_SIGN and SIGN_POST. Also do you get an error? You have to cast...
@nverdier But why is he getting an 'Error' when just comparing to objects?
Separate names with a comma.