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. Just add [FFFFFF] behind the prefix :)
     
  2. First off love your mod!

    However how do i set it to repeat every 30 mins, but have it display all messages at login once through?

    I have it at the default 30 seconds, but don't see a way to have it delay repeating every 30 seconds after that. If i don't have it at 30 seconds it takes till the interval to display once logged on

    Thanks
     
  3. Mughisi updated Information Announcer with a new update entry:

    Update

     
  4. I just tried the new update and after a heap of restarts figured out that the new exclude players line was crashing the plugin and reverting back to default config all i did was paste my steam id into the exclude players brackets and it didnt like it. Also for some reasson the new one is spamming my chat every 30 seconds when i have it set to 120 old version didnt have this prob
    Code:
    {
      "BroadcasterSettings": {
        "Enabled": true,
        "Interval": 120,
      
    "Messages": [
          "Vote Daily for a reward Google: [FFD700]AUSMEGA REIGN OF KINGS 1st result![FFFFFF]",
          "Get [FFD700]VIP[FFFFFF] status by donating!",
          "Type [ffa500] /rules [FFFFFF] 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 entered the Realm!",
        "PlayerLeft": "{0} has Rage Quit the server"
      },
      "RulesSettings": {
        "Enabled": true,
        "Rules": [
                " [FF4000]No Killing on sight ie. need roleplay reason If you are KOSED do not respawn stay where you died and call an admin.",
                "[7CFF00]TeamSpeak ausmega.streamlineservers.net.",
                " [FF4000]Kings Landing is a PVP zone No crests allowed temp builds are okay and south most island is a kos pvp no rules island.",
                "[7CFF00] Killing sleepers is not allowed unless on raids.",
                "[FF4000]Daily voting at http://reign-of-kings.net/server/656/ helps the server stay strong and earns you rewards (starter kit at first then a mystery bag with random items after).",
                "[7CFF00] Crests are not to be destroyed ever if done by accident you must call off the raid.",
                "[FF4000]No building in flax fields (causes lag)",
                "[7CFF00]Not complying with these rules may result in a ban at any given time.",
                "[FF4000]To Rob someone you must rename yourself as a bandit and can only kill if the victim does not comply ROBBERY IS ONLY ALLOWED AT NIGHTIMES.",
                "[7CFF00]Dukes are so rich and powerful that when they type /nourish or /hydrate their servers rush to feed them.",
                "[FF4000]Donatations can be made on our homepage. All doners get a VIP status which currently gives you a reserved slot, the title of LORD and a deluxe daily supply bag by typing /kit vip Also several doner packs to choose from on our home page .[FFFFFF]"
            ],
        "ShowChatPrefix": true
      },
      "Settings": {
        "ChatPrefix": "God",
        "ChatPrefixColor": "313a37"
      }
    }
     
  5. same problem here i tried and now i just puttet on false i guess there will be a fix for it soon
     
  6. Mughisi updated Information Announcer with a new update entry:

    "Bug" fix


    [DOUBLEPOST=1432421607][/DOUBLEPOST]
    The broadcast issue should now be resolved, I forgot to remove a debug value that would send the message out every 15 seconds.
    Regarding excluding make sure it's between the square brackets and between quotes (have a look at the plugin overview)
     
  7. Thanks That fixed the spam issue for me. As for the exclusion yea turns out i forgot the quotation marks. I run it through jsonlint and it normally picks that sort of stuff up for me.
     
  8. i just pulled out my hair. i /shutdown my server. added the new plugin. opened my Json. set my new rules . restarted my server. then Mughisi rules keep taking over. then shutdown again . Mughisi rules pop up
     
  9. Wulf

    Wulf Community Admin

    Make sure you are using proper formatting; commas, braces, etc. You can use jsonlint.com to validate. Invalid configs are reset on plugin load/reload.
     
  10. Thanks Wulf that site is a HERO man.
     
  11. Mughisi, update to work with your helptext? I love you?
     
  12. Hi there. I am running latest Oxide update for Rust Experimental and all my other oxide plugins are working (Deathnote, godmode, stacksizes, autodoor.
    but yours keeps giving me the following errors:

    [Oxide] 7:45 AM [Error] Announcer plugin failed to compile!
    [Oxide] 7:45 AM [Error] Announcer.cs(205,37): error CS0246: The type or namespace name `Player' could not be found.
    Are you missing an assembly reference?

    -- No I did not touch the .CS file and yes I tried and retried deleting and re-adding it.
     
  13. Wulf

    Wulf Community Admin

    This plugin is for Reign of Kings, not Rust Experimental.
     
  14. doh! sorry did not realize that search was across all plugins. so there is no similar announcer for Rust? that would rock :)
     
  15. Wulf

    Wulf Community Admin

    Notifier would probably be the closest.
     
  16. Functions great on my server, Thank you very much! Keep up the good work!
     
  17. Ive added the plugin into my ftp area its supposed to be. its supposed to automatically add the json file to my data folder correct? because it did not. Which is strange.
     
  18. When you say ftp area you mean you added it into saves/oxide/plugins not just the main folder right?
     
  19. Correct, i placed it in to the plugins folder and for some reason it did not add the json file in the data folder. Luckily I had one saved to add myself. And I edited it to display my rules and such. But when I forced it in there myself, it stopped working all together. So im not sure whats been done wrong here.

    Edit:

    To clarify, it works. But it doesnt allow ANY form of editing to the announcements, times, and rules. because the file itself is...well..not there. yet its somehow posting stuff from the json file it originally has before editing it, So im confused lol.
     
  20. Wulf

    Wulf Community Admin

    The config would be under saves/oxide/config, not data.