Death Messages won't disable? [HELP]

Discussion in 'Spigot Plugin Help' started by Thunder, Jun 7, 2015.

  1. Hello everyone,

    I'm having a problem with the vanilla death messages, in Essentials I have them disabled, however they don't seem to disappear. Whenever I die from a mob it will say. "<player> has died."

    Please help.
  2. There are tons of plugins who do that for you. If you want, I'll make one in not even 5 minutes ;).
    But could you give me your Essentials Config in a pastebin?
    (Or the DeathMessage part).
  3. Alright. Here's the pastebin.
  4. Just a question, do you have any other plugins that are related to the PlayerDeathEvent? (Player Death).
    And what server & essentials version are you running?
    • Like Like x 1
    • Agree Agree x 1
  5. I'm running Essentials 1.8 and Spigot 1.8.3. I also removed all my plugins and kept Essentials, same thing.
  6. Hmm, never tested it on 1.8.
    I've coded fast a plugin for you ;) (Not tested but it should work).
    This works on Spigot Build 1649 and higher.
    You can download it here:

    Edit: Just a question, but does Essentials disables the Death Message if a player kills you, or also not?
  7. Thanks for this, I'll test it out and give you a reply.

    It does disable the "slain" messages but not the "has died" ones.

    Edit: Does not work, sorry.

  8. Does it work? :D
  9. Yes it does! :D

    Thank you very much for this!
  10. No problem, if you need help with something else, just say it ;).
    • Like Like x 1
  11. or use the gamerule
  12. I use HideStream
  13. Is here any current download?
    • Friendly Friendly x 1
  14. @didjee2 Are you willing to open-source your code?
  15. It's a very simple code though.
    I removed the code of that plugin to be honest, but I quickly coded it again.
    (You can go and shit about not using multiple classes for events, but idc as it's only one event).

    Code (Text):
    package com.dbsoftwares.nodeathmessage;

    import org.bukkit.event.EventHandler;
    import org.bukkit.event.Listener;
    import org.bukkit.event.entity.PlayerDeathEvent;

    public class NoDeathMessage extends JavaPlugin implements Listener {
        public void onEnable() {
            getServer().getPluginManager().registerEvents(this, this);
        public void onDeath(PlayerDeathEvent event) {
    • Like Like x 1
  16. Thank you dude
  17. Why you set it to event.setDeathMessage(""); not event.setDeathMessage(null);?
    doesn't it make a air line?
    • Agree Agree x 1
  18. Not for me though, but you can go and type null ;)