Не подскажите, через какую программу это можно сделать?(Do not tell me, through which program it can be done?)
Notifier [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Feb 1, 2015.
-
[Error] notifier: KeyNotFoundException while calling SendHelpText: latest version
-
[DOUBLEPOST=1424030414][/DOUBLEPOST]
"DISABLE HELPTEXT": false,
"DISABLE ADVERTS": false,
Follow the configuration scheme on the plugin's main post. -
In your plugin LoadDefaultConfig, you are missing those two values:
Code:"DISABLE HELPTEXT" "DISABLE ADVERTS"
Code:# ========================================================================== # <>> CONFIGURATION # ========================================================================== def LoadDefaultConfig(self): # CFG VERSION self.Config['CONFIG_VERSION'] = self.latest_cfg # PLUGIN SETTINGS self.Config['SETTINGS'] = {} self.Config['SETTINGS']['PREFIX'] = 'NOTIFIER' self.Config['SETTINGS']['SHOW CONNECTED'] = True self.Config['SETTINGS']['SHOW DISCONNECTED'] = True self.Config['SETTINGS']['SHOW WELCOME MESSAGES'] = True self.Config['SETTINGS']['HIDE ADMINS CONNECTIONS'] = False self.Config['SETTINGS']['BROADCAST TO CONSOLE'] = True self.Config['SETTINGS']['ADVERTS INTERVAL'] = 200 # PLAYER LIST COMMANDS self.Config['PLAYER LIST COMMANDS'] = ('who','players','online')
-
Code:# -------------------------------------------------------------------------- def UpdateConfig(self): ''' Updates configuration file with the new version changes ''' # VERSION VALUE self.Config['CONFIG_VERSION'] = self.latest_cfg # VERSION 1.1 UPDATE if 'DISABLE HELPTEXT' not in self.Config['SETTINGS']: self.Config['SETTINGS']['DISABLE HELPTEXT'] = False if 'DISABLE ADVERTS' not in self.Config['SETTINGS']: self.Config['SETTINGS']['DISABLE ADVERTS'] = False # SAVE FILE self.SaveConfig()
-
Yeah I was using the .lua version and just switched over to this version Today! (why the switch from .lua to Pyton?)
Thanks BTW! It's a Great Plugin! LOVE IT!
-TheDoc -
Yeah, right. I do not have long to create a server. Now try to understand it.
-
SkinN õ.Õ'.|. updated Notifier with a new update entry:
Notifier | Configuration File Fix
[DOUBLEPOST=1424031484][/DOUBLEPOST] -
That's what I was suspecting. Cool.
I'm glad Oxide supports so many different languages, wish it would support Java, as I'm a Java developer, but I guess I can do anything really...it just takes a bit longer to do as I have to play with it more to understand things.
Later...
-TheDoc -
[DOUBLEPOST=1424065847,1424034451][/DOUBLEPOST]For those who have interest you may now follow me on GitHub: https://github.com/SkinN/Oxide-Plugins -
dont work ADVERTS (((
-
Hello quick question. Is there a way to shorten the time the message is displayed? I noticed any the message stays up for ages.
-
-
Ah ok thanks.. Great plugin btw
-
-
After some help. Havent been able to edit the Advert messages, or in my angst, disable them to try another plugin. Also havent been able to edit colours, or welcome messages, or in fact anything. Help?
-
Been getting this error since Rusts update, and the notifier stopped working and displaying broadcast messages.
[Oxide] 4:39 PM [Info] Loaded plugin Notifier v2.0.4 by SkinN
[Oxide] 4:39 PM [Error] Failed to initialise plugin notifier (ArgumentException: An element with the same key already exists in the dictionary.)
[Oxide] 4:39 PM [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Rust.Libraries.Command+ChatCommand].Add (System.String key, ChatCommand value) [0x00000] in <filename unknown>:0
at Oxide.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callbackname) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) System.Action`4<System.Action`3<string, Oxide.Core.Plugins.Plugin, string>, string, Oxide.Core.Plugins.Plugin, string>:invoke_void__this___Action`3<string, Plugin, string>_string_Plugin_string (System.Action`3<string, Oxide.Core.Plugins.Plugin, string>,string,Oxide.Core.Plugins.Plugin,string)
at Microsoft.Scripting.Interpreter.ActionCallInstruction`4[System.Action`3[System.String,Oxide.Core.Plugins.Plugin,System.String],System.String,Oxide.Core.Plugins.Plugin,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
Any fix? -
[DOUBLEPOST=1424382663][/DOUBLEPOST]
@Faetul you have messed something in the configuration file, probably something you've removed. -
[DOUBLEPOST=1424383071][/DOUBLEPOST]Code:self.Config['PLAYER LIST COMMANDS'] = ('who','players','online')
-
), anything to add?