We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

298

Custom Death Message Gamerule

22 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 16
    Registered User commented
    Comment actions Permalink

    wouldn't it be

    /kill <selector> <custom message>

  • 5
    Registered User commented
    Comment actions Permalink

    @brenn boyer more like:

    /cmkill <target:target> [ <CustomMessage:string> <root|capped> ]

    • root would use EXACTLY the message specified, allowing usage of #p for who was killed, and #e for who killed.
    • capped does what root does, but it caps with the #es.
      For example:
           ... #p  (typed message) #e ...

    but i agree

  • 4
    Registered User commented
    Comment actions Permalink

    brenn boyer is correct!

  • 3
    Registered User commented
    Comment actions Permalink

    I agree with Brenn Boyer.
    It should be
    /kill

  • 3
    Registered User commented
    Comment actions Permalink

    If you want to kill someone with commands and display a custom death message, it's already possible, by running the following commands:

    gamerule showdeathmesssages false
    tellraw @a {"rawtext":[{"selector":"@p"},{"text":" died by an unknown force"}]}
    kill @p
    gamerule showdeathmeessages true

    Java Edition:

    gamerule showDeathMessages false
    tellraw @a [{"selector":"@p"},{"text":" died by an unknown force"}]
    kill @p
    gamerule showDeathMessages true
  • 2
    Registered User commented
    Comment actions Permalink

    Brenn boyer is correct! It should be that too

  • 2
    Registered User commented
    Comment actions Permalink

    player believed they could fly

    player tried to hug a creeper

    player thought they were a fish

    player dug strait down

  • 1
    Registered User commented
    Comment actions Permalink

    there should maybe just be a way to implement custom death messages in data/ resource packs. You could define a predicate for the death message to be displayed and the death message itself in a JSON file. The text could use VICTIM and KILLER inside to set as the victim/killer.

  • 1
    Registered User commented
    Comment actions Permalink

    Time to make RLcraft like death messages if this pitches in.

  • 1
    Registered User commented
    Comment actions Permalink

    I agree do a /kill <player> <message>

    EX: /kill Player Minecraft   * Player was killed by Minecraft

  • 1
    Registered User commented
    Comment actions Permalink

    It works with some command blocks, so this is just a short cut

  • 1
    Registered User commented
    Comment actions Permalink

    THIS IDEA IS LEGENDARY. SHARE THIS TO YOUR FRIENDS WE NEED IT TO BE NOTICED BY MOJANG AND ADDED TO MINECRAFT

  • 0
    Registered User commented
    Comment actions Permalink

    Thanks!

  • 0
    Registered User commented
    Comment actions Permalink

    Why not just. /kill <selector> <custom message where @v is the victim and @k is the killer if there is one>

  • 0
    Registered User commented
    Comment actions Permalink

    i was once blown by pufferfish...

  • 0
    Registered User commented
    Comment actions Permalink

    Oh wait! I thought this was the /freeze command! Woops

  • 0
    Registered User commented
    Comment actions Permalink

    You're trying to add something that already exist.
    Disable death messages and trigger a command to output /tellraw when the player dies, if you know how to use them well, you can make them happen by specified events.

  • 0
    Registered User commented
    Comment actions Permalink

    Perhaps a datapack file would work better?

  • 0
    Registered User commented
    Comment actions Permalink

    Or as file in a Datapack?!

  • 0
    Registered User commented
    Comment actions Permalink

    Or just a game rule "deathMessages"

  • 0
    Registered User commented
    Comment actions Permalink

    It Should be:

    /kill <player_name> <custom_death_text>

    Or

    /killraw <player_name> <json_custom_death_text>

  • 0
    Registered User commented
    Comment actions Permalink

    thats a good idea it would help alot with custom maps