1. Не подскажите, через какую программу это можно сделать?(Do not tell me, through which program it can be done?)
     
  2. [Error] notifier: KeyNotFoundException while calling SendHelpText: latest version
     
  3. Text Document, Word Pad, Notepad++, pretty much any one.
    [DOUBLEPOST=1424030414][/DOUBLEPOST]
    Somehow the plugin did not update you're configuration file, make sure you have both these settings on your file, if not then I will ask you to add them manually:
    "DISABLE HELPTEXT": false,
    "DISABLE ADVERTS": false,

    Follow the configuration scheme on the plugin's main post.
     
  4. In your plugin LoadDefaultConfig, you are missing those two values:

    Code:
        "DISABLE HELPTEXT"
        "DISABLE ADVERTS"
    
    That's why I was getting those errors since it could not find them when a new config json file was created!

    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')
    That's my guess... :)
     
  5. You are right, I actually spotted that at the first time, I still find it weird because the plugin auto updates the configuration file when theres a new version for it too:
    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()
    
    But I'll just guess these people weren't using Notifier before.
     
  6. 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
     
  7. Yeah, right. I do not have long to create a server. Now try to understand it.
     
  8. SkinN õ.Õ'.|. updated Notifier with a new update entry:

    Notifier | Configuration File Fix


    [DOUBLEPOST=1424031484][/DOUBLEPOST]
    I have ported the plugin to Python on last Wednesday (Notifier v2.0.0 | Porting to Python!), and I did it because I'm far more experienced with Python, I worked on it on other plugins from other games.
     
  9. 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
     
  10. It does support Javascript, but I dont know the difference
    [DOUBLEPOST=1424065847,1424034451][/DOUBLEPOST]For those who have interest you may now follow me on GitHub: https://github.com/SkinN/Oxide-Plugins
     
  11. dont work ADVERTS (((
     
  12. Hello quick question. Is there a way to shorten the time the message is displayed? I noticed any the message stays up for ages.
     
  13. The display time of the messages is the same for every message. And it's not possible to change it so far.
     
  14. Ah ok thanks.. Great plugin btw ;)
     
  15. A review is always apricciated. ;)
     
  16. 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?
     
  17. 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?
     
  18. Just do one thing, delete your configuration file, and reload the plugin, let the plugin create a new file and DONT make any changes to it yet, check if all the messages and stuff are working. If they are then the problem is not the plugin, but somehow you might have messed something while editing the configuration file, other than that I can only ask you to make sure you're using all the latest versions, either from Notifier or Oxide.
    [DOUBLEPOST=1424382663][/DOUBLEPOST]
    @Mughisi see? This is why I hate JSON, people somehow mess something in the config file and than they dont know how to solve it.

    @Faetul you have messed something in the configuration file, probably something you've removed.
     
  19. Error is for AddChatCommand, that means two plugins are using the same command, not a json problem ;)
    [DOUBLEPOST=1424383071][/DOUBLEPOST]
    Code:
            self.Config['PLAYER LIST COMMANDS'] = ('who','players','online')
    There is a playerlist plugin that uses those commands so that's what is most likely throwing that error. And I think if the json is corrupt it just loads the default one again, at least I remember something like that happening when I removed something from a json file from a lua plugin to mess around with it :p
     
  20. The problem here is i do that and the whole addon works in default sure. I cant even edit a single word. Lets say i change your Rock advert to the word "Lollipop" instead of "Rock" literally replacing letters not touching anything. = stays as Rock. Everything is up to date, everything is as you say. But it still doesnt let me edit. So past the "you dont know what your doing" advice (which isnt actually advice :p), anything to add?