1. You can't sorry.
     
  2. Wulf

    Wulf Community Admin

  3. I really need somone to answer and help me out on my post i did. I like to make the announcements and welcome messages good.
     
  4. i can help u any way we can chat on steam or something i hate typing
     
  5. Sure you got skype or what's your steam?
     
  6. Hi is it possible to change the chat avatar notifier uses, if so how do i do it as i would like to change it to my servers logo.

    Thanks
     
  7. Wulf

    Wulf Community Admin

    Yup, just replace the steamid that it uses for it in the plugin itself with your own steamid that uses the icon you'd like.
     
  8. Cool thanks
     
  9. ProfesorKush (steam-skype)
     
  10. So, I attempted to set up our rules list, and after doing so notifier has stopped functioning. I was extremely cautious as to follow the formatting, and it still seems that I have done something wrong. JSONLint gives me the following error

    Parse error on line 74:
    ...trictly prohibited.""Respect ALL players...
    -----------------------^
    Expecting '}', ':', ',', ']'

    Where did I go wrong?

    WARNING: Do NOT use this config file yet, it's not working correctly. Sorry to those who are going to look at this and see what a newbie I am at this and laugh.
    [DOUBLEPOST=1440379571][/DOUBLEPOST]Alright, so after screwing up royally, I have been told to take a break for the day we got it working now, looks like I just missed a few commas because I've been working on everything. Sorry for looking like a moron
     

    Attached Files:

  11. had same problem just delete (DONT COPY) ur config and retype evrything worked me
     
  12. Hi SkinN,

    I've used your plug-in and think it's great! I recently changed server hosting providers (to what I hope is a more reliable one!)... problem I have it that they directly manage add-ons (i.e. no direct FTP allowed), and they will not allow .py files - some concerns around potential security issues apparently.

    Would it be a lot of work to "port" this plugin over to a .lua or .cs version?
     
  13. Feature Request:

    Variables like {servertime} and {rusttime} for use in the notifications. The {servertime} is the actual real life time of the server.
     
  14. Hello Please help me the Console said to me the conifg is corrupt why...I didnt understand this Please help me.... Here The Config Text:

    Code:
    {
      "ADVERTS": [
        "Want to know the available commands? Type <orange>/help<end>.",
        "Respect the server <orange>/rules<end>.",
        "<orange>Of course we got an TS3- Server Join us @ ip: GermanFunGaming.nitrado.net<end>",
        "<orange>Automatic Server - Restarts at 10 o"clock and 20 o"clock at German Time<end>",
        "<orange>With /kit you can look for Kits<end>",
        "<orange>For more Information ask fanatics<end>",
        "<orange>With /remove you can remove your buildings<end>",
        "<orange>Type /tpr to send a Teleportation request and with /tpa you can accept it<end>",
        "<orange>If you like this Server and you want to Support us , Donate @ Bereits Kunde? | nitrado.net and you became an Donater Status and much more<end>",
        "<orange>Dont Kill Sleepers<end>",
        "<orange>It is prohibited to use for cheating or hacks<end>",
        "<orange>Flooding, flaming, spam is forbidden<end>",
        "<orange>Talk to the people before you shoot<end>",
        "<orange>Nazis, Propaganda, Rasismus is not allowed here<end>",
        "<orange>Have a nice Day<end>",
        "This server is running <orange>Oxide 2<end>.",
        "<red>Cheat is strictly prohibited.<end>",
        "Type <orange>/map<end> for the server map link.",
        "You are playing on: <lime>{server.hostname}<end>",
        "<orange>Players Online: <lime>{players}<end> / <lime>{server.maxplayers}<end> Sleepers: <lime>{sleepers}<end><end>"
      ],
      "COLORS": {
        "ADVERTS": "silver",
        "BOARDS TITLE": "silver",
        "JOIN MESSAGE": "silver",
        "LEAVE MESSAGE": "silver",
        "PREFIX": "#00EEEE",
        "SYSTEM": "white",
        "WELCOME MESSAGE": "silver"
      },
      "COMMANDS": {
        "ADMINS LIST": "admins",
        "ADVERTS COMMAND": "adverts",
        "MAP LINK": "map",
        "PLAYERS LIST": "players",
        "PLAYERS ONLINE": "online",
        "PLUGINS LIST": "plugins",
        "RULES": [
          "rules",
          "regras",
          "regles"
        ]
      },
      "CONFIG_VERSION": 5.3,
      "MESSAGES": {
        "ADMINS LIST DESC": "<orange>/admins<end> <grey>-<end> List of online <cyan>Admins<end> in the server.",
        "ADMINS LIST TITLE": "ADMINS ONLINE",
        "ADMINS ONLINE": "There are <cyan>{admins} Admins<end> online.",
        "ADVERTS DESC": "<orange>/adverts<end> <grey>-<end> Allows <cyan>Admins<end> to change the adverts interval ( i.g: /adverts 5 )",
        "ADVERTS INTERVAL CHANGED": "Adverts interval changed to <lime>{minutes}<end> minutes",
        "CHECK CONSOLE": "Check the console (press F1) for more info.",
        "JOIN MESSAGE": "{username} joined the server, from <orange>{country}<end>.",
        "LEAVE MESSAGE": "{username} left the server. (Reason: {reason})",
        "MAP LINK": "See where you are on the server map at: <lime>" rel="nofollow">http://{ip}:{port}<end>",
        "MAP LINK DESC": "<orange>/map<end> <grey>-<end> Server map url.",
        "NO ADMINS": "There are no <cyan>Admins<end> online.",
        "NO LANG": "Error, <lime>{args}<end> language not supported or does not exist.",
        "NO RULES": "Error, no rules found, contact the <cyan>Admins<end>.",
        "PLAYERS LIST DESC": "<orange>/players<end> <grey>-<end> List of all players in the server.",
        "PLAYERS LIST TITLE": "PLAYERS LIST",
        "PLAYERS ONLINE": "There are <lime>{active}<end>/<lime>{maxplayers}<end> players online.",
        "PLAYERS ONLINE DESC": "<orange>/online<end> <grey>-<end> Shows the number of players and <cyan>Admins<end> online, plus a few server stats.",
        "PLAYERS ONLINE TITLE": "PLAYERS ONLINE",
        "PLAYERS STATS": "Sleepers: <lime>{sleepers}<end> Alltime Players: <lime>{alltime}<end>",
        "PLUGINS LIST DESC": "<orange>/plugins<end> <grey>-<end> List of plugins installed in the server.",
        "PLUGINS LIST TITLE": "SERVER PLUGINS",
        "RULES DESC": "<orange>/rules<end> <grey>-<end> List of server rules.",
        "RULES TITLE": "SERVER RULES",
        "SYNTAX ERROR": "Syntax Error: {syntax}"
      },
      "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."
        ],
        "HU": [
          "Csalás szigorúan tilos.",
          "Tiszteld minden játékostársad.",
          "Kerüld a spammolást a chaten.",
          "Játssz tisztességesen és nem élj vissza a hibákkal."
        ],
        "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."
        ],
        "RO": [
          "Cheaturile sunt strict interzise!",
          "Respectați toți jucătorii!",
          "Evitați spamul în chat!",
          "Jucați corect și nu abuzați de bug-uri/exploituri!"
        ],
        "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": 6,
        "BROADCAST TO CONSOLE": true,
        "ENABLE ADMINS LIST": true,
        "ENABLE ADVERTS": true,
        "ENABLE ADVERTS COMMAND": true,
        "ENABLE JOIN MESSAGE": true,
        "ENABLE LEAVE MESSAGE": true,
        "ENABLE MAP LINK": true,
        "ENABLE PLAYERS DEFAULT COLORS": true,
        "ENABLE PLAYERS LIST": true,
        "ENABLE PLAYERS ONLINE": true,
        "ENABLE PLUGIN ICON": true,
        "ENABLE PLUGINS LIST": false,
        "ENABLE RULES": true,
        "ENABLE WELCOME MESSAGE": true,
        "HIDE ADMINS": false,
        "PLAYERS LIST ON CHAT": true,
        "PLAYERS LIST ON CONSOLE": true,
        "PREFIX": "<white>[<end> <cyan>NOTIFIER<end> <white>]<end>",
        "RULES LANGUAGE": "AUTO"
      },
      "WELCOME MESSAGE": [
        "<size=17>Welcome {username}</size>",
        "<orange><size=20>•</size><end> Type <orange>/help<end> for all available commands.",
        "<orange><size=20>•</size><end> Check our server <orange>/rules<end>.",
        "<orange><size=20>•</size><end> See where you are on the server map at: <lime>" rel="nofollow">http://{server.ip}:{server.port}<end>"
      ]
    }
     
  15. @BOSSTAG, your file had lots of errors, mainly because you used unsupported HTML code, used commas inside strings and also had various indentation errors.

    I have corrected all these errors, but have not removed the unsupported HTML code, only removed what would give errors and so on. The following code has been validated on jsonlint.com but not tested in-game.
    Code:
    {
        "ADVERTS": [
            "Want to know the available commands? Type <orange>/help<end>.",
            "Respect the server <orange>/rules<end>.",
            "<orange>Of course we got an TS3- Server Join us @ ip: GermanFunGaming.nitrado.net<end>",
            "<orange>Automatic Server - Restarts at 10 oclockand20oclock at German Time<end>",
            "<orange>With /kit you can look for Kits<end>",
            "<orange>For more Information ask fanatics<end>",
            "<orange>With /remove you can remove your buildings<end>",
            "<orange>Type /tpr to send a Teleportation request and with /tpa you can accept it<end>",
            "<orange>If you like this Server and you want to Support us , Donate @ Bereits Kunde? | nitrado.net and you became an Donater Status and much more<end>",
            "<orange>Dont Kill Sleepers<end>",
            "<orange>It is prohibited to use for cheating or hacks<end>",
            "<orange>Flooding, flaming, spam is forbidden<end>",
            "<orange>Talk to the people before you shoot<end>",
            "<orange>Nazis, Propaganda, Rasismus is not allowed here<end>",
            "<orange>Have a nice Day<end>",
            "This server is running <orange>Oxide 2<end>.",
            "<red>Cheat is strictly prohibited.<end>",
            "Type <orange>/map<end> for the server map link.",
            "You are playing on: <lime>{server.hostname}<end>",
            "<orange>Players Online: <lime>{players}<end> / <lime>{server.maxplayers}<end> Sleepers: <lime>{sleepers}<end><end>"
        ],
        "COLORS": {
            "ADVERTS": "silver",
            "BOARDS TITLE": "silver",
            "JOIN MESSAGE": "silver",
            "LEAVE MESSAGE": "silver",
            "PREFIX": "#00EEEE",
            "SYSTEM": "white",
            "WELCOME MESSAGE": "silver"
        },
        "COMMANDS": {
            "ADMINS LIST": "admins",
            "ADVERTS COMMAND": "adverts",
            "MAP LINK": "map",
            "PLAYERS LIST": "players",
            "PLAYERS ONLINE": "online",
            "PLUGINS LIST": "plugins",
            "RULES": [
                "rules",
                "regras",
                "regles"
            ]
        },
        "CONFIG_VERSION": 5.3,
        "MESSAGES": {
            "ADMINS LIST DESC": "<orange>/admins<end> <grey>-<end> List of online <cyan>Admins<end> in the server.",
            "ADMINS LIST TITLE": "ADMINS ONLINE",
            "ADMINS ONLINE": "There are <cyan>{admins} Admins<end> online.",
            "ADVERTS DESC": "<orange>/adverts<end> <grey>-<end> Allows <cyan>Admins<end> to change the adverts interval ( i.g: /adverts 5 )",
            "ADVERTS INTERVAL CHANGED": "Adverts interval changed to <lime>{minutes}<end> minutes",
            "CHECK CONSOLE": "Check the console (press F1) for more info.",
            "JOIN MESSAGE": "{username} joined the server, from <orange>{country}<end>.",
            "LEAVE MESSAGE": "{username} left the server. (Reason: {reason})",
            "MAP LINK": "See where you are on the server map at: <lime>rel=nofollow>http: //{ip}: {port}<end>",
            "MAPLINKDESC": "<orange>/map<end><grey>-<end>Servermapurl.",
            "NOADMINS": "Thereareno<cyan>Admins<end>online.",
            "NOLANG": "Error,<lime>{args}<end>languagenotsupportedordoesnotexist.",
            "NORULES": "Error,norulesfound,contactthe<cyan>Admins<end>.",
            "PLAYERSLISTDESC": "<orange>/players<end><grey>-<end>Listofallplayersintheserver.",
            "PLAYERSLISTTITLE": "PLAYERSLIST",
            "PLAYERSONLINE": "Thereare<lime>{active}<end>/<lime>{maxplayers}<end>playersonline.",
            "PLAYERSONLINEDESC": "<orange>/online<end><grey>-<end>Showsthenumberofplayersand<cyan>Admins<end>online,plusafewserverstats.",
            "PLAYERSONLINETITLE": "PLAYERSONLINE",
            "PLAYERSSTATS": "Sleepers: <lime>{sleepers}<end>AlltimePlayers: <lime>{alltime}<end>",
            "PLUGINSLISTDESC": "<orange>/plugins<end><grey>-<end>Listofpluginsinstalledintheserver.",
            "PLUGINSLISTTITLE": "SERVERPLUGINS",
            "RULESDESC": "<orange>/rules<end><grey>-<end>Listofserverrules.",
            "RULESTITLE": "SERVERRULES",
            "SYNTAXERROR": "SyntaxError: {syntax}"
      },
      "RULES": {
        "DE": [
          "Cheatenistverboten!",
          "RespektierealleSpieler",
          "SpamimChatzuvermeiden.",
          "SpielfairundmissbrauchekeineBugsoderExploits."
        ],
        "DK": [
          "Snyderstrengtforbudt.",
          "Respektallespillere.",
          "Undgåspamichatten.",
          "Playfairogikkemisbrugerafbugs/exploits."
        ],
        "EN": [
          "Cheatingisstrictlyprohibited.",
          "Respectallplayers",
          "Avoidspaminchat.",
          "Playfairanddontabuseofbugs/exploits."
        ],
        "ES": [
          "Lostrucosestánterminantementeprohibidos.",
          "Respetaatodoslosjugadores.",
          "EvitaelSpamenelchat.",
          "Juegalimpioynoabusesdebugs/exploits."
        ],
        "FR": [
          "Trichereststrictementinterdit.",
          "Respecteztouslesjoueurs.",
          "Évitezlespamdanslechat.",
          "Jouerjusteetnepasabuserdesbugs/exploits."
        ],
        "HU": [
          "Csalásszigorúantilos.",
          "Tiszteldmindenjátékostársad.",
          "Kerüldaspammolástachaten.",
          "Játssztisztességesenésneméljvisszaahibákkal."
        ],
        "IT": [
          "Cheatingèseveramenteproibito.",
          "Rispettaretuttiigiocatori.",
          "Evitarelospaminchat.",
          "FairPlayenonabusaredibug/exploit."
        ],
        "NL": [
          "Valsspelenistenstrengsteverboden.",
          "Respecteerallespelers",
          "Vermijdspamindechat.",
          "Speeleerlijkenmaakgeenmisbruikvanbugs/exploits."
        ],
        "PT": [
          "Usarcheatsetotalmenteproibido.",
          "Respeitatodososjogadores.",
          "Evitaspamnochat.",
          "Naoabusesdebugsouexploits."
        ],
        "RO": [
          "Cheaturilesuntstrictinterzise!",
          "Respectațitoțijucătorii!",
          "Evitațispamulînchat!",
          "Jucațicorectșinuabuzațidebug-uri/exploituri!"
        ],
        "RU": [
          "Запрещеноиспользоватьчиты.",
          "Запрещеноспамитьиматериться.",
          "Уважайтедругихигроков.",
          "Играйтечестноинеиспользуйтебагиилазейки."
        ],
        "TR": [
          "Hilekesinlikleyasaktır.",
          "TümoyuncularSaygı.",
          "SohbetSpamkaçının.",
          "Adiloynayınveböcek/açıklarıkötüyeyok."
        ],
        "UA": [
          "Обмансуворозаборонено.",
          "Поважайтевсіхгравців",
          "Щобуникнутиспамувчаті.",
          "Гратичесноінезловживатипомилки/подвиги."
        ]
      },
      "SETTINGS": {
        "ADVERTSINTERVAL": 6,
        "BROADCASTTOCONSOLE": true,
        "ENABLEADMINSLIST": true,
        "ENABLEADVERTS": true,
        "ENABLEADVERTSCOMMAND": true,
        "ENABLEJOINMESSAGE": true,
        "ENABLELEAVEMESSAGE": true,
        "ENABLEMAPLINK": true,
        "ENABLEPLAYERSDEFAULTCOLORS": true,
        "ENABLEPLAYERSLIST": true,
        "ENABLEPLAYERSONLINE": true,
        "ENABLEPLUGINICON": true,
        "ENABLEPLUGINSLIST": false,
        "ENABLERULES": true,
        "ENABLEWELCOMEMESSAGE": true,
        "HIDEADMINS": false,
        "PLAYERSLISTONCHAT": true,
        "PLAYERSLISTONCONSOLE": true,
        "PREFIX": "<white>[<end><cyan>NOTIFIER<end><white>]<end>",
        "RULESLANGUAGE": "AUTO"
      },
      "WELCOMEMESSAGE": [
        "<size=17>Welcome{username}</size>",
        "<orange><size=20>•</size><end>Type<orange>/help<end>forallavailablecommands.",
        "<orange><size=20>•</size><end>Checkourserver<orange>/rules<end>.",
        "<orange><size=20>•</size><end>Seewhereyouareontheservermapat: <lime> rel=nofollow>http:{server.ip}:{server.port}<end>"
        ]
    }
    
     
  16. Hi, i changed the steamid but i still see an interrogation point in front of the Notifier's name.

    Code:
    import time
    import BasePlayer
    import ConVar.Server as sv
    import UnityEngine.Random as random
    from System import Action, Int32, StringDEV = False
    LATEST_CFG = 5.3
    LINE = '-' * 50
    PROFILE = '76561198246542400'
    #-- PROFILE = '76561198235146288' --#
    
    Thank you in advance for your help,
     
  17. Thank you but if I have the text file copy and insert the notifier config and save and then when the server restart is, says he console the config is corupt?? :(

    here this says the console:
    Code:
    > oxide.reload notifier
    [Oxide] 5:48 PM [Error] Failed to call hook 'cmdReload' on plugin 'rustcore v1.0.0'
    Traceback (most recent call last):
      File "notifier.py", line 367, in Unload
    RuntimeError: Failed to call Unload (MissingMemberException: notifier instance has no attribute 'adverts_loop')
      at IronPython.Runtime.Types.OldInstance+FastOldInstanceGet.Target (System.Runtime.CompilerServices.CallSite site, System.Object instance, IronPython.Runtime.CodeContext context) [0x00000] in <filename unknown>:0
      at System.Dynamic.UpdateDelegates.UpdateAndExecute2[Object,CodeContext,Object] (System.Runtime.CompilerServices.CallSite site, System.Object arg0, IronPython.Runtime.CodeContext arg1) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.DynamicInstruction`3[System.Object,IronPython.Runtime.CodeContext,System.Object].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
     
    Last edited by a moderator: Aug 25, 2015
  18. i have been reseving this error for the past week now and i feel it is causing my server issues.

    [8/24/2015 9:12:55 AM] [Oxide] 9:12 AM [Error] Failed to call hook 'OnPlayerInit' on plugin 'notifier v2.11.1'
    Traceback (most recent call last):
    File "notifier.py", line 382, in OnPlayerInit
    File "notifier.py", line 741, in webrequest_filter
    RuntimeError: Failed to call OnPlayerInit (MissingMemberException: 'NoneType' object has no attribute 'ipaddress')
    at Microsoft.Scripting.Interpreter.ThrowInstruction.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

    Any Ideas???
     
  19. My issue ended up being that after working on getting several plugins running I had missed the one minor formatting necetity of COMMAS AFTER EVERYTHING. Mind you it was after configuring 6 other plugins that I worked on this one