1. Unlikely, perhaps you could try and restart your server. But btw I assume you are using the latest Notifier?

    Code:
    # GETS THE WEBREQUEST RESPONSE AND CHECKS FOR ANY ERRORSdef response_handler(code, response):   country = response.replace('\n','')   if country == 'undefined' or code != 200:      country = 'Unknown'
    Code:
    # PLAYER CACHE
    self.cache[steamid]['country'] = country
    If Notifier finds an error of some kind it will set the player country to Unknown.
     
    Last edited by a moderator: May 4, 2015
  2. Anyone else have intermittant issues where it isnt printing colors properly? Not sure if this is a server or client side issue

    example of ingame + console:

    [​IMG]
     
  3. In the chat I can see the after the name Smiley its missing a </color>, that is the reason the colors there are messed up. It's probably from a plugin that colors players names that has it wrong, and not Notifier.
    In the console though, can be 2 things, the same as above, and a current Rust issue, that some times doesnt compile HTML as it should for some reason, it happens time to times, and some times it even solves it self. (This is a known issue for a while now)
     
  4. Code:
    [Oxide] 12:41 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'Notifier' (IndexOutOfRangeException: index out of range: 66)
    [Oxide] 12:41 PM [Debug]   at IronPython.Runtime.Operations.PythonOps.FixIndex (Int32 v, Int32 len) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.PythonTuple.get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.GetUnaccessedObject (FieldName fieldName) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.GetArgumentValue (FieldName fieldName) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.ReplaceText (System.String format) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext context, System.String format_string, IDictionary`2 kwargs, System.Object[] args) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.FuncCallInstruction`5[IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary`2[System.Object,System.Object],System.Object[],System.String].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 
    I'm getting this error and idk why its doing it, but everything seems to be working fine
     
  5. Calytic

    Calytic Community Admin Community Mod

    Code:
    Failed to initialize plugin notifier (MissingMemberException: 'NoneType' object has no attribute 'connection')
    This appears to be because one of the players in the activePlayerList does not have a player.net.connection. Please add a check for this possibility.
     
  6. Upload your config file please.
    [DOUBLEPOST=1430954896][/DOUBLEPOST]
    I already know this happens while Notifier is caching players info, I think even if I check the connection first then later there will be errors due to the fact this possible player is not cached. Either way I will make a fix attempt and see what happens.
     
  7. Could someone tell me how to add your own map into the config file so that when you type /map like it automatically says your map will come up? At the moment it just says unknown command
     
  8. Hi,
    I am running Chat Handler to change the admin colour ingame and Notfier for the join/leave messages.
    Now Notifier isn't working and I think it might be because of Chat Handler and I am looking for a solution. Is there a better way to hide admin status ingame other than change the chat colours using Chat Handler?
    Thanks
     
  9. Wulf

    Wulf Community Admin

    They don't conflict, they do completely different things. Best to check your logs for errors, as Notifier is likely not actually loaded.

    Changing the colors is the easiest way to hide your rank, and using Chat Handler makes for it makes the most sense if you want to use other features from it. Trying to have 100 different plugins modify the chat is not a good idea.
     
  10. Thanks, I will have a look.
     
  11. Code:
    {
      "ADVERTS": [
        "Use /Warp go Trade to go to a safe area to trade items.",
        "Teamspeak Address: tbhsts3.ts.nfoservers.com join us:)",
        "We Hve Bounty Board type /bty help for command list.",
        "Want to know the available commands? Type <red>/help<end>.",
        "Respect the server <red>/rules<end>.",
        "This server is running <orange>Oxide 2<end>.",
        "Cheating is strictly prohibited.",
        "Type <red>/map<end> for the server map link.",
        "Players Online: <lime>{players} / {maxplayers}<end> Sleepers: <lime>{sleepers}<end>"
      ],
      "COLORS": {
        "ADVERTS": "#CECECE",
        "JOIN MESSAGE": "#CECECE",
        "LEAVE MESSAGE": "#CECECE",
        "PREFIX": "red",
        "WELCOME MESSAGE": "#CECECE"
      },
      "COMMANDS": {
        "ADMINS LIST": "admins",
        "PLAYERS LIST": "players",
        "PLUGINS LIST": "plugins",
        "RULES": [
          "rules",
          "regras",
          "regles"
        ],
        "SEED": "seed",
        "SERVER MAP": "http://map.playrust.io/?66.223.16.6:28015"
      },
      "CONFIG_VERSION": 3.9,
      "MESSAGES": {
        "ADMINS LIST DESC": "<white>/admins -<end> Lists all the Admins currently online.",
        "ADMINS LIST TITLE": "ADMINS ONLINE",
        "CHECK CONSOLE NOTE": "Check the console (press F1) for more info.",
        "JOIN MESSAGE": "<lime>{username}<end> joined the server, from <lime>{country}<end>.",
        "LEAVE MESSAGE": "<lime>{username}<end> left the server.",
        "NO ADMINS ONLINE": "There are no <cyan>Admins<end> currently online.",
        "NO LANG": "Language not found in rules list.",
        "NO RULES": "No rules have been found!.",
        "ONLY PLAYER": "You are the only survivor online.",
        "PLAYERS COUNT": "There are <lime>{active}<end> survivors online.",
        "PLAYERS LIST DESC": "<white>/players -<end> Lists all the players. (Chat/Console)",
        "PLAYERS LIST TITLE": "PLAYERS ONLINE",
        "PLAYERS STATS": "<orange>SLEEPERS:<end> <lime>{sleepers}<end> <yellow>|<end> <orange>ALLTIME PLAYERS:<end> <lime>{total}<end>",
        "PLUGINS LIST DESC": "<white>/plugins -<end> Lists all the server plugins.",
        "PLUGINS LIST TITLE": "SERVER PLUGINS",
        "RULES DESC": "<white>/rules -<end> Lists the server rules.",
        "RULES TITLE": "SERVER RULES",
        "SEED DESC": "<white>/seed -<end> Shows current server seed. (Unless it is Random)",
        "SERVER MAP": "SERVER MAP: <lime>{ip}:{port}<end>",
        "SERVER MAP DESC": "<white>/map -<end> Shows the server map link.",
        "SERVER SEED": "The server seed is {seed}"
      },
      "RULES": {
        "DE": [
          "Cheaten ist verboten!",
          "Respektiere alle Spieler",
          "Spam im Chat zu vermeiden.",
          "Spiel fair und missbrauche keine Bugs oder Exploits."
        ],
        "DK": [
          "Snyd er strengt forbudt.",
          "Respekt alle spillere.",
          "Undgå spam i chatten.",
          "Play fair og ikke misbruger af bugs / exploits."
        ],
        "EN": [
          "Cheating is strictly prohibited.",
          "Respect all players",
          "Avoid spam in chat.",
          "Play fair and don't abuse of bugs/exploits."
        ],
        "ES": [
          "Los trucos están terminantemente prohibidos.",
          "Respeta a todos los jugadores.",
          "Evita el Spam en el chat.",
          "Juega limpio y no abuses de bugs/exploits."
        ],
        "FR": [
          "Tricher est strictement interdit.",
          "Respectez tous les joueurs.",
          "Évitez le spam dans le chat.",
          "Jouer juste et ne pas abuser des bugs / exploits."
        ],
        "IT": [
          "Cheating è severamente proibito.",
          "Rispettare tutti i giocatori.",
          "Evitare lo spam in chat.",
          "Fair Play e non abusare di bug / exploit."
        ],
        "NL": [
          "Vals spelen is ten strengste verboden.",
          "Respecteer alle spelers",
          "Vermijd spam in de chat.",
          "Speel eerlijk en maak geen misbruik van bugs / exploits."
        ],
        "PT": [
          "Usar cheats e totalmente proibido.",
          "Respeita todos os jogadores.",
          "Evita spam no chat.",
          "Nao abuses de bugs ou exploits."
        ],
        "RU": [
          "Запрещено использовать читы.",
          "Запрещено спамить и материться.",
          "Уважайте других игроков.",
          "Играйте честно и не используйте баги и лазейки."
        ],
        "TR": [
          "Hile kesinlikle yasaktır.",
          "Tüm oyuncular Saygı.",
          "Sohbet Spam kaçının.",
          "Adil oynayın ve böcek / açıkları kötüye yok."
        ],
        "UA": [
          "Обман суворо заборонено.",
          "Поважайте всіх гравців",
          "Щоб уникнути спаму в чаті.",
          "Грати чесно і не зловживати помилки / подвиги."
        ]
      },
      "SETTINGS": {
        "ADVERTS INTERVAL": 5,
        "BROADCAST TO CONSOLE": true,
        "CHAT PLAYERS LIST": true,
        "CONSOLE PLAYERS LIST": true,
        "ENABLE ADMINS LIST CMD": true,
        "ENABLE ADVERTS": true,
        "ENABLE HELPTEXT": true,
        "ENABLE JOIN MESSAGE": true,
        "ENABLE LEAVE MESSAGE": true,
        "ENABLE PLAYERS LIST CMD": true,
        "ENABLE PLUGINS LIST CMD": false,
        "ENABLE RULES CMD": true,
        "ENABLE SEED CMD": false,
        "ENABLE SERVER MAP CMD": false,
        "ENABLE WELCOME MESSAGE": true,
        "HIDE ADMINS": true,
        "PREFIX": "NOTIFIER",
        "RULES LANGUAGE": "AUTO"
      },
      "WELCOME MESSAGE": [
        "Welcome <lime>{username}<end>, to the server!",
        "Type <red>/help<end> for all available commands.",
        "SERVER IP: <cyan>{66.223.16.6}:{28016}<end>"
      ]
    }
    Here my config
     
  12. First of all: Thanks for the great help! And: You're doing a fantastic job!!!

    I've a question regarding to notifier:
    is it possible to make a countdown based on the Servertime?
    I set up an automatical restart at 0:00 and i want notifier to tell my player something like "Server Restart in 15 Min. Daily Server restarts at 0:00 !" then "Server restart in x Min. Daily Server restarts at 0:00!" and finally "Server restarts in 60 Seconds. Daily Server restarts at 0:00"

    Something like this would be a real deal.
     
  13. SkinN õ.Õ'.|. updated Notifier with a new update entry:

    Notifier | Minor Fix

     
  14. Hello. I recently updated to the latest Oxide version and noticed that this plugin does not work anymore. I updated this plugin along with the new version and nothing seems to work. I type the commands in chat and nothing comes up. Any idea what the problem may be?
     
  15. Wulf

    Wulf Community Admin

    You either do not have Oxide installed or the plugin is not running. Check your logs for errors.
     
  16. Greetings,
    I am noticing some of the notifiers are not coming through in game. I have changed notifier to read "Incoming" however, I have seen some of the notifications looking like this ::Incoming:: and that is all it reads. It is not showing who is entering or leaving the server.

    {
    "AdvertMessages": [
    "Welcome to the Rusted Wastelands",
    "Type /help for all the server's available commands.",
    "Cheating is totally forbidden",
    "Have fun,Be Respectful"
    ],
    "ConfigVersion": "2.4",
    "Messages": {
    "ConnectMessage": "{username} joined the server. [Country: {country}]",
    "DisconnectMessage": "{username} left the server. [Country: {country}]",
    "OnlyPlayer": "You are the only survivor online.",
    "PlayerCount": "There are {playercount} survivors online.",
    "PlayerListDesc": "Check the console ( F1 ) for the full player list.",
    "WelcomeMessage": [
    "Hi {username}, welcome to the Rusted Wastelands.",
    "Type /help for all the server's available commands."
    ],
    "WhoHelpDesc": "/who, /players, /online - Shows in the chat the number of players in the server, and prints to the player's console the full player list."
    },
    "PlayerDeathMessages": {
    "AnimalKill": "{victim} was killed by a {animal}.",
    "AnimalKillSleep": "{victim} killed by a {animal} while sleeping.",
    "Bleeding": "{victim} bled to death.",
    "Cold": "{victim} froze to death.",
    "Drowned": "{victim} drowned.",
    "Fall": "{victim} died from a big fall.",
    "Heat": "{victim} burned to death.",
    "Hunger": "{victim} starved to death.",
    "PlayerKill": "{attacker} killed {victim}. [Weapon: {weapon}|Distance: {distance}]",
    "PlayerKillSleep": "{attacker} killed {victim} while they were sleeping. [Weapon: {weapon}|Distance: {distance}]",
    "Poison": "{victim} died poisoned.",
    "Radiation": "{victim} died from radiation.",
    "Slash": "{victim} died slashed into pieces.",
    "Suicide": "{victim} committed suicide.",
    "Thirst": "{victim} didn't drink enough."
    },
    "Settings": {
    "AdvertInterval": 300,
    "AdvertMessagesColor": "orange",
    "BroadCastToConsole": true,
    "ChatPrefix": "Incoming...",
    "ChatPrefixColor": "yellow",
    "DiconnectAndConnectMessagesColor": "green",
    "HideAdminsConnectionMessages": true,
    "PlayerDeathMessagesColor": "yellow",
    "ShowAnimalKillsMessages": true,
    "ShowConnected": true,
    "ShowDisconnected": true,
    "ShowMetabolismDeathMessages": true,
    "ShowPlayerKillsMessages": true,
    "ShowSuicideMessage": true,
    "ShowWelcomeMessage": true,
    "WelcomeMessageColor": "blue"
    }
    }
     
  17. Hiya chaps.
    Having an issue where adverts wont repeat. they reach the and of the messages and it just stops. everything else works fine i have to keep reloading it to get it to display messages again.

    perhaps an error in my config i thought. so i deleted it and started all over again making sure to keep quotations etc in the right places. but perhaps i bungled it somewhere.?
    Code:
    {
      "ADVERTS": [
      "Welcome to {HNn] HappyNnaked server! Add us to your favourites and join our steamgroup and website for latest news!",
      "Type /help for all the server's available commands.",
       "Visit our website, sign up and join our competition to win rust resources!! @ hnn.clanservers.com",
       "Admins are PLAYERS just like YOU!!, if you ask for help though *expect them to be in godmode*",
       "Visit our website @ hnn.clanservers.com for access to Teamspeak and our live map and a chance to win rust resources in our competitions!",
       "We also have a creative server with High gather and stacks! Visit our website @ hnn.clanservers.com for the ip, or search [HNn]Creative: VHigh Gather: Big Stacks.",
      "HNn tags are admin and HNnc tags are free for you to use, so join our steam group and add your HNnc tag!",
      "Issues with server? Contact an Admin now by adding [HNn]Vikingvirus,[HNn]Guldfeen or[HNn][ىkʟ] ☠ TiMeCoP[TCKG]  to steam.",
      "Cheating is totally forbidden",
       "Visit our website, sign up and join our competition to win rust resources!! @ hnn.clanservers.com",
       "Visit us Sunday 7-8PM GMT for for our happy hour with 10x gather!",
       "Dont forget to visit our website @ hnn.clanservers.com and drop us a hello :)",
      "We have a Teamspeak3 server come join us for a chat! eurots1.gameservers.com:9194 pass is on our steam group profile and website.",
      "Like our server? Want to help keep us running? Ask an admin about donations :) or visit or steam group or website and use the link provided :)",
       "Please dont constantly ask admin to teleported about! Once your TP limit is used for the day, you'll just have to use the legs provided to you.",
       "Visit our website, sign up and join our competition to win rust resources!! @ hnn.clanservers.com",
       "We now have a website for latest news, info with forums for all kinds of chat. Visit us @ hnn.clanservers.com"
      ],
      "COLORS": {
      "ADVERTS": "#CECECE",
      "JOIN MESSAGE": "#CECECE",
      "LEAVE MESSAGE": "#CECECE",
      "PREFIX": "red",
      "WELCOME MESSAGE": "#FFFFFF"
      },
      "COMMANDS": {
      "ADMINS LIST": "admins",
      "PLAYERS LIST": "players",
      "PLUGINS LIST": "plugins",
      "RULES": [
      "rules",
      "regras",
      "regles"
      ],
      "SEED": "seed",
      "SERVER MAP": "map"
      },
      "CONFIG_VERSION": 3.9,
      "MESSAGES": {
      "ADMINS LIST DESC": "<white>/admins -<end> Lists all the Admins currently online.",
      "ADMINS LIST TITLE": "ADMINS ONLINE",
      "CHECK CONSOLE NOTE": "Check the console (press F1) for more info.",
      "JOIN MESSAGE": "<lime>{username}<end> joined the server, from <lime>{country}<end>.",
      "LEAVE MESSAGE": "<lime>{username}<end> rage quit the server.",
      "NO ADMINS ONLINE": "There are no <cyan>Admins<end> currently online.",
      "NO LANG": "Language not found in rules list.",
      "NO RULES": "No rules have been found!.",
      "ONLY PLAYER": "You are the only survivor online.",
      "PLAYERS COUNT": "There are <lime>{active}<end> survivors online.",
      "PLAYERS LIST DESC": "<white>/players -<end> Lists all the players. (Chat/Console)",
      "PLAYERS LIST TITLE": "PLAYERS ONLINE",
      "PLAYERS STATS": "<orange>SLEEPERS:<end> <lime>{sleepers}<end> <yellow>|<end> <orange>ALLTIME PLAYERS:<end> <lime>{total}<end>",
      "PLUGINS LIST DESC": "<white>/plugins -<end> Lists all the server plugins.",
      "PLUGINS LIST TITLE": "SERVER PLUGINS",
      "RULES DESC": "<white>/rules -<end> Lists the server rules.",
      "RULES TITLE": "SERVER RULES",
      "SEED DESC": "<white>/seed -<end> Shows current server seed. (Unless it is Random)",
      "SERVER MAP": "SERVER MAP: <lime>{ip}:{port}<end>",
      "SERVER MAP DESC": "<white>/map -<end> Shows the server map link.",
      "SERVER SEED": "The server seed is {seed}"
      },
      "RULES": {
      "DE": [
      "Cheaten ist verboten!",
      "Respektiere alle Spieler",
      "Spam im Chat zu vermeiden.",
      "Spiel fair und missbrauche keine Bugs oder Exploits."
      ],
      "DK": [
      "Snyd er strengt forbudt.",
      "Respekt alle spillere.",
      "Undgå spam i chatten.",
      "Play fair og ikke misbruger af bugs / exploits."
      ],
      "EN": [
      "Cheating is strictly prohibited.",
      "Respect all players",
      "Avoid spam in chat.",
      "Play fair and don't abuse of bugs/exploits."
      ],
      "ES": [
      "Los trucos están terminantemente prohibidos.",
      "Respeta a todos los jugadores.",
      "Evita el Spam en el chat.",
      "Juega limpio y no abuses de bugs/exploits."
      ],
      "FR": [
      "Tricher est strictement interdit.",
      "Respectez tous les joueurs.",
      "Évitez le spam dans le chat.",
      "Jouer juste et ne pas abuser des bugs / exploits."
      ],
      "IT": [
      "Cheating è severamente proibito.",
      "Rispettare tutti i giocatori.",
      "Evitare lo spam in chat.",
      "Fair Play e non abusare di bug / exploit."
      ],
      "NL": [
      "Vals spelen is ten strengste verboden.",
      "Respecteer alle spelers",
      "Vermijd spam in de chat.",
      "Speel eerlijk en maak geen misbruik van bugs / exploits."
      ],
      "PT": [
      "Usar cheats e totalmente proibido.",
      "Respeita todos os jogadores.",
      "Evita spam no chat.",
      "Nao abuses de bugs ou exploits."
      ],
      "RU": [
      "Запрещено использовать читы.",
      "Запрещено спамить и материться.",
      "Уважайте других игроков.",
      "Играйте честно и не используйте баги и лазейки."
      ],
      "TR": [
      "Hile kesinlikle yasaktır.",
      "Tüm oyuncular Saygı.",
      "Sohbet Spam kaçının.",
      "Adil oynayın ve böcek / açıkları kötüye yok."
      ],
      "UA": [
      "Обман суворо заборонено.",
      "Поважайте всіх гравців",
      "Щоб уникнути спаму в чаті.",
      "Грати чесно і не зловживати помилки / подвиги."
      ]
      },
      "SETTINGS": {
      "ADVERTS INTERVAL": 5,
      "BROADCAST TO CONSOLE": true,
      "CHAT PLAYERS LIST": true,
      "CONSOLE PLAYERS LIST": true,
      "ENABLE ADMINS LIST CMD": true,
      "ENABLE ADVERTS": true,
      "ENABLE HELPTEXT": true,
      "ENABLE JOIN MESSAGE": false,
      "ENABLE LEAVE MESSAGE": false,
      "ENABLE PLAYERS LIST CMD": true,
      "ENABLE PLUGINS LIST CMD": false,
      "ENABLE RULES CMD": true,
      "ENABLE SEED CMD": false,
      "ENABLE SERVER MAP CMD": true,
      "ENABLE WELCOME MESSAGE": true,
      "HIDE ADMINS": false,
      "PREFIX": "NOTIFIER",
      "RULES LANGUAGE": "AUTO"
      },
      "WELCOME MESSAGE": [
      "Welcome {username}, to the HappyNnaked server!",
      "Type /help for the available commands.",
       "Stone spawning issue has been fixed now :)",
       "Dont forget to visit our website @ hnn.clanservers.com and drop us a hello :)",
       "Admins are players just like you!!, if you ask for help though *expect them to be in godmode*"
      ]
    }
    Thanks for your replies :)
     
    Last edited by a moderator: Jan 20, 2017
  18. Please tell me the <tag> to use large text? How can I change the text size in ADVERTS? Thx.
     
  19. ok found this in logs

    12:04 PM [Error] Failed to run a 180.00 timer in notifier
    Traceback (most recent call last):
    File "notifier.py", line 371, in send_advert
    ValueError: expected ':' after format specifier

    could this be causing them not to loop?

    i redownloaded plugin and check on and around line 371. my plugin installed and the fresh downlaod ones are exactly the same
     
    Last edited by a moderator: May 10, 2015
  20. JHD

    JHD

    how to i add to the slash help list i want to add /kits and stuff how do i do it could someone sent me a ruff copy or @me how to do it