That error isn't related to this plugin, it often means that either the CSharpCompiler is not updated or something on the machine is closing it. It could also be that Visual C++ 2013 x86 is not being found.
Notifier [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Feb 1, 2015.
-
Wulf Community Admin
-
-
Oxide 2.0.2149 for Rust 942.65 (1470)
I get this when trying to load the plugin:
(12:47:39) | [Oxide] 12:47 [Error] Failed to initialize plugin 'Notifier v3.0.9' (NullReferenceException: Object reference not set to an instance of an object)
(12:47:39) | [Oxide] 12:47 [Debug] at Oxide.Core.Configuration.DynamicConfigFile.Get (System.String[] path) [0x00000] in <filename unknown>:0
at Oxide.Plugins.Notifier.GetConfig[String] (System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.Notifier.LoadVariables () [0x00000] in <filename unknown>:0
at Oxide.Plugins.Notifier.Init () [0x00000] in <filename unknown>:0
at Oxide.Plugins.Notifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 -
Hello! I have question: When i connect on my server in local network, notifier annouce in chat my county - Unknown, where in plugin code i can change Unknown on any other country manually? In older version plugin i change "self.country" in code, but new version notifier dont have this string code.
-
[DOUBLEPOST=1468261223][/DOUBLEPOST]
Though, this most likely is a connection issue between your local server and the the host of the player info stuff, the problem should solve itself sometime soon, just be patient. -
-
-
I am having this issue as shown in the pic. Any ideas?
Config File:
Code:{ "Advert Messages": [ "<orange>The Server restarts daily at 3AM Central" ], "Commands": { "Settings": { "Admins List": false, "Players Count": true, "Players List": true, "Plugins List": false, "Server Map": false, "Server MOTD": false, "Server Rules": false }, "Triggers": { "Admins List": [ "/admins" ], "Players Count": [ "/online" ], "Players List": [ "/players" ], "Plugins List": [ "/plugins" ], "Server Map": [ "/map" ], "Server MOTD": [ "/motd" ], "Server Rules": [ "/rules" ] } }, "General Settings": { "Adverts Interval (In Minutes)": 12, "Broadcast To Console": true, "Date Format": "{day}/{month}/{year}", "Enable Advert Messages": true, "Enable Chat Separators": true, "Enable Icon Profile": false, "Enable Join Message": true, "Enable Leave Message": true, "Enable Plugin Prefix": true, "Enable Scheduled Messages": false, "Enable Welcome Message": false, "Hide Admins": true, "Icon Profile": "76561198235146288", "Notify Incoming Airdrop": false, "Notify Incoming Helicopter": false, "Prefix": "<white>[ <cyan>NOTIFIER<end> ]<end>", "Rules Default Language": "auto", "Time Format": "{hour}:{minute}:{second}" }, "Message Of The Day": "We are using <cyan>Notifier<end> <grey>v3.0<end>, type <orange>/notifier help<end> for all its available commands.", "Rules": { "CZ": [ "Cheatování je přísně zakázáno.", "Respektuj a neurážej ostatní hráče.", "Nespamuj chat zbytečně.", "Hraj fair play a nezneužívej bugy/exploity." ], "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.", "Respekter alle spillere.", "Undgå spam i chatten.", "Spil fair og misbrug ikke 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." ], "JP": [ "チート行為は固く禁じております。", "全てのプレイヤーに敬意を払って下さい。", "チャットでスパム行為はしないで下さい。", "バグの悪用行為や公平なプレイはしないで下さい" ], "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": [ "Обман суворо заборонено.", "Поважайте всіх гравців", "Щоб уникнути спаму в чаті.", "Грати чесно і не зловживати помилки / подвиги." ] }, "Schedule Messages": { "22:00": [ "It is now <orange>{localtime.date} {localtime.now}<end> (Server local time)" ], "22:50": [ "It is now <orange>{localtime.now}<end> (Server local time)" ] }, "Welcome Messages": [ "<size=18>Welcome <lightblue>{player.name}<end></size>", "<orange><size=20>•</size><end> Type <orange>/notifier help<end> for all available commands", "<orange><size=20>•</size><end> Please respect our server <orange>/rules<end>", "<orange><size=20>•</size><end> Check our live map at <lime>[URL]http://{server.ip}:{server.port}<end>[/URL]" ] }
Last edited by a moderator: Jan 15, 2017 -
any broadcast comes to players as chat message help plz
-
Code:"Advert Messages": [ "<orange>The Server restarts daily at 3AM Central<end>"
-
Code:
[Oxide] 23:33 [Info] [ConnectionDB] Updating Interfector [ 76561198286270497 ]. 192.168.0.101:63466/76561198286270497/Interfector joined [windows/76561197990779213] [Oxide] 23:33 [Info] [Notifier] Interfector joined from Unknown
-
[DOUBLEPOST=1468363979][/DOUBLEPOST] -
[DOUBLEPOST=1468366354][/DOUBLEPOST] -
Or how to add in code something like that: If ip = 192.168.0.101; Then country = Russia; - help please add this function in code. -
-
-
-
-
Code:private void WebrequestFilter(int code, string response, BasePlayer player, bool sendJoinMessages) { try { string uid = player.UserIDString; if (!(response == null || code != 200)) { if (Players.ContainsKey(uid)) { var json = JObject.Parse(response); string country = (string) json["country"]; string cCode = (string) json["countryCode"]; if (country != null) Players[uid].country = country; else Players[uid].country = "Russia"; // if not resolved if (cCode != null) Players[uid].countrycode = cCode; else Players[uid].countrycode = "RU"; // if not resolved } } } catch {} if (sendJoinMessages) JoinMessages(player); }
-
Code:public string country= "Russia"; ... public string countrycode = "RU";
Also this isn't something I will add in future update as it is useless, so in the future update you will have to change it again.