Jump to content

Can't setup the notifications / not showing

Not a Bug 1.2.8

Hello,

i'm running into a problem setting up new notifications. Meaby i did something wrong, not sure.

So i wanted to add GatherRewards, Dangerous Treasures, Raidable Bases (not added yet, but would be the same as DT) and DeathNotes to the Notify, but it just doesn't work.

Here's my config:

 

{
  "Version": {
    "Major": 1,
    "Minor": 2,
    "Patch": 8
  },
  "General settings": {
    "Can filter player messages?": true,
    "Recent notifications command": "n",
    "Show time (gametime, servertime, none)": "none"
  },
  "Server messages settings - 'say' command": {
    "Convert all server messages?": false,
    "Prefix": "[Server]",
    "Prefix color": "#FFB84C"
  },
  "Notification area settings": {
    "Time visible (in seconds)": 7,
    "Max # of notifications visible": 5,
    "Alternate color 1": "#18122B",
    "Alternate color 2": "#393053",
    "Opacity": 80.0,
    "Width": 350.0,
    "Position (Top, TopLeft, TopRight, Left, Right, Center, Bottom, BottomLeft, BottomRight)": "TopRight",
    "X axis": 15.0,
    "Y axis": 15.0,
    "Single notification settings": {
      "Height": 19.0,
      "Font size": 10,
      "Text alignment (left, right, center)": "center",
      "Default text color (if not formatted)": "#ffffff"
    }
  },
  "Recent notifications modal settings": {
    "Primary color": "#393053",
    "Secondary color 1": "#18122B",
    "Secondary color 2": "#443C68"
  },
  "Chat partial text to convert to notification": {
    "ServerRewards:": {
      "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly",
      "Force Color": false,
      "Color": "#ffffff",
      "Enable Regex Formatting": false,
      "Advanced Formatting - Regex Pattern": "",
      "Advanced Formatting - Regex Replacement": ""
    },
    "GatherRewards:": {
      "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly",
      "Force Color": false,
      "Color": "#ffffff",
      "Enable Regex Formatting": false,
      "Advanced Formatting - Regex Pattern": "",
      "Advanced Formatting - Regex Replacement": ""
    },
    "Dangerous Treasures:": {
      "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly",
      "Force Color": false,
      "Color": "#ffffff",
      "Enable Regex Formatting": false,
      "Advanced Formatting - Regex Pattern": "",
      "Advanced Formatting - Regex Replacement": ""
    },
    "DeathNotes:": {
      "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly",
      "Force Color": false,
      "Color": "#ffffff",
      "Enable Regex Formatting": false,
      "Advanced Formatting - Regex Pattern": "",
      "Advanced Formatting - Regex Replacement": ""
    },
    "Rust Rewards :": {
      "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly",
      "Force Color": false,
      "Color": "#ffffff",
      "Enable Regex Formatting": true,
      "Advanced Formatting - Regex Pattern": "(Rust Rewards :)(.*)",
      "Advanced Formatting - Regex Replacement": "<color=#FFE932>[Rust Rewards]</color>$2"
    }
  },
  "Regex filters (Advanced)": {
    "^\\[ TruePVE \\]": {
      "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly",
      "Force Color": false,
      "Color": "#ffffff",
      "Enable Regex Formatting": false,
      "Advanced Formatting - Regex Pattern": "",
      "Advanced Formatting - Regex Replacement": ""
      }
  }
}

Screenshot2023-07-30214355.png.bd3109a3cdec349a89b082ac721f9224.png

Share this comment


Link to comment

As i can see, you set the Gether Rewards in config to "GatherRewards:" even tho the chat text is "[GatherRewards]".

Same with Dangerous Treasures, should be "[ Dangerous Treasures ]", it's basically a unique partial text from the messages.

Share this comment


Link to comment

Oh okay, so i have to inser the [ and ] into the detection aswell? Thought the GatherRewards would be enough. Gonna try that then.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83k

Files Sold

Total number of files sold.

1.6m

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.