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. Wulf

    Wulf Community Admin

    Just copy one of the lines, just make sure to have a comma at the end of each except for the last.
     
  2. Okay all try that
    [DOUBLEPOST=1454448273][/DOUBLEPOST]so that didnt work it just resets everything back to only 4 commands
     
  3. CONFIRMING. After properly editing it, my announce config keeps reverting to original on load, the CS file keeps overwriting the json file everytime the server loads.
     
  4. Wulf

    Wulf Community Admin

    Please upload the config with the changes you made here.
     
  5. Nevermind. I figured out a work-around. I made my changes to it on the desktop, marked it read-only, copied it over and then reloaded the announcer plugin.
     
  6. Is there a way to remove all the messages on the chat screen when you first join the game. So that the chat history is blank when you press ENTER?
     
  7. Thanks for taking the time to stop and read this!

    Ok .. My mind is now numb from looking at this config file for this plugin. I have got it to work before, but for some reason (probably something thing simple) the plugin will reset this file back to the default when I reboot the server. I know this means something is not right.

    The cs file is still default.

    Like I said I have gotten this plugin to work before, but for some reason it isn't now.

    Please Help, and Thanks!
     

    Attached Files:

  8. Wulf

    Wulf Community Admin

    Y
    Your config formatting is invalid, looks to be missing a comma and one line is not valid. Make sure to escape " marks when using them in a message.
    Code:
    "Type /ticket \"message\" - Sends admin a message",
    442071725c5047954ad62574d078ee97.png
     
  9. That is odd .. it doesn't look like that to me .. that line looks like this on my screen:


    "Type /ticket "message" - Sends admin a message",

    on that one it is seperated .. where do I go to validate?
     
  10. Wulf

    Wulf Community Admin

    You can't use quotes inside quotes with JSON, you'd need to escape them like the example I provided in my previous message. A site such as jsonlint.com will tell you if the file is valid JSON or not.
     
  11. Thank you very much .. as always you been a big help!
     
  12. sorry if this has been answered before but i cant seem to change my rules. i changed the messages just fine but only default rules appear. please help <3
     
  13. Wulf

    Wulf Community Admin

    Please post the config with the changes you made.
     
  14. thanks for the fast response <3
     

    Attached Files:

  15. Wulf

    Wulf Community Admin

    The config you should be editing is under oxide/config, not the plugin itself. ;)
     
  16. alright ill take a look and let you know, thanks =)
    [DOUBLEPOST=1457156807][/DOUBLEPOST]okay so do i not need to touch the plugin itself at all? just use the original or do i need to set something to false?
     

    Attached Files:

  17. So, on another note. After my previous attempt to set the rules config file to read-only, the plug-in then began displaying the default rules again, refusing to load the rules config file at all.

    So, I ended up editing the rules within the JSON plug-in itself, keeping to the strict formatting. It works flawlessly and generates a rules config file with my rules and announcements as the default.
     
  18. Wulf

    Wulf Community Admin

    If the config is being reset to default, that means there is an error in your config. I'd highly recommend not editing the plugin itself.
    [DOUBLEPOST=1457204663][/DOUBLEPOST]
    Your config is not valid JSON. Make sure when adding new lines that you use quotations and end each line in a comma. If you have any quotation marks inside the message, make sure to escape them with \.
     
  19. thanks i got it figured out. im trying to add announcements for server restart. might you know how to help? =D i currently have server set to restart every 6 hours
     
  20. nevermind, missing commas at the end used the json verifier site
     

    Attached Files:

    Last edited by a moderator: Mar 8, 2016