1. I have installed and reloaded it.
    I try to write, solved or not.
    Give me a 2-4 hours, please.

    Log:
    Code:
    [Oxide] 8:28 AM [Debug] Load requested for plugin which is already loading: DeathMessages
    [Oxide] 8:28 AM [Debug] Load requested for plugin which is already loading: Death
    [Oxide] 8:28 AM [Error] DeathMessages plugin failed to compile!
    [Oxide] 8:28 AM [Error] DeathMessages.cs(35,28): error CS1525: Unexpected symbol `end-of-file', expecting `(', `[', or `{'
    [Oxide] 8:28 AM [Error] Death plugin failed to compile!
    [Oxide] 8:28 AM [Error] Death.cs(70,53): error CS1525: Unexpected symbol `end-of-file'
    > oxide.reload Death
    [Oxide] 8:29 AM [Info] Death was compiled successfully in 469ms
    [Oxide] 8:29 AM [Info] Loaded plugin Death API v0.1.0 by Hatemail
    > oxide.reload DeathMessages
    [Oxide] 8:29 AM [Info] DeathMessages was compiled successfully in 117ms
    [Oxide] 8:29 AM [Info] Loaded plugin Death Messages v0.1.1 by Hatemail
     
  2. I need the config file it generated and not the log.
     
  3. Sorry, i don't know.
     

    Attached Files:

  4. everything looks fine. I don't see the problem
     
  5. But why messages are not displayed correctly?
     
  6. Don't know without more information. Such as have you modified any file other that the deathmessage config. What does the messages look like in game.
     
  7. I found a problem and solved it now!
    Hosting upload old 2.0 version. I download last Oxide 2.0 from this site and plugin is working now!
    Thank to Hatemail and Ezki for helping!
     
  8. Hello, how i can configure to log deaths in console?
     
  9. You need to modify the plugin, or create your own based on the API provided by Death API.
     
  10. hi, this plugin dont show the location name like previous versions? i dont like coordenates
     
  11. no it does not.
     
  12. Is there also a way to log it in server console and ingame aswell ?
     
  13. How would I add a location to this plugin?
     
  14. Have you tried adding {location} to death message?
    If it drops location instead of it's name there is also this one Location for Rust Legacy | Oxide so you can implent it to plugin.So also don't forget that
    public Vector3 location { get; set; } = Vector3.zero;
    It may not bring you a name of location, only vector :)
     
  15. I looked above and the {location} just has cords so im going to have to do what you said using the location plugin :p
     
  16. How disable PVE messages ?
     
  17. Just delete the pvp messages in the config
     
  18. I've been hosting a server on streamline for a couple of months now and I really like is the whole location of your death on some servers with death messages, I really really want the code to add to my own death messages but when I do try add location like {location} it pops up with all these random numbers which mean nothing to me. All I want is the name of the location eg. (Hacker valley south), I know rust legacy is a quite game but I really love hosting my own server, so It would be the greatest gift to me and you'll be in my gratitude.

    Thanks Liam.
     
  19. customize the plugin
    [DOUBLEPOST=1465226232][/DOUBLEPOST]
    Code:
    //Puts((string)Death?.CallHook("GetDeathString", "Killer: {killer} {killerId} Killed: {killed} {killedId} Weapon: {weapon} BodyPart: {bodypart} Distance: {distance} DeathType: {deathType} Location: {location}", tags) ?? "Unknown");
    [DOUBLEPOST=1465226466][/DOUBLEPOST]
    Code:
                { "PvP", new Dictionary <string, List <string>>
                    {
                        { "Default", new List<string> { "{killer} killed {killed} using {weapon} with a hit to their {bodypart} the {distance}m in {location}." } },
                        { "Weapon.Explosive Charge", new List<string> { "{killer} blew the ever living shit out of {killed} with an explosive charge!!" } },
                        { "Weapon.F1 Grenade", new List<string> { "{killer} killed {killed} using {weapon}" } },
                        { "Weapon.M4", new List<string> { "{killer} killed {killed} using an {weapon}" } },
                    }
                },