Hello! So I have this code: ItemMeta bm = book.getItemMeta(); if (rNB == 0 || rNB == 1) { if...
@mine-care but I have 90% of the code that i need. I just need to know how to fix it. It's not spoonfeeding when i have it basically complete.
@mine-care I don't really know how to read and understand the link you just gave me. I'm not a professional Java Guy. Sorry :/
So I have a little DuelPVP plugin where you can do 1v1's, which work just fine, and 2v2's which are working and everything, except that you can...
@nverdier I have many plugins..
@nverdier When I look at the console of eclipse it says it is a java problem. I'm using Java 7
@Tyler Christensen @nverdier I still get an error on the p.getHealth(); It says on eclipse when I however over it: "The method getHealth() is...
@nverdier How do I check if it is a player? and im using spigot 1.7.9 on the server and for eclipse
So I have: @EventHandler public void onEntityDamage(EntityDamageEvent event){ if(event instanceof EntityDamageByEntityEvent){...
@nverdier @SuperOriginal I'm not a professional plugin maker so could you please show me how to use this randomInt thing! <3
So I have 3 different locations: Location SpawnOne = new Location(Bukkit.getWorld("world"), -22.5, 56, 70.5); Location SpawnTwo = new...
@nverdier @MexMaster I just want to be sure that they are using a firework_charge with the displaye name "The Exchanger" How do I check it in a...
So I'm making a small little plugin that brings the mod equivalent exchange mod to bukkit. I have this ItemStack diamond = new...
So I'm making just a mess around type plugin. I am trying to spawn baby zombies which I'm having no trouble with but when I try to put armor on...
@Zombie_Striker I have this now and it will get past Debug: 1 but will not get to the Debug: 2 @EventHandler public void...
@ColonelHedgehog So I tried to debug and this is how: @EventHandler public void onCraft(CraftItemEvent e) { Recipe i =...
@ColonelHedgehog I now have : @EventHandler public void onCraft(CraftItemEvent e) { ItemStack i = e.getRecipe().getResult();...
Which event should I use? ItemCraftEvent? @ColonelHedgehog
@ColonelHedgehog It wont let me cancel the event. e.setCancelled() isn't an option. it gives me an error EDIT: I have this now but it still...
@ColonelHedgehog oh boy i changed it! @EventHandler public void onCraft(PrepareItemCraftEvent e) { ItemStack i =...
Separate names with a comma.