Thanks but I can't use hashmap.add? EDIT: Nevermind, thanks I think I did it.
Sorry, I'm still learning java itself, and don't know too much, how would I go around doing that? and thanks for the reply.
Hey Bukkit community! I'm making a plugin where if you type /stats [Player] a InventoryGUI will pop up showing the players stats, like faction...
Hey there Bukkit community! I am creating a kit plugin where if you choose the "Blaze" kit you will be disguised into a Blaze. I'm pretty certain...
It worked! :D Thank you so much for your help and putting up with my noobi-ness (all of you). Means a lot! Thanks for helping me (even if I was...
@FisheyLP @EventHandler public void onEntityDamage(EntityDamageByEntityEvent e) { Entity damager = e.getDamager(); Entity hit...
@FisheyLP But then I can't check the ItemInHand for the Person who is hitting and give potion effects to the hit player
Didn't work, I made a noobish mistake somewhere but have no idea where.. @EventHandler public void onEntityDamage(EntityDamageByEntityEvent e)...
@Totom3 Thank you :) But in FisheyLP's method how would I check if the bow has the Poison Lore? Nevermind - Sorry!
@Konato_K @Totom3 @Tecno_Wizard @FisheyLP Thank you all of you! Appreciate the help :D I'll do my best to use all this in the right way. I'll tell...
@Konato_K Sorry, I'm not the best a coding (Begginer-ish) could you please explain that a little more? Thank you. Appreciate your help.
@Totom3 Thanks for your help! But how would I get the bow that it was shot from? So I can get it's ItemMeta and check for any lores? Thanks.
@mine-care Thanks for your help! I was thinking that :P I'll try it in a sec @mine-care Also, could I have a little example <Edited by...
@EventHandler public void onShoot(EntityShootBowEvent e) { LivingEntity p = e.getEntity(); ItemStack bow = e.getBow();...
@crolemol Thanks! It worked!
13 more 03.02 20:53:11 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298)...
Is it because I forgot to cooldown.remove(p.getUniqueId().toString)) ? I can't edit the code rn, I'm off my PC. Or is there something else wrong?
I changed ArrayList<Player> cooldown = new ArrayList<Player>(); to ArrayList<String> cooldown = new ArrayList<String>(); there are no...
Do I also do cooldown.remove(p.getUniqueID.toString)) A little error under cooldown.add(p.getUniqueId().toString()) it says to change to...
Sorry for spelling your name wrong. Thanks I'll try it tomorrow. I don't know what I'd do with out you ! Thanks!
Separate names with a comma.