Information Announcer

Join/leave messages, rules, broadcasts & custom commands

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

4.73333/5, 15 likes
  1. And is the config file reverting to the default as well or are your values still in it?
    [DOUBLEPOST=1431096395][/DOUBLEPOST]If it would be possible could you post your most recent Oxide log here as well, perhaps something is throwing an error somewhere.
     
  2. The config maintains the changes. The game just doesn't seem to recognize them. As of right now I had to set the broadcasts and /rules to false so they wouldn't show up wonky on the server. The log in/out announcement still works great. And to be clear, it's an excellent plugin, which worked flawlessly before Alpha 13. I'll attach my .json and today's Oxide log.
     

    Attached Files:

  3. Were both broadcasts messages & rules not working or just the rules? Because the rules are not in the correct key, and the default rules are still there so it will show those every time.

    Code:
    "[FFFFFF]Basic Ruleset": [
                "[FFFFFF]1. [FF0000]No KoS.",
                "[FFFFFF]2. [FF0000]No hacking.",
                "[FFFFFF]3. [FF0000]No exploiting.",
                "[FFFFFF]4. [FF0000]No harrassment.",
                "[FFFFFF]5. [FF0000]No unsupported/air building",
                "[FFFFFF]6. [FF0000]Must use RP name, i.e. Sir Ulric.",
                "[FFFFFF]7. [FF0000]Must use OOC when not RPing in global chat.",
                "[FFFFFF]8. [FF0000]No raiding unless both parties are participating in war.",
                "[FFFFFF]9. [FF0000]Must use Microphone for close quarters negative RP, i.e. Robbery.",
                "[0EB0FF]Please visit us at www.yosrp.com to view an indepth ruleset, to include building regulations, RP guidelines, and more!",
                "[FF0000]Not complying with any these rules may result in a ban as seen fit by the attending Admin/Mod."
            ],
    These rules should actually be under "Rules", give the attached config a try if you can/want :)
     

    Attached Files:

  4. I changed the name from Rules, to Basic Ruleset. Did that break it?
     
  5. Is there a way to change colors in the Information Announcer Plugin for the announcement?

    I would realy appreciate if someone could help me out :)

    Thanks
     
  6. Yup as those are keys where the plugin looks for the values :)
     
  7. Yes. You do it the standard way. i.e. [FFFFFF] before the text guarantees white. Use a website like http://www.color-hex.com/ to find the hex codes. Ensure you encapsulate the code with [ and ].
     
  8. I'm an idiot. >.> Sorry. I thought that was just what it said when you hit /rules. Thanks so much!
     
  9. No problem :) Happy that the issue was found :D
     
  10. Ugh, new problem. Every time I try to restart the server it resets Announcer back to defaults. I've modified it and restart it 3 times now. Same result. Wipes my changes and puts them at default in the config and in the game. :-/
     
  11. Thats what i tried but it did not work.
    at the Announcer.json config file
    for example:
    "Rules": [
    "[#BA1A1A] 1. Check the bla bla"

    or did i place wrong there?
     
  12. Wulf

    Wulf Community Admin

    It should only be doing that if your config isn't properly formatted.
     
  13. I figured out what was wrong. You can't put a capital "T" on true.. lol.. *Shakes head* I can't believe THAT is what's been holding me back all this time. >.> Thanks for the help guys! I'll try not to keep coming up with goofy self-inflicted problems.
     
  14. Wulf

    Wulf Community Admin

    No problem, glad you got it figured out! Sometimes it's the simple things staring us right in the face.
     
  15. Out of curiosity, which programming language do you use to write these plugins, Mughisi?
     
  16. The current ones that I write are all written in C#.
     
  17. Would you suggest learning to write these plugins in C#? I've heard Python is pretty easy to start.
     
  18. It depends on how your experience with programming is, but if you are really starting from scratch then Lua and Python are the easier ones. But if you go for plugin performance C# is usually the way to go.
     
  19. I am definitely from scratch. What do you mean "plugin performance"? Do they just run better in C#? Or can be more complex?
     
  20. Both :)