RustNotifications

Rust plugin to notify when someone connects/disconnects from the server/when structures are attacked

Total Downloads: 4,155 - First Release: Sep 21, 2016 - Last Update: May 24, 2017

5/5, 5 likes
  1. No update on that, I just finished up with the percentage health remaining and will be uploading that version tonight. Planning to look into your request next.
     
  2. seanbyrne88 updated RustNotifications with a new update entry:

    0.8.0


    [DOUBLEPOST=1481161543][/DOUBLEPOST]Hey all, new update is up, there's some server commands you need to run to set new configuration values for the thresholds, let me know if anyone has issues and I'll try to work with them. Enjoy!

    Next up is some sort of PM/DM system, rather than posting to a server/room. Not sure how plausible this is with larger populated servers, doing lookups might slow things down a lot but I'll try it out.
     
  3. Is there a way to run those commands via console?

    Also can we also get an option for the lang file something like {Weapon}

    eg. "{Attacker} has attacked a structure built by {Owner} with {Weapon}"
     
    Last edited by a moderator: Dec 8, 2016

  4. {
    "DiscordConfig": {
    "Active": false,
    "DoLinkSteamProfile": true,
    "DoNotifyWhenBaseAttacked": false,
    "DoNotifyWhenPlayerConnects": false,
    "DoNotifyWhenPlayerDisconnects": false,
    "NotificationCooldownInSeconds": 600,
    "ThresholdPercentageHealthRemaining": 1
    },
    "ServerConfig": {
    "Active": true,
    "DoNotifyWhenBaseAttacked": true,
    "NotificationCooldownInSeconds": 60,
    "ThresholdPercentageHealthRemaining": 99
    },
    "SlackConfig": {
    "Active": false,
    "DoLinkSteamProfile": true,
    "DoNotifyWhenBaseAttacked": false,
    "DoNotifyWhenPlayerConnects": false,
    "DoNotifyWhenPlayerDisconnects": false,
    "NotificationCooldownInSeconds": 6000,
    "ThresholdPercentageHealthRemaining": 1
    }
    }


    Whit this config, the RustNotification is not giving any notification.

    but I have this messages on console... that I seem a little un-needed to see:

    [Oxide] 22:38 [Info] [RustNotifications] 10
    [Oxide] 22:38 [Info] [RustNotifications] 10
    [Oxide] 22:38 [Info] [RustNotifications] 100
    [Oxide] 22:38 [Info] [RustNotifications] 6.8
    [Oxide] 22:38 [Info] [RustNotifications] 10
    [Oxide] 22:38 [Info] [RustNotifications] 68
    [Oxide] 22:38 [Info] [RustNotifications] 3.6
    [Oxide] 22:38 [Info] [RustNotifications] 10
    [Oxide] 22:38 [Info] [RustNotifications] 36
    [Oxide] 22:38 [Info] [RustNotifications] 0.4000006
    [Oxide] 22:38 [Info] [RustNotifications] 10
    [Oxide] 22:38 [Info] [RustNotifications] 4
    [Oxide] 22:38 [Info] [RustNotifications] 10
    [Oxide] 22:39 [Info] [RustNotifications] 10
    [Oxide] 22:39 [Info] [RustNotifications] 100
    [Oxide] 22:39 [Info] [RustNotifications] 6.8
    [Oxide] 22:39 [Info] [RustNotifications] 10
    [Oxide] 22:39 [Info] [RustNotifications] 68
    [Oxide] 22:39 [Info] [RustNotifications] 3.6
    [Oxide] 22:39 [Info] [RustNotifications] 10
    [Oxide] 22:39 [Info] [RustNotifications] 36
    [Oxide] 22:39 [Info] [RustNotifications] 0.4000006
    [Oxide] 22:39 [Info] [RustNotifications] 10
    [Oxide] 22:39 [Info] [RustNotifications] 4

    That I do was this:
    PUT 2 TWIGS WALLS with 10 of health
    and I take the Knife Bone and Hit each wall 4 times until destroyed.
    but No notification.
     
  5. it shows on discord and everything but when i do /rustNotifySetHealthThreshold All 100 "the command worked" but on discord is still shows when people shot/hit the base
     
  6. Have trouble... help please
     

    Attached Files:

  7. seanbyrne88 updated RustNotifications with a new update entry:

    0.8.1


    [DOUBLEPOST=1481209679][/DOUBLEPOST]
    There is a lot of mention of lua in your error message. I don't think it's from this plugin, are you running any lua mods? JoinLeaveMessage.lua is the one that's quoted in the error message.
     
    Last edited by a moderator: Dec 8, 2016
  8. Weapon will be in 0.8.2 which I'll upload tonight (had to run to work).

    I'm not sure if there's a way to run the chat commands through comments. I don't think so though.
     
  9. Cool )))
     
  10. Version 0.8.2
    not working properly

    With settings:
    "ServerConfig": {
    "Active": true,
    "DoNotifyWhenBaseAttacked": true,
    "NotificationCooldownInSeconds": 60,
    "ThresholdPercentageHealthRemaining": 1
    },

    Just give me notification when destroyed, OK
    but I changed the 60 Seconds to 20
    "NotificationCooldownInSeconds": 20,

    Then I have not more Notifications
    I tried Reloading and Unistalling but Seems like the Timer are broken.
     
  11. That's strange because the Timer logic has been there since 0.7.0 and is unchanged.

    Are you only trying to get the notification when something is destroyed? I'll test it out again tonight but it was working with me last time I checked.
     
  12. yes, seems like is being ruined when changing the cooldown time :/
    I will check again but I want not do this checks when my server is full and right now is almost full
     
  13. Ok, thanks for checking and working with me on it! Appreciate it.
     
  14. take your time :D i appreciate for your time to even make this great plugin
     
  15. No ; no take time
    Im awaiting for this awesome plugin for a long time

    pleaseeeeeeeeeeeee Sean!!! :D
     
  16. hey, i have no message when people joined and disconnect of the server, only when bases are attacked.. what should i set up?
     
  17. seanbyrne88 updated RustNotifications with a new update entry:

    0.8.2


    [DOUBLEPOST=1481556046][/DOUBLEPOST]
    Ensure that "DoNotifyWhenPlayerConnects" is set in your plugin configuration file.

    This notification will only go to your slack or discord servers, not broadcast on the server.
     
  18. "ServerConfig": {
    "Active": true,
    "DoNotifyWhenBaseAttacked": true,
    "NotificationCooldownInSeconds": 10,
    "ThresholdPercentageHealthRemaining": 1

    with this config,
    I have only 1 advice,
    then no more advices at all...

    is supoused that if Health of building lower to 1 that trigger the advice right?
    Worked first time, then I changed the time from 60 to 10 for test
    and Health to 1
    and no worked more.
     
  19. It is not the health itself but % of health remaining. When you change the time did you run "oxide.reload RustNotifications" in your server console? That should load with the new configuration.

    I tried this out at the weekend and it worked again for me but I'll triple check. Is the message showing up in the server? If the owner of the structure is online, the plugin will by default notify the server and not send to discord or slack. If the owner of the structure is offline it will then send to discord or slack.
     
  20. In My test im only using Server notifies, not Discord, Not Slack active.

    I reload so many times in each JSON changes Yes

    I tested on my buildings and others buildings, same results, just the first notify, then after changing the times... nothing.

    Can I change Health to ZERO (0) ?
    then I can be only notified if somebody destroy something, not for damage until destroyed.