StashReportFilter missing from configurationSolved

Hi Dana,

Thanks for your awesome plugin. I have tested and after using the trap.draw command I don't see that it highlights existing stashes. I noticed the mention of the "StashReportFilter" config item however the generated config doesn't have it. Where should I put this config item?

I'm glad to hear that you found it useful. First, ensure the traps were successfully generated by checking the console for errors or warnings. Additionally, could you please attach your config file so I can take a closer look

Thanks for your time, here we go!

{
  "Version": "1.5.1",
  "Spawn Point": {
    "Maximum Attempts To Find Spawn Points": 1500,
    "Safe Area Radius": 3.0,
    "Entity Detection Radius": 25.0,
    "Player Detection Radius": 25.0
  },
  "Automated Trap": {
    "Maximum Traps To Spawn": 100,
    "Destroy Revealed Trap After Minutes": 2,
    "Replace Revealed Trap": true,
    "Dummy Sleeping Bag": {
      "Spawn Along": true,
      "Spawn Proximity To Stash": 0.9,
      "Spawn Chance": 50,
      "Randomized Skin Chance": 40,
      "Randomized Nice Name Chance": 60
    }
  },
  "Violation": {
    "Reset On Wipe": true,
    "Can Teammate Ignore": true,
    "Can Clanmate Ignore": true
  },
  "Moderation": {
    "Automatic Ban": false,
    "Violations Tolerance": 3,
    "Ban Delay Seconds": 60,
    "Ban Reason": "Cheat Detected!"
  },
  "Notification": {
    "Prefix": "<color=#F2C94C>Automated Stash Trap</color>:",
    "Enable Console Report": true,
    "Stash Report Filter": 2
  },
  "Discord": {
    "Post Into Discord": false,
    "Webhook Url": "",
    "Report Interval": 60.0,
    "Message": "Cheater, cheater, pumpkin eater! Looks like someone's been caught breaking the rules!",
    "Embed Color": "#FFFFFF",
    "Embed Title": "A cheater has been spotted",
    "Embed Footer": "",
    "Embed Fields": [
      {
        "name": "Player Name",
        "value": "$Player.Name",
        "inline": true
      },
      {
        "name": "Id",
        "value": "$Player.Id",
        "inline": true
      },
      {
        "name": "Violations Count",
        "value": "$Player.Violations",
        "inline": true
      },
      {
        "name": "Revealed Stash Type",
        "value": "$Stash.Type",
        "inline": true
      },
      {
        "name": "Stash Id",
        "value": "$Stash.Id",
        "inline": true
      },
      {
        "name": "Grid",
        "value": "$Stash.Position.Grid",
        "inline": true
      },
      {
        "name": "Reveal Method",
        "value": "$Stash.Reveal.Method",
        "inline": false
      },
      {
        "name": "Stash Owner Name",
        "value": "$Stash.Owner.Name",
        "inline": true
      },
      {
        "name": "Stash Owner Id",
        "value": "$Stash.Owner.Id",
        "inline": true
      },
      {
        "name": "Team Info",
        "value": "$Player.Team",
        "inline": false
      },
      {
        "name": "Player Connection Time",
        "value": "$Player.Connection.Time",
        "inline": false
      },
      {
        "name": "Server",
        "value": "$Server.Name $Server.Address",
        "inline": false
      }
    ]
  },
  "Stash Loot": {
    "Minimum Loot Spawn Slots": 1,
    "Maximum Loot Spawn Slots": 6,
    "Spawn Chance As Blueprint": 10,
    "Spawn Chance With Skin": 50,
    "Spawn Chance As Damaged": 30,
    "Minimum Condition Loss": 5.0,
    "Maximum Condition Loss": 95.0,
    "Spawn Chance As Repaired": 15,
    "Spawn Chance As Broken": 5,
    "Loot Table": [
      {
        "Short Name": "scrap",
        "Minimum Spawn Amount": 31,
        "Maximum Spawn Amount": 125
      },
      {
        "Short Name": "metal.refined",
        "Minimum Spawn Amount": 10,
        "Maximum Spawn Amount": 40
      },
      {
        "Short Name": "cloth",
        "Minimum Spawn Amount": 50,
        "Maximum Spawn Amount": 200
      },
      {
        "Short Name": "cctv.camera",
        "Minimum Spawn Amount": 1,
        "Maximum Spawn Amount": 2
      },
      {
        "Short Name": "riflebody",
        "Minimum Spawn Amount": 1,
        "Maximum Spawn Amount": 3
      },
      {
        "Short Name": "techparts",
        "Minimum Spawn Amount": 1,
        "Maximum Spawn Amount": 6
      }
    ]
  }
}​

You can find it under the Notification config

  "Notification": {
    "Prefix": "<color=#F2C94C>Automated Stash Trap</color>:",
    "Enable Console Report": true,
    "Stash Report Filter": 2
  },​

Ok, so it is suppose to track player stashes as well? I will test again just to make sure.

Setting it to 0 will send reports only for automated traps, 1 for player-owned stashes, and 2 for both types of stashes.

yes, correct. when I hit trap.draw 60 I don't see markers for the player traps. That is why I created this request. Am I supposed to see player stashed on trap.draw?

The trap.draw command will only show automated traps that are currently active.

ahh thanks I thought it will show player stashes as well. So I can assume if I set "StashReportFilter" to 2 than it will track player stashes?

Locked automatically