AutoBroadcast

Moved

Total Downloads: 8,941 - First Release: Oct 26, 2014 - Last Update: Feb 27, 2017

5/5, 20 likes
  1. Wulf

    Wulf Community Admin

    For colors, see the "Styling" section in the Docs link at the top of the page. For the 2 messages only working, unsure right now.
     
  2. Wulf i tried everything, your plugin crash randomly..
    My lang file looks good
    Code:
    (14:23:10) | Failed to run a 120.00 timer in 'AutoBroadcast v1.0.8' (ArgumentOutOfRangeException: Argument is out of range.)
      at System.Linq.Enumerable.ElementAt[KeyValuePair`2] (IEnumerable`1 source, Int32 index, Fallback fallback) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ElementAt[KeyValuePair`2] (IEnumerable`1 source, Int32 index) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoBroadcast.<Broadcast>m__0 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
    Code:
    {  
        "1": "<size=12><color=#bdbdbd>Vous n'arrivez pas à trouver certains objets pour les apprendre? Allez les acheter en </color><color=#21ccbb>Zone-Safe</color><color=#bdbdbd>! La Zone-Safe est indiquée sur votre Minimap (appuyez sur M)</color></size>",
          "2": "<size=12><color=#bdbdbd>Vous êtes perdu dans toutes ces commandes? Faites <color=#ffd479>/help</color>, et cliquez sur les categories à gauche pour changer de page.</color></size>",
        "3": "<size=12><color=#bdbdbd>Notre serveur est encore en developpement, si vous constatez un bug, une incoherence, merci de nous le signaler via le forum de notre site web <color=#21ccbb>rustinpeace.fr</color>, ou sur notre teamspeak.</color></size>",
        "4": "<size=12><color=#bdbdbd>Vous pouvez désormais vous suicider en faisant</color> <color=#ffaa00>/suicide</color><color=#bdbdbd>.</color></size>",
        "5": "<size=12><color=red>Attention !!</color><color=#bdbdbd> Les echelles peuvent être posées dans le rayon d'un armoire désormais !</color></size>",
        "6": "<size=12><color=#bdbdbd>Vous pouvez parler en privé, Ex.: pour parler en privé à SeBL4RD: </color><color=#6ae539>/pm seb \"message message\"</color><color=#bdbdbd> ou </color><color=#6ae539>/pm l4rd \"message message\"</color><color=#bdbdbd>.</color>\n<color=#6ae539>/r \"message message\"</color><color=#bdbdbd> pour repondre a un PM.</color></size>",
        "7": "<size=12><color=#bdbdbd>Vous pouvez inserer vos propres images in-game sur pencartes! Pour voir comment, allez sur </color><color=red>rustinpeace.fr</color>, <color=#bdbdbd>section </color><color=#4ae9f6>Tutos et guides</color><color=#bdbdbd>.</color></size>",
        "8": "<size=12><color=#bdbdbd>Le </color><color=#af5>[Marché]</color> <color=#bdbdbd>a été completement changé! Plus de commandes, vous devez simplement vous rendre dans une des </color><color=#4682b4>villes</color> <color=#bdbdbd>et parler aux </color><color=#af5>PNJ</color><color=#bdbdbd>. (</color><color=#14d4fd>/help</color><color=#bdbdbd>)</color></size>",
        "9": "<size=12><color=#1fb1c3>/kit seed</color> <color=#bdbdbd>pour avoir des graines pour vos plantations.</color></size>",
        "11": "<size=12><color=#bdbdbd>Vous n'arrivez pas à trouver certains objets pour les apprendre? Allez les acheter en </color><color=#21ccbb>Zone-Safe</color><color=#bdbdbd>! La Zone-Safe est indiquée sur votre Minimap (appuyez sur M)</color></size>",
        "12": "<size=12><color=#bdbdbd>Un grand chantier se prépare sur l'île... Les </color><color=#4682b4>Marchands de Ressources</color> <color=#bdbdbd>present dans chaque ville rachètent vos Ressources à volonté ! (</color><color=#14d4fd>/help</color><color=#bdbdbd>)</color></size>",
        "13": "<size=12><color=#bdbdbd>Le site www.rustinpeace.fr est disponible. Infos, actu, forum, ts...</color></size>",
        "14": "<size=12><color=#bdbdbd>Notre site est à votre disposition, inscrivez vous et faites vos requêtes, rapports sur le forum. </color><color=#6699cc>rustinpeace.fr</color><color=#bdbdbd>.</color></size>",
        "15": "<size=12><color=#bdbdbd>Vous conservez désormais vos Peaceoss entre chaque wipe. Attention à votre argent désormais!</color></size>",
        "16": "<size=12><color=#bdbdbd>Visitez Kaboom! La boutique d'explosifs de l'île. (en Zone-Safe)</color></size>",
        "17": "<size=12><color=#bdbdbd>Le serveur est en NORULES! Les seules règles existantes sont citées dans le /home désormais.</color></size>",
        "18": "<size=12><color=#bdbdbd>Notre TeamSpeak </color><color=#21ccbb>ts.rustinpeace.fr</color></size>",
        "19": "<size=12><color=#bdbdbd>Pour connaître la date du prochain </color><color=#df6a6a>Wipe</color><color=#bdbdbd>, regardez la barre de message en bas de votre ecran !</color></size>",
        "21": "<size=12><color=#bdbdbd>Vous pouvez desormais créer votre </color><color=#ffd479>[Clan]</color><color=#bdbdbd>, faites </color><color=#ffd479>/help</color> <color=#bdbdbd>pour plus d'info.</color></size>",
        "22": "<size=12><color=#bdbdbd>Vous pouvez désactiver les </color><color=red>dégâts entre amis</color><color=#bdbdbd>!</color> <color=#87ec13>NEW</color><color=#bdbdbd>: Nouveau </color><color=red>Friendly Fire</color><color=#bdbdbd>! Faites </color><color=#30df44>/help</color><color=#bdbdbd>.</color></size>",
        "23": "<size=12><color=#bdbdbd>Vous pouvez casser vos parties de batiment posées par erreur avec le </color><color=#6fc833>/remove</color><color=#bdbdbd>. En cas de probleme, contactez un admin si vous n'arrivez pas a remove ! </color><color=#14d4fd>/help</color></size>",
        "24": "<size=12><color=#bdbdbd>Vous n'arrivez pas à trouver certains objets pour les apprendre? Allez les acheter en </color><color=#21ccbb>Zone-Safe</color><color=#bdbdbd>! La Zone-Safe est indiquée sur votre Minimap (appuyez sur M)</color></size>",
        "25": "<size=12><color=red>Attention !!</color><color=#bdbdbd> Les echelles peuvent être posées dans le rayon d'un armoire désormais !</color></size>",
        "26": "<size=12><color=red>Attention !!</color><color=#bdbdbd> Rust est encore victime de fuites de mémoire ! Pensez à redemarrer votre ordinateur de temps en temps.</color></size>",
        "27": "<size=12><color=#bdbdbd>Le </color><color=red>RaidBlock</color> et <color=red>CombatBlock</color> <color=#bdbdbd>servent à vous empecher de /Remove, ou construire votre base pendant un raid.</color></size>",
        "28": "<size=12><color=#bdbdbd>Notre serveur ne wipe que lorsque les mises à jour y obligent, c'est à dire chaque 1er Jeudi de chaque mois.</color></size>",
        "29": "<size=12><color=#bdbdbd>Autorisez vous sur la même armoire que les membres de votre Clan pour partager automatiquement l'ouverture des portes de votre construction.</color></size>"
    }
     
  3. This is my lang/eng file + config... the colors are working now. But i wanna add more messages but i't keeps crashing what i,m doing wrong?

    "ExampleMessage": "<color=#ffa500ff>No admin? Type /ticket for support</color>",
    "AnotherExample": "<color=#ff0000ff>Server maintenance is scheduled for sunday 28/1/2018 1:00/3:00 PM</color>"
    }

    The downloadeble plugin is default nothing changed.
     
  4. Wulf

    Wulf Community Admin

    Please upload your current lang file instead of pasting it please, because that is incomplete.
     
  5. Hi Wulf,

    I just wanna add a few more messages, thats all. Below i posted everything i have and i named the locations.

    Kind regards,
    Dennis

    Lang/en:
    {
    "ExampleMessage": "<color=#ffa500ff>No admin? Type /ticket for support</color>",
    "AnotherExample": "<color=#ff0000ff>Server maintenance is scheduled for sunday 28/1/2018 1:00/3:00 PM</color>"
    }

    Config:

    {
    "Broadcast Interval (Seconds)": 300,
    "Randomize Messages (true/false)": false
    }
     
    Last edited by a moderator: Feb 14, 2018
  6. Wulf

    Wulf Community Admin

    Upload a file button. :p That is fine though now.
    Code:
    {
      "ExampleMessage": "<color=#ffa500ff>No admin? Type /ticket for support</color>",
      "AnotherExample": "<color=#ff0000ff>Server maintenance is scheduled for sunday 28/1/2018 1:00/3:00 PM</color>",
      "LookAtMe": "<color=#ffa500ff>Hi, I'm another example</color>"
    }
     
  7. Sorry i will use next time. Thanks!

    It's not working, as soon i add new lines the one you posted nothing shows up on the server. If i keep the 2 default messages it works....
     
    Last edited by a moderator: Jan 27, 2018
  8. Wulf

    Wulf Community Admin

    Did you reload the plugin? Did you check your logs for errors? Make sure each line has a comma at the end except for the last one too.
     
  9. Yes i did exactly what you did, what about the config file? I don't need to change any of it?

    When i add a line it stops working, when i change it to default it shows the 2 messages. I don't know whats causing it.
     
    Last edited by a moderator: Jan 27, 2018
  10. ZLO

    ZLO

    Yes, 2 mess only :(
    Random is works...
     
  11. ZLO

    ZLO

    And some random lines do not fall out... :(

    Strings "7", "8", for example(
     
  12. Do like me :
    Code:
    "a":
    "b":
    [...]
    "ab":
    "ac":
    "ad":
     
  13. @Wulf, do you think you want to update this plugin? it is one of the most necessary plugins and it really bug ...
     
  14. Wulf

    Wulf Community Admin

    It is on the list when I get time.
     
  15. Dont work for me! I change the message but nothing happen
     
  16. ZLO

    ZLO

    too hard for fix ^^
     
  17. Is There Any Way To Make The Broadcasts Messages in Bold?
     
  18. Wulf

    Wulf Community Admin

    Yes, use bold formatting such as <b>text</b> or with
    Code:
    [b]text[/b]
     
    Last edited: Feb 17, 2018
  19. SO IF I WERE TO USE COLOR AND BOLD HOW DOULD IT LOOK?
     
  20. Wulf

    Wulf Community Admin

    The messages are under the location mentioned on the Overview. Also, please do not post in all caps (see forum rules).