[HELP] Help me!

Discussion in 'BungeeCord Plugin Development' started by Tauchet, Jun 3, 2015.

  1. Add me on skype : Shadowjwz
    i will help you
     
  2. Just listen for the EntityDeathEvent and then do:
    Code (Text):
    e.setDeathMessage(null);
     
    • Funny Funny x 1
  3. Mobs don't show a message on death if it isn't a plugin.
    You are talking about pets so maybe it's a pet plugin, you have to change it in the code.
    Asking for help of a plugin we don't even know isn't a good idea.
     
  4. I thinks thats only for pets you own (vanilla ones like dogs or cats), even that we don't know about what is he talking, he's not giving information about when that message appears.
    A good way could be listening to EntityDamageEvent and if it's current health - event.getDamage <= 0 then cancelling the event, and removing the pet but that would remove the drops, anyways I think that wolfs and cats doesn't have drops so It wouldn't be a huge problem. Spawning exp drops would be easy.
     
    • Agree Agree x 1
  5. is this the wrong section either?
     
  6. Yep, I think this is the wrong section but we don't even know about what's he talking about.
     
    • Agree Agree x 1
  7. Yup, I think if you do .kill() they drop the items
     
  8. Yeah but that would have the same effect, I think.