You are missing a <end> tag there.
Notifier [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Feb 1, 2015.
-
Hello got smal problem i just updeted to new version and got this problem
Code:private void LoadMessages() { lang.RegisterMessages(new Dictionary<string, string> { { "Join Message", "<lightblue>{player.name} <silver>Dolaczyl do walki na tym zapomnianym swiecie, z<end> {player.country}<end>" }, { "Leave Message", "<lightblue>{player.name}<end> Opuscil ten swiat (Reason: {reason})" }, { "Incoming Airdrop", "<yellow>ZRZUT <silver>Nadlatuje, kordy dropu to:<end> {x}, {y}, {z}<end>."}, { "Incoming Helicopter", "<yellow>HELIKOPTER MORDERCA<end> NADLATUJE KRYC SIE!!!!" }, { "No Admins Online", "There are no <cyan>Admins<end> currently online" }, { "Players List Description", "Lista aktywnych graczy" }, { "Plugins List Description", "List of plugins running in the server" }, { "Admins List Description", "List of active Admins" }, { "Server Rules Description", "Pokaz regulamin serwera oraz dodatkowe komendy (In the player Steam language if set to automatic)" }, { "Server Map Description", "Pokaz mape serwera (Rust:IO)" }, { "Server MOTD Description", "Shows the Message Of The Day" }, { "Players Count Description", "Counts active players, sleepers and admins of the server" }, { "Players List Title", "Players List" }, { "Plugins List Title", "Plugins List" }, { "Admins List Title", "Admins Online" }, { "Server Rules Title", "Regulamin oraz dodatkowe komendy" }, { "Rules Languages List Title", "Available Rules Languages" }, { "Server MOTD Title", "Message Of The Day" }, { "Server Map Message", "Check our live map at: <yellow>{server.ip}:{server.port}<end>" }, { "Players Count Message", "There are <orange>{players.active} <silver>of<end> {server.maxplayers}<end> <silver>players in the server, and <orange>{players.sleepers}<end> sleepers<end>" }, { "Help Text Message", "For all the <cyan>Notifier<end>'s commands type <orange>/notifier help<end>" } }, this);
Last edited by a moderator: Apr 1, 2016 -
Wulf Community Admin
-
getting unknown command when typing /motd
-
Hello
The /map command doesn't seem to want to change. I've edited the plugin file and changed the map link but it still prints the ip address.
I've changed this line
Code:{ "Server Map Message", "Check our live map at: <yellow>{server.ip}:{server.port}<end>" },
Code:{ "Server Map Message", "Check our live map at: <yellow>http://map.playrust.io/?ipremoved<end>" },
I've looked around in the config also, and there's no setting that changes the map link for /map (excluding welcome messages and such). -
[DOUBLEPOST=1459549815][/DOUBLEPOST] -
"ENABLE MOTD": true, -
[Oxide] 15:24 [Error] Failed to call hook 'OnPlayerInit' on plugin 'Notifier v3.0.6' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 15:24 [Debug] at Oxide.Plugins.Notifier.GetNameFormats (System.String text, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Notifier.JoinMessages (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Notifier.OnPlayerInit (.BasePlayer player, Boolean sendJoinMessages) [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 (System.Reflection.MethodInfo 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.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
getting this when i join. when someone else joins it works fine. So what i should change to get rid of that? and when i type /players it will show that list, but its not giving that to console, even when its enabled on config -
-
-
-
is everything else now working on this plugin ?? , i will miss the player country but need the drop coords for the airdrops, pity you could not include "arrow" for the drop, "airdrop arrow" plugin is dead as , Will wait another week before implementing this one to see if the game devs are going to crash and burn the game on the 7th,
-
[DOUBLEPOST=1459679937][/DOUBLEPOST]
-
Does that same thing affect to /players lost in console? (/players don't spawn list to console anymore) that was bugged when plugin updated. Earlier it told that i join from unknown and some times said i joined from Finland (its not so big problem), but i would like to have that player list with country codes back.
"
"76561197980168218": {
"isadmin": true,
"steamid": "76561197980168218",
"ipaddress": "192.168.1.1",
"country": null,
"username": "Kiwes",
"countrycode": null
},
"
I think that is the problem, so is there a way to ignore that check? when i change those and reload plugin, it will change back.
EDIT. Sorted out that first problem! just: oxide.unload Notifier --> Change those null what ever you want (yes tested that too, just joined to my server from OuterSpace) and save file --> oxide.load Notifier
But still missing that /players any ideas how to get that back? (and still cant change colors for that list/join messages etc.)Last edited by a moderator: Apr 4, 2016 -
Can you get a kill feed?
-
Wulf Community Admin
-
-
Here is the error that I am getting when I try to reload the plugin's config after editing it:
Code:[Oxide] 12:33 [Error] Notifier v3.0.6: Failed to load config file (is the config file corrupt?) (Invalid character after parsing property name. Expected ':' but got: ,. Path '['Server Help']', line 68, position 54.)
Code:{ "Advert Messages": [ "<orange>Need help?<end> Try calling for the <cyan>Admins<end> in the chat.", "Please avoid any insults and be respectful!", "Cheating or abusing of game exploits will result in a <red>permanent<end> ban.", "You are playing on: <orange>{server.hostname}<end>", "There are <orange>{players.active}<silver>/<end>{server.maxplayers} <silver>players playing in the server, and<end> {players.sleepers}<end> sleepers.", "Check <cyan>Notifier's<end> with <orange>/notifier help<end> command." ], "Commands": { "Settings": { "Admins List": false, "Players Count": true, "Players List": true, "Plugins List": false, "Server Map": false, "Server MOTD": false, "Server Rules": true }, "Triggers": { "Admins List": [ "/admins" ], "Players Count": [ "/online" ], "Players List": [ "/players" ], "Plugins List": [ "/plugins" ], "Server Help": [ "/help" ], "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": true, "Hide Admins": false, "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}" }, "Server Help": { "Type <orange>/clan help<end> for Clan related Help", "Type <orange>/kit<end> for a list of available Kits", "Type <orange>/bounty<end> for Bounty related Help", "Type <orange>/tpr<end> to request to teleport to someone", "Type <orange>/rewards<end> for Rewards related Help", "Anything else, please ask in chat or visit our forums" }, "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": [ "Try not to be too much of an asshole.", "Do not advertise.", "Do not post any pornographic images on signs.", "Do not hack or exploit any glitches.", "Do not build inside of rocks", "Do not spam", "For the rest of our rules, please visit our forums" ], "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>http://{server.ip}:{server.port}<end>" ] }
-
I think you need to change this:
Code:"Server Help": { "Type <orange>/clan help<end> for Clan related Help", "Type <orange>/kit<end> for a list of available Kits", "Type <orange>/bounty<end> for Bounty related Help", "Type <orange>/tpr<end> to request to teleport to someone", "Type <orange>/rewards<end> for Rewards related Help", "Anything else, please ask in chat or visit our forums" }
Code:"Server Help": [ "Type <orange>/clan help<end> for Clan related Help", "Type <orange>/kit<end> for a list of available Kits", "Type <orange>/bounty<end> for Bounty related Help", "Type <orange>/tpr<end> to request to teleport to someone", "Type <orange>/rewards<end> for Rewards related Help", "Anything else, please ask in chat or visit our forums" ]
-
After doing what you said, and it still refusing to work, I simply decided to go back to the older version that was coded in Python. I liked it a whole lot more. Much simpler.
EDIT: I was super tired and I was mixing up and the old and new files. (New Plugin, Old Config)Last edited by a moderator: Apr 5, 2016