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. Okay cool, how do you change colors of text on the announcer plugin? And if i download the other plugins from this site, they all go in the oxide folder right?
     
  2. Wulf

    Wulf Community Admin

  3. Wulf

    Wulf Community Admin

    Yup, there's an example on that page as well.
     
  4. Alright, so I added the colors, but now the server is not showing up on the community list. I checked the oxide logs and it shows things have loaded successfully with no errors, and the server says its active? Is it because I edited the announcer.cs and .json?
     
  5. Wulf

    Wulf Community Admin

    What did you edit Announcer.cs for? Generally that is something you should avoid. If the server isn't showing up, it's possible it isn't fully started. I'd see if you can connect directly.
     
  6. Code:
    {
        "BroadcasterSettings": {
            "Enabled": false,
            "Interval": 300,
            "ShowChatPrefix": true
        },
        "BroadCasterSettings": {
            "BroadcastMessages": [
                "[FFCC66]Don't forget to vote us! [FFFFFF]http://reign-of-kings.net/server/489/ [FF0000]And receive 2k stone or Wood",
                "[FFCC66]Type [FFCC66]/rules [0EB0FF]to view our Basic Rules"
            ]
        },
        "ConnectionSettings": {
            "Enabled": true,
            "Log": true,
            "ShowChatPrefix": true
        },
        "Messages": {
            "PlayerJoined": "[FFCC66]{0} [FF0066]has joined the server",
            "PlayerLeft": "[FFCC66]{0} [FF0066]has left the server"
        },
        "RulesSettings": {
            "Rules": [
                "[FFFFFF]Basic Ruleset",
                "[FF0000]1. [FF0000]Hacking will be punished with a lifetime ban!.",
                "[FF9933]2. [FF9933]Its a Roleplay Server.",
                "[66FF33]3. [66FF33]Executing is allowed if the person is your legally captured prisoner",
                "[3399FF]4. [3399FF]Raiding is allowed but only if a member of staff is online!.",
                "[9966FF]5. [9966FF]DO NOT KOS WIHTOUT RP, this goes only for those wearing iron or steel. NOTHING LESS",
                "[6600FF]6. [6600FF]You can roleplay as bandit = Tell people to drop there stuff or you will engage. IF wearing iron/steel",
                "[FF0000]7. [FF0000]Dont kill Newspans (Unless yourself is a new spawn and they agree)",
                "[FF9933]8. [FF9933]Must use Microphone for close quarters negative RP, i.e. Robbery.",
                "[66FF33]Not complying with any these rules may result in a ban as seen fit by the attending Admin/Mod."
            ],
            "Enabled": false,
            "ShowChatPrefix": true
        },
        "Settings": {
            "ChatPrefix": "[FF0000]Higher Power"
        }
    }
    What am i doing wrong here? nothing shows up for announcements not even rules.
     
  7. Wulf

    Wulf Community Admin

    You have it disabled. Set "Enabled" to true under BroadcasterSettings.
     
  8. i did it and its still not working :/
     
  9. Wulf

    Wulf Community Admin

    Did you restart the server or reload the plugin after changing it?
     
  10. I run my server from BFS they downloaded everything to the server for me I just did the file above. How would I go about fixing it. I did restart the server
    [DOUBLEPOST=1431987309,1431979206][/DOUBLEPOST]they just told me that restarting the server would reload the plugin
    [DOUBLEPOST=1431990446][/DOUBLEPOST]i goty it to work but my rules arent working
    [DOUBLEPOST=1431992182][/DOUBLEPOST]last post sorry. the only thing working when ive got it loaded like this
    Code:
    {
      "BroadcasterSettings": {
        "Enabled": true,
        "Interval": 150,
        "ShowChatPrefix": true
        },
        "BroadCasterSettings": {
            "BroadcastMessages": [
                "[FFCC66]Don't forget to vote us! [FFFFFF]http://reign-of-kings.net/server/489/ [FF0000]And receive 2k stone or Wood",
                "[FFCC66]Type [FFCC66]/rules [0EB0FF]to view our Basic Rules"
            ]
        },
        "ConnectionSettings": {
            "Enabled": true,
            "Log": true,
            "ShowChatPrefix": true
        },
        "Messages": {
            "PlayerJoined": "[FFCC66]{0} [FF0066]has joined the server",
            "PlayerLeft": "[FFCC66]{0} [FF0066]has left the server"
        },
        "RulesSettings": {
            "Rules": [
                "[FFFFFF]Basic Ruleset",
                "[FF0000]1. [FF0000]Hacking will be punished with a lifetime ban!.",
                "[FF9933]2. [FF9933]Its a Roleplay Server.",
                "[66FF33]3. [66FF33]KOS is stricly forbidden. Rule 5 states the exceptions.",
                "[3399FF]4. [3399FF]Raiding is allowed but only if a member of staff is online!.",
                "[9966FF]5. [9966FF]DO NOT KOS WIHTOUT RP, this goes only for those wearing iron or steel. NOTHING LESS",
                "[6600FF]6. [6600FF]You can roleplay as bandit = Tell people to drop there stuff or you will engage. IF wearing iron/steel",
                "[FF0000]7. [FF0000]Dont kill Newspans (Unless yourself is a new spawn and they agree)",
                "[FF9933]8. [FF9933]Must use Microphone for close quarters negative RP, i.e. Robbery.",
                "[66FF33]Not complying with any these rules may result in a ban as seen fit by the attending Admin/Mod."
          
            ],
            "Enabled": false,
            "ShowChatPrefix": true
        },
        "Settings": {
            "ChatPrefix": "[FF0000]Higher Power"
        }
    }
    Is the server messages of people getting offline and online and it saying the messages like vote and such but /rules doesnt work
     
    Last edited by a moderator: May 19, 2015
  11. Wulf

    Wulf Community Admin

    You also have them set to false.
     
  12. hey what am i doing wrong ffs iv been at this for 8 hrs straight iv tried so many things its unreal

    lolololol
    ahhahahahahahahahah sorry im drunk aLSO
    ii did the fucking ServerInfo.json and it changes back to this always and iv reinstalled this mod about 6 times
    Code:
    {
      "BroadcasterSettings": {
      "Enabled": true,
      "Interval": 30,
      "ShowChatPrefix": true
      },
      "BroadCasterSettings": {
      "BroadcastMessages": [
      "You can visit our forums at www.oxidemod.org!",
      "Don't forget to bring your friends!",
      "Type /rules to see our server's rules!"
      ]
      },
      "ConnectionSettings": {
      "Enabled": true,
      "Log": true,
      "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. When Mughisi says jump, you ask how high.",
      "Not complying with these rules may result in a ban at any given time."
      ],
      "ShowChatPrefix": true
      },
      "Settings": {
      "ChatPrefix": "Server"
      }
    }
    [DOUBLEPOST=1432053267][/DOUBLEPOST]i changed both files then reinstalled changed that on ServerInfo.json and it does that ^ ALWAYS like either do it for me plz or i dont know help the shit oputa a drunk eprson
     
    Last edited by a moderator: May 19, 2015
  13. Wulf

    Wulf Community Admin

    Always edit the config, not the plugin. Your config is also resetting because it's not valid JSON. You have to be careful with commas, braces, etc.
     
  14. ok ok ok ok listen then can you do it or nah just change the shit around for me ill send you it then just fix it up thats all i ask ya ? maybe so this durnk guy wants to play his server and get it going ya knows?? yup i tihnk so ok ill send it thanks xzDDDD
     
  15. Wulf

    Wulf Community Admin

    If you can give me what you are changing, I can show you where you went wrong.
     
  16. aight ohw about you hust change it and repot it for me soi just copy past xDFhmm
    [DOUBLEPOST=1432053873][/DOUBLEPOST]im reinstalling the mod and doing FRESH for you my brother
    [DOUBLEPOST=1432055576][/DOUBLEPOST]
    Code:
    {
      "BroadcasterSettings": {
      "Enabled": true,
      "Interval": 300,
      "ShowChatPrefix": true
      },
      "BroadCasterSettings": {
      "BroadcastMessages": [
      "You can visit our forums at http://drunkenbannermanrok.enjin.com/forum AND ALSO VOTE FOR REWARDS HERE http://reign-of-kings.net/server/800/",
      "Don't forget to bring your friends!",
      "Type /rules to see our server's rules!"
      ]
      },
      "ConnectionSettings": {
      "Enabled": true,
      "Log": true,
      "ShowChatPrefix": true
      },
      "Messages": {
      "PlayerJoined": "{0} has joined the server!",
      "PlayerLeft": "{0} has left the server"
      },
      "RulesSettings": {
      "Enabled": true,
      "Rules": [
      "1. No CHEATING/HACKING! This will not be tolerated and will be an immediate/permanent ban from the server."
      "2. Keep fresh spawn kills to a minimum. killing fresh spawns is not only pointless but it makes it hard for new players to enjoy the game."
      "3. No Griefing!
      "4. Items will not be spawned in for anyone, including admins. This is a medieval survival game and you should expect to die and lose your items at some point in the game."
      "5. No building on the King's Castle or bridge leading to the castle. The Event Arena is currently set up on the King's Castle but other than this there is to be NO building past the bottom of the bridge. OR NEAR IT KING FOR ALL!"
      "6. Players will be given a 30 minute warning prior to a server restart so that everyone can get to somewhere safe. If you fail to do this and you get sleeper killed then we are sorry but that is why a 30 minute warning is given."
      "7. No blocking or walling around resources including the plague city. These too are to be available to everyone.
      "8. If you are raiding a base in ONLINE MODE siege weapons are allowed. However, in offline mode you are NOT ALLOWED to use siege weapons. You will know that they are in offline mode because the guild name will have offline at the end of it. If you fail to put your guild in offline mode and it gets raided with siege weapons that is your fault. Note: Destroying crests is not allowed!"
      "9. KOS is allowed but make sure that the other player is aware either by using voice command "v" or character battle shouts using "f." This gives the other player the opportunity to defend themselves."
      "10. There will be NO admin abuse. Spawning of items, teleporting friends, godmode, etc is unfair to other players and is not condoned. Admins who abuse these privileges will have them revoked and demoted as admin immediately. Note: If you suspect or experience admin abuse and there is not another admin on at the time please give us the opportunity to address and fix the issue."
      "11.  Please respect other players! We understand that part of the game is shit-talking, especially in PVP, but you do not have to be disrespectful while doing so. you will be given a warning. If you do not stop, then you will be banned permanently!"  
      ],
      "ShowChatPrefix": true
      },
      "Settings": {
      "ChatPrefix": "Server"
      }
    }
    [DOUBLEPOST=1432056113][/DOUBLEPOST]
    im done
    [DOUBLEPOST=1432056487][/DOUBLEPOST]WHAT AM I DOING WRONG FFS it went back to normal i need more fucking rum
     
    Last edited by a moderator: May 19, 2015
  17. Wulf

    Wulf Community Admin

    You were missing commas, quotation mark escaping, and some quotation marks.
    Code:
    {
        "BroadcasterSettings": {
            "Enabled": true,
            "Interval": 300,
            "ShowChatPrefix": true
        },
        "BroadCasterSettings": {
            "BroadcastMessages": [
                "You can visit our forums at http://drunkenbannermanrok.enjin.com/forum AND ALSO VOTE FOR REWARDS HERE http://reign-of-kings.net/server/800/",
                "Don't forget to bring your friends!",
                "Type /rules to see our server's rules!"
            ]
        },
        "ConnectionSettings": {
            "Enabled": true,
            "Log": true,
            "ShowChatPrefix": true
        },
        "Messages": {
            "PlayerJoined": "{0} has joined the server!",
            "PlayerLeft": "{0} has left the server"
        },
        "RulesSettings": {
            "Enabled": true,
            "Rules": [
                "1. No CHEATING/HACKING! This will not be tolerated and will be an immediate/permanent ban from the server.",
                "2. Keep fresh spawn kills to a minimum. killing fresh spawns is not only pointless but it makes it hard for new players to enjoy the game.",
                "3. No Griefing!",
                "4. Items will not be spawned in for anyone, including admins. This is a medieval survival game and you should expect to die and lose your items at some point in the game.",
                "5. No building on the King's Castle or bridge leading to the castle. The Event Arena is currently set up on the King's Castle but other than this there is to be NO building past the bottom of the bridge. OR NEAR IT KING FOR ALL!",
                "6. Players will be given a 30 minute warning prior to a server restart so that everyone can get to somewhere safe. If you fail to do this and you get sleeper killed then we are sorry but that is why a 30 minute warning is given.",
                "7. No blocking or walling around resources including the plague city. These too are to be available to everyone.",
                "8. If you are raiding a base in ONLINE MODE siege weapons are allowed. However, in offline mode you are NOT ALLOWED to use siege weapons. You will know that they are in offline mode because the guild name will have offline at the end of it. If you fail to put your guild in offline mode and it gets raided with siege weapons that is your fault. Note: Destroying crests is not allowed!",
                "9. KOS is allowed but make sure that the other player is aware either by using voice command \"v\" or character battle shouts using \"f.\" This gives the other player the opportunity to defend themselves.",
                "10. There will be NO admin abuse. Spawning of items, teleporting friends, godmode, etc is unfair to other players and is not condoned. Admins who abuse these privileges will have them revoked and demoted as admin immediately. Note: If you suspect or experience admin abuse and there is not another admin on at the time please give us the opportunity to address and fix the issue.",
                "11. Please respect other players! We understand that part of the game is shit-talking, especially in PVP, but you do not have to be disrespectful while doing so. you will be given a warning. If you do not stop, then you will be banned permanently!"
            ],
            "ShowChatPrefix": true
        },
        "Settings": {
            "ChatPrefix": "Server"
        }
    }
     
  18. oh my god MY BROTHER WULFS IN DA HOUSE give him some mother fucking props this guys THIS GUY XDDDD thank you so much man you have no idea how stupid i am missing the , mannnnn MANNNNNN xDDDD
    [DOUBLEPOST=1432057667][/DOUBLEPOST]also can i add color example "3. [FF6600]No Griefing!",
    [DOUBLEPOST=1432058559][/DOUBLEPOST]this is for wulf nice song for him he made it daylight for me xD
     
    Last edited by a moderator: May 20, 2015
  19. Is there a way we could make the server prefix be colored?

    I've put the standard color tag in, and it alters all chat text, not just the tag.