Information Announcer

Join/leave messages, rules, broadcasts & custom commands

Total Downloads: 2,615 - First Release: May 5, 2015 - Last Update: May 23, 2015

4.73333/5, 15 likes
  1. Hi, several times now your plugin seems to "reset" itself back to its default config, I'm very tired of having to re input my changes, is this some kind of bug or what? I use a .json checking website to make sure my changes are valid, I reset the server after making the changes, sometimes they stick sometimes they dont
     
  2. Wulf

    Wulf Community Admin

    Please upload your config with the changes you made.
     
  3. Now as far as I can tell these changes are totally valid, but, since I am not super familiar with editing .json files and working with plugins I used JSONLint.com to verify that my changes haven't totally hosed up things and that this is still a valid Json file, according to the site it is.
    [DOUBLEPOST=1458094766][/DOUBLEPOST]Thanks again for helping, I'm sorry if my original post seemed a little blunt or rude, Im just very frustrated because I thought I was starting to get managing these plugins figured out and then this starts happening
     

    Attached Files:

  4. Wulf

    Wulf Community Admin

    That's the default config. Do you have the one you edited?
     
  5. I dont have the original file on my computer, all I have is the .json that I edited, that is to say, I am uploading the one that I edited, but it is reverting when I upload it, not sure whats going on but here is the copy and paste of what SHOULD be in that file, I dont know why its not staying
    Code:
    {
      "BroadcasterSettings": {
      "Enabled": true,
      "Interval": 100,
      "Messages": [
      "Type /voteday to start a vote for daytime",
      "We have kits type /kit list to see what is available",
        "Don't forget to bring your friends!",
      "Type /rules to see our server's rules!"
      ],
      "ShowChatPrefix": true,
      "ShowInRandomOrder": false
      },
      "ConnectionSettings": {
      "Enabled": true,
      "ExcludePlayers": [],
      "Log": true,
      "ShowChatPrefix": true,
      "ShowJoinMessages": true,
      "ShowLeaveMessages": true
      },
      "CustomCommands": {
      "Commands": {},
      "ShowChatPrefix": true
      },
      "Messages": {
      "PlayerJoined": "{0} has joined the server!",
      "PlayerLeft": "{0} has left the server"
      },
      "RulesSettings": {
      "Enabled": true,
      "Rules": [
      "1. Do not cheat on our server.",
      "2. Speak English in chat at all times.",
      "3. Tom and SuperTechPC are the only admins.",
        "4. Only the king may build on the bridge.",
        "5. No skybridges or air building to get into another persons crest zone.",
        "6. You must establish a base and a crest before claiming the throne.",
      "Not complying with these rules may result in a ban at any given time."
      ],
      "ShowChatPrefix": true
      },
      "Settings": {
      "ChatPrefix": "Server",
      "ChatPrefixColor": "950415"
      }
    }
     

    Attached Files:

    Last edited by a moderator: Mar 16, 2016
  6. Wulf

    Wulf Community Admin

    It looks fine to me. Did you reload the plugin after changing the config .json? You don't need to restart the server.
     
  7. yes, I have tried copying it over and over writing whats there, I just tested it and it seems to be working now, for some reason it looks like I have to delete the file that is there and THEN copy over my edited one to take its place, if I dont the changes dont seem to carry over, I'm still not sure why it doesnt show my edits when I upload it but at least as far as the server is concerned it appears to be correct now
     
  8. imhaving the same issue so blady annoying why does it reset or not save .json? iv uploaded it like 50 times now and it doesnt save the rules it resets any idas?
     
  9. Wulf

    Wulf Community Admin

    A config resetting means it wasn't edited right generally. Make sure you are using valid JSON formatting.
     
  10. yes but how could i be making a mistake its so simple lol iv been working with that formatting forever
     
  11. Wulf

    Wulf Community Admin

    Could you provide me with the edited config file with your changes please?
     
  12. Not sure if you're still active but i'll try anyway. Have no idea why it's not working please help.
    this is in oxide/config folder and the plugin file obvs in the oxide/plugins folder. which i have not edited.....
    So am i missing something from my permissions.cfg??? thx ToM<3 (i dont know wtaf im doing)
     

    Attached Files:

  13. Wulf

    Wulf Community Admin

    Permissions.cfg doesn't have anything do with Oxide or Oxide plugins, that is purely for RoK use. The issue I see is that your Announcer.json config is not properly formatted, and is missing commas and some closing quotes. I've attached a working config with your changes.
     

    Attached Files:

  14. thx for the reply, hows it now? cos its still not working.......:(
     

    Attached Files:

  15. Wulf

    Wulf Community Admin

    Try the exact file I attached, not your one with the tabs. You will need to reload the plugin after changing the file though.
     
  16. Cant get the default json file how do...? All i get is the plugin.
    [DOUBLEPOST=1459856853][/DOUBLEPOST]I have added a number of plugins to the oxide/plugins file through FTP file zilla client. I stop, start and restart the server through a web browser control panel when I do restart the server shouldn't it add all the .json files to oxide/config folder??
     
  17. Wulf

    Wulf Community Admin

    If a config isn't being generated for a plugin, it either doesn't have one, the plugin isn't loaded, or the FTP client is caching the view. The first step would be to check your oxide/logs for errors.
     
  18. I dont see any errors....
     

    Attached Files:

  19. Wulf

    Wulf Community Admin

    There's also no information on plugins loading, which typically indicates they are in the wrong location. Where do you have the plugins right now?
     
  20. saves/oxide/plugins