Jump to content

suggestion for latest update

Not a Bug v3.1.1

Colors
Colors

Posted

the new option "INCLUDE_NPCS"
can you make it support NPC from plugins? such as betterNPC, NPCraider...etc
we want to disable the logs for player kills NPC but most of these type of logs are from plugin NPC not vanilla NPC

shady14u

Posted

so you want to exclude them or include them with standard npcs correct?

 

shady14u

Posted

Changed Status from Pending to Work in Progress

Colors

Posted (edited)

12 hours ago, shady14u said:

so you want to exclude them or include them with standard npcs correct?

 

yes, I want an option to exclude them or include them

Edited by Colors
shady14u

Posted

I just tested it with "BetterNPC" and if you include Npcs in the kill logs they will show up in the feed

image.png.f3a5f087961cfbfe1f2bb15b0fe82b23.png

shady14u

Posted

Changed Status from Work in Progress to Not a Bug

Colors

Posted (edited)

3 hours ago, shady14u said:

I just tested it with "BetterNPC" and if you include Npcs in the kill logs they will show up in the feed

image.png.f3a5f087961cfbfe1f2bb15b0fe82b23.png

yes, but if I set "INCLUDE_NPCS" to false, they still show up

so it did not really disable it

Edited by Colors
shady14u

Posted

BetterNpc Kills should not Show up if set to false. I have tested this on my Development server, Are you using BetterNPC or some other NPC Spawner.

 

Colors

Posted (edited)

1 hour ago, shady14u said:

BetterNpc Kills should not Show up if set to false. I have tested this on my Development server, Are you using BetterNPC or some other NPC Spawner.

 

I have test on my server with these setting

    "KILL_LOGS": {
      "ENABLED": true,
      "SIMPLE_FORMATTING": true,
      "USE_PLUGIN_KILL_LOGS": true,
      "LOG_WEBHOOK": "*****",
      "EMBED_COLOR": "#03dffc",
      "INCLUDE_NPCS": false,
      "INCLUDE_SUICIDES": true
    },

 

and here's the result:
raidable base NPC: show up
1496277341_.png.bb9c68c958d67c37edcd3c30b0882430.png
BetterNPC: show up
774279061_.png.46bd1a1b1ca449dc9838d9c74e275ebc.png

Scientist from vanilla RUST: show up

 1190876284_.png.f39c6cc05240456ad222d727743d321e.png

Space event NPC: show up

1015844151_.png.f4f012e2c0a45eb899d1ae9844302bac.png

 

seems something went wrong

I have restart the bot after changing the setting.
is there anything I missed?

Edited by Colors
shady14u

Posted

I think I see the issue, Are you using the Ultimate Rcon Plus Plugin? that should be the only reason your getting those messages. Try unloading the plugin and see if it works as intented?

you can also set this setting to false in the bot SERVER_LOGGING.KILL_LOGS.USE_PLUGIN_KILL_LOGS

 

Colors

Posted (edited)

6 hours ago, shady14u said:

I think I see the issue, Are you using the Ultimate Rcon Plus Plugin? that should be the only reason your getting those messages. Try unloading the plugin and see if it works as intented?

you can also set this setting to false in the bot SERVER_LOGGING.KILL_LOGS.USE_PLUGIN_KILL_LOGS

 

yea, now it didnt show the NPC logs with the setting.

    "KILL_LOGS": {
      "ENABLED": true,
      "SIMPLE_FORMATTING": true,
      "USE_PLUGIN_KILL_LOGS": false,
      "LOG_WEBHOOK": "*****",
      "EMBED_COLOR": "#03dffc",
      "INCLUDE_NPCS": false,
      "INCLUDE_SUICIDES": true
    },

but at the same time, I find out it didnt log when I suicide.
and I want it log when player killed by a NPC, it kind important for a PVE server

Edited by Colors
shady14u

Posted

can you write out the changes you would like?
- what I think you are asking for is 

  • Log out Players Killed by NPCs but NOT  Npcs Killed by players

For suicides, Are you seeing the suicide in the console message? If so, can you show an example text. 

Colors

Posted

1 hour ago, shady14u said:

can you write out the changes you would like?
- what I think you are asking for is 

  • Log out Players Killed by NPCs but NOT  Npcs Killed by players

For suicides, Are you seeing the suicide in the console message? If so, can you show an example text. 

yes, you are correct.
for PVE server, player kill NPC is not important but NPC killed player is important.
so I would like to log player killed by NPC, animal, suicide, and others that can kill a player.

just log all things that killed a player

here is the message in console when suicide

13:53 [Info] [UltimateRconPlus] DEATHMESSAGE:{
  "AttackerID": "76561197985455580",
  "AttackerName": "[TW]Colors",
  "AttackerIsNPC": false,
  "VictimID": "76561197985455580",
  "VictimName": "[TW]Colors",
  "VictimIsNPC": false,
  "Weapon": "Unknown",
  "KillDistance": 0.0
}
13:53 [Info] [Death Notes] [TW]Colors had enough of life.

at the moment, no log in discord
1586329632_.png.1c24a61d9e04e06dc568f1212b305120.png

shady14u

Posted

can you ping me on discord? I think its the plugin and I have made some adjustments for testing. Please try this new Plugin attached. I have added a "PlayerDeaths" when true, Any player death is logged
 

UltimateRconPlus.cs

Colors

Posted (edited)

16 hours ago, shady14u said:

can you ping me on discord? I think its the plugin and I have made some adjustments for testing. Please try this new Plugin attached. I have added a "PlayerDeaths" when true, Any player death is logged
 

UltimateRconPlus.cs 47.15 kB · 2 downloads

ok, I have ping you on support channel

I tried this version but no player death logs in discord

Edited by Colors
1.9m

Downloads

Total number of downloads.

8.9k

Customers

Total customers served.

131.4k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.