acecheesecr14 You are trying use the split method for split a char sequence by other sequence (&x) in this case the method try to interpretate the...
Well i make a Custom zombie class implementing a Zombie interface but i don't no how can i add or register this custom zombie to the server for...
Try with "\\\n" I dont remember if is "\\n" or "\\\n", this is for your regex \\ is for represent \ in regex and with the next to get the...
Yes, but if you need an especific information of this Block (redstone.isPowered() for example) you need cast the block. Or i'm wrong?
Use if(event.getItem().getItemStack().getType() == Material.DIRT)
Bed, Cake, Cauldron, Coal, CocoaPlant, Command, Crops, Diode, DirectionalContainer, Door, Dye, FlowerPot, Gate, Leaves, LongGrass, Mushroom,...
Forseth11 You can use the sentence instanceof to have the especific class For example: If que get a Block but you unkown if this is a Torch or...
If you need change the block info of a RedStone, Torch and other Items Places as a Block you have an especifics classes to get and edit his...
Hi Wesc_X Try with this :D @EventHandler public void onPickup(PlayerPickupItemEvent event) { if(event.getItem().getType() == Material.DIRT)...
Forseth11 Sorry no read all your question :D. Read about ItemFactory, ItemFrame, ItemMeta to edit info of your block, retate, and others. To...
You can use Location loc = .... Block block = loc.getBlock(); block.setType(Material.XXXXXX); This change the block at loc position to any...
MisterOpi In main you need write your Main Class. You put only the package but not the Main Class change your plugin.yml to this: main:...
I'm tried with a Mail Sender Lib and desen't work with standar method. :(
In the case of bukkit plugin jar is a little more complicated add an external jar lib. :)
This tutorial is good, i don't use exactly all of the tutorial but the method addClassPath it's my solution :D...
MisterOpi Show your current plugin.yml
Your error is about GUARD_TOGGLE_ON not GUARD_TOGGLE_OFF http://gyazo.com/7ca27abf704c5c07a56f5a6969818a54 Caused by:...
When you use GUARD_TOGGLE_ON , you show only GUARD_TOGGLE_OFF no GUARD_TOGGLE_ON
Your error is becaus a file name GUARD_TOGGLE_ON is not found It's posible show more code ?
Hi I'm trying to use an external lib in my plugin but when i start my sever and load the plugin not found the classes on this lib. I tried...
Separate names with a comma.