well I found the code causing my adverts to fail it was this ad "<orange>Players Online: <lime>{players}<end> / <lime>{maxplayers}<end> Sleepers: <lime>{sleepers}<end><end>" every other ad I had worked perfect but soon as it got to this one it failed everytime.
Notifier [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Feb 1, 2015.
-
Wulf Community Admin
-
ya I was just posting that Wulf cuz that's what was causing my adverts to fail on me which some others might have the same issue. I'm not gonna lie I am not familiar with the HTML color tags.
-
Wulf Community Admin
-
sweet ty Wulf
-
I thought I would try adding a custom command, and it /almost/ works. Here's my config changes:
in the COMMANDS section I added:
Code:"MUMBLE INFO": "mumble",
Code:"MUMBLE INFO": "Join us on Mumble voice chat at blah", "MUMBLE INFO DESC": "<orange>/mumble<end> <grey>-<end> Mumble voice chat info",
Code:"ENABLE MUMBLE INFO": true,
Not sure if this is even a feature, but curious if it's possible to make it work.
-
Allow me to specify my process as it may have something to do with the failure. Originally the message worked, then I figured I'd prefer that come in my welcome message so I copied/pasted the line into the welcome section of config and changed the colors with HTML color tags. It stopped working as both an advert and part of the welcome message. I then tried other colors that I had used successfully in other advert, still failed. Finally I set the colors back to their original and removed the line from the welcome, still failure. Eventually I just removed the line and now use a players online GUI.
Interested to see if you have success Bumfister5000.Last edited by a moderator: Aug 18, 2015 -
-
I updated oxide recently and now notifier is not working at all. It just spits errors out at me when oxide tries to load it. I tried deleting my config and reloading the newest notifier plugin and its still giving me these errors. Any help is appreciated.
Code:[Oxide] 9:21 PM [Info] Unloaded plugin Notifier v2.11.1 by SkinN [Oxide] 9:21 PM [Info] Loaded plugin Notifier v2.11.1 by SkinN [Oxide] 9:21 PM [Info] [Notifier v2.11.1] :: * Loading default configuration file [Oxide] 9:21 PM [Info] [Notifier v2.11.1] :: -------------------------------------------------- [Oxide] 9:21 PM [Info] [Notifier v2.11.1] :: * Configuration file is up to date [Oxide] 9:21 PM [Error] Failed to initialize plugin 'notifier v2.11.1' Traceback (most recent call last): File "notifier.py", line 306, in Init RuntimeError: Failed to call Init (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <filename unknown>:0 at Oxide.Ext.Python.Utility.DictionaryFromConfig (Oxide.Core.Configuration.DynamicConfigFile config, Microsoft.Scripting.Hosting.ScriptEngine engine) [0x00000] in <filename unknown>:0 at Oxide.Ext.Python.Libraries.PythonDatafile.GetData (System.String name) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) System.Func`3<Oxide.Ext.Python.Libraries.PythonDatafile, string, IronPython.Runtime.PythonDictionary>:invoke_PythonDictionary__this___PythonDatafile_string (Oxide.Ext.Python.Libraries.PythonDatafile,string) at Microsoft.Scripting.Interpreter.FuncCallInstruction`3[Oxide.Ext.Python.Libraries.PythonDatafile,System.String,IronPython.Runtime.PythonDictionary].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
-
Hello,
How can I change the players list and rules color like the grey ----------------------- and some grey texts, I've try to put different color code, but it color only my messages not the non editable text. I've some ( and ) too, they are in orange and again I don't see how I can change it.
It's only on these menus, the rest is ok, but I want to only use the vanilla color for the menus too.
Kind regards.
Code:{ "ADVERTS": [ "Vous pouvez voir les règles en tapant <#af5>/rules FR<end> ou <#af5>/rules EN<end>.", "Pour connaitre les commandes tapez <#af5>/help<end>.", "<#ec2323>DDOS protection et anticheat ON!<end>", "Ajoutez le serveur à vos favoris!", "Vous pouvez rejoindre notre <#af5>TeamSpeak<end> à cette adresse: <#af5>ts12.meinsh.eu:10015<end>!" ], "COLORS": { "ADVERTS": "#fa5", "BOARDS TITLE": "#fa5", "JOIN MESSAGE": "#fa5", "LEAVE MESSAGE": "#fa5", "PREFIX": "#af5", "SYSTEM": "#fa5", "WELCOME MESSAGE": "#fa5" }, "COMMANDS": { "ADMINS LIST": "admins", "ADVERTS COMMAND": "adverts", "MAP LINK": "map", "PLAYERS LIST": "players", "PLAYERS ONLINE": "online", "PLUGINS LIST": "plugins", "RULES": [ "rules", "regles" ] }, "CONFIG_VERSION": 5.3, "MESSAGES": { "ADMINS LIST DESC": "<orange>/admins<end> <#fa5>-<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> <#fa5>-<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": "<#fa5>F1 pour plus d'informations.<end>", "JOIN MESSAGE": "{username} arrive dans la bataille, de <#af5>{country}<end>.", "LEAVE MESSAGE": "{username} left the server. (Reason: {reason})", "MAP LINK": "<#fa5>Pour utiliser la <#af5>live map<end> rendez vous sur <#af5>playrust.io<end> et entrez <#af5>KaaaWaaa<end> dans <#af5>recherche<end>.<end>", "MAP LINK DESC": "<orange>/map<end> <#fa5>-<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": "<#fa5>/players<end> <#fa5>-<end> List of all players in the server.", "PLAYERS LIST TITLE": "Liste des joueurs", "PLAYERS ONLINE": "There are <lime>{active}<end>/<lime>{maxplayers}<end> players online.", "PLAYERS ONLINE DESC": "<#fa5>/online<end> <#fa5>-<end> Shows the number of players and <cyan>Admins<end> online, plus a few server stats.", "PLAYERS ONLINE TITLE": "Joueurs connectés", "PLAYERS STATS": "Sleepers: <lime>{sleepers}<end> Alltime Players: <lime>{alltime}<end>", "PLUGINS LIST DESC": "<orange>/plugins<end> <#fa5>-<end> List of plugins installed in the server.", "PLUGINS LIST TITLE": "SERVER PLUGINS", "RULES DESC": "<#fa5>/rules<end> <#fa5>-<end> List of server rules.", "RULES TITLE": "Règles / Rules", "SYNTAX ERROR": "Syntax Error: {syntax}" }, "RULES": { "EN": [ "<#af5>No raid in your faction's side!<end>", "<#af5>Respect all players.<end>", "<#af5>Avoid spam in chat.<end>", "<#af5>Play fair and don't abuse of bugs/exploits.<end>" ], "FR": [ "<#af5>Pas de raid du côté de votre faction!<end>", "<#af5>Respecter tous les joueurs.<end>", "<#af5>Évitez le spam dans le chat.<end>", "<#af5>Jouer juste et ne pas abuser des bugs / exploits.<end>" ] }, "SETTINGS": { "ADVERTS INTERVAL": 3, "BROADCAST TO CONSOLE": true, "ENABLE ADMINS LIST": false, "ENABLE ADVERTS": true, "ENABLE ADVERTS COMMAND": true, "ENABLE JOIN MESSAGE": true, "ENABLE LEAVE MESSAGE": false, "ENABLE MAP LINK": true, "ENABLE PLAYERS DEFAULT COLORS": true, "ENABLE PLAYERS LIST": true, "ENABLE PLAYERS ONLINE": false, "ENABLE PLUGIN ICON": false, "ENABLE PLUGINS LIST": false, "ENABLE RULES": true, "ENABLE WELCOME MESSAGE": false, "HIDE ADMINS": true, "PLAYERS LIST ON CHAT": true, "PLAYERS LIST ON CONSOLE": true, "PREFIX": "<#af5>[Serveur]<end>", "RULES LANGUAGE": "AUTO" }, "WELCOME MESSAGE": [ "<size=17>Bienvenue {username} sur KaaaWaaa</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>http://{server.ip}:{server.port}<end>" ] }
-
command /help doesnt work, whats wrong?
I just reinstall my oxide to newest and put this plugin into game, everything is ok, just this basic /help cmnd doesnt work. -
Wulf Community Admin
-
Anybody have and idea why I'm getting this error:
Code:[Error] Web request callback raised an exception Traceback (most recent call last): File "notifier.py", line 713, in response_handler ValueError: Single '}' encountered in format string
Last edited by a moderator: Aug 20, 2015 -
Wulf Community Admin
-
-
Code:"JOIN MESSAGE": "Okay, everyone be nice now! ;} - {username} joined the server, from <orange>{country}<end>.",
-
RUS: Всем привет! у кого-нибудь есть (правильно) переведенный на русский конфиг фаил?) а то я никак разобраться не могу. или кому не сложно, можите дать уже настраенный фаил, так гораздо легче понять что от куда
заранее спасибо
Подскажите, как создать приветствие, когда игрок только входит на сервер, где будет полное описание. и ему нужно будет это прочитать и подтвердить кнопкой.
ENG: Hi, everybody! somebody has (correctly) translated on Russian config file?) and that I can't understand in any way. or to whom it isn't difficult, you can give already adjusted file, it is so much easier to understand that from wherethanks in advance
Prompt how to create a greeting when the player only enters on the server where there will be a complete description. and he will need to read it and to confirm with the button.Last edited by a moderator: Aug 22, 2015 -
Can I rename /notifier help for /help ? how
-
How do i make custom welcome messages and adverts?
Code:'WELCOME MESSAGE': ( '<size=17>Welcome to the Official Gaming Strive Fury Server {username}</size>', '<size=17>Follow us at our website: http://gamingstrive.com/ {username}</size>', '<size=17>If you like our server donate here: http://gamingstrive.com/ {username}</size>', '<size=17>If you want VIP or Contributor or Donator Packages buy here: http://gamingstrive.com/mybb/index.php and http://gamingstrive.com/ {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>http://108.61.109.105:28016<end>' ), 'ADVERTS': ( '<Orange>Welcome to the Official Gaming Strive Fury Server.<end>', '<Orange>Follow us at our website: http://gamingstrive.com/<end>', '<Orange>If you like our server donate here: http://gamingstrive.com/<end>', '<Orange>We also have a forum here: http://gamingstrive.com/mybb/index.php<end>', '<Orange>If you want VIP or Contributor or Donator Packages buy here: http://gamingstrive.com/mybb/index.php and http://gamingstrive.com/<end>', '<Orange>Become Donator Today<end>', '<Orange>Become VIP Today<end>', '<Orange>Become Contributor Today<end>', 'Want to know the available commands? Type <orange>/help<end>.', 'Respect the server <orange>/rules<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>'
Last edited by a moderator: Aug 23, 2015