AutoBroadcast

Sends randomly configured chat messages every X amount of seconds

Total Downloads: 7,212 - First Release: Oct 26, 2014 - Last Update: Feb 27, 2017

5/5, 19 likes
  1. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Sounds like the plugin was not reloaded since the data was removed. If you deleted the data and reloaded the plugin, it would save it again.
     
  2. the_mahler

    the_mahler Scavenger

    hey,

    i releoad :/ and the new lang file is
    Code (Text):
    {
      "ExampleMessage": "This is an example. Change it, remove it, translate it, whatever!",
      "AnotherExample": "This is another example, notice the comma at the end of the line above..."
    }
    but he still Show the old message
    Code (Text):
    {
      "Information":

    "[FARMLAND] Rust Server
    Join us! Your Welcome.

    ---> Team Speak ................ <---",

    }
    no idea why this happens after deleting all files and reloading plugin.

    an sometimes i got this error too -BUT not everytime
    Code (Text):
    Failed to run a 30.00 timer in 'AutoBroadcast v1.0.8' (ArgumentOutOfRangeException: Argument is out of range.)
    (03:10:53) | 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
    best regrads
     
    Last edited by a moderator: Sep 18, 2017
  3. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Please upload each file you've modified using the Upload a File button.
     
  4. the_mahler

    the_mahler Scavenger

    hey hey i tested some things about reloading and nothing helps. ONLY Things that works ist Server restart , after that all changes are available. Any idea why this happens?

    after i did changes teh yonly way to make them work is Server restart
    best regards
     
  5. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    I haven't seen that, so not sure.
     
  6. the_mahler

    the_mahler Scavenger

    ok thanks for sopport. :)
     
  7. the_mahler

    the_mahler Scavenger

    sry man,

    another Problem. Messages are shown but not all of them. what did i wrong?
    Code (Text):
    {
      "ExampleMessage":
    "----- SERVER RULES -----
    > Respect the other players and admins
    > Play fair / be fair
    > NO insults and NO racism
    > Groups larger than 5 players, please ask the admin for permission
     
    ----- PROHIBITED -----
    > Use of bots, use of third-party software, bugs
    > To raid beginners
    > Only Base-Camping
    > Pretending to be a member of Administration.
    > Fraud, other dishonest actions.
    > Flooding, flaming, spam, printing in CAPS LOCK.
    > Creating obstructions for other users.
    > Advertisement, political propaganda.
    > Insults and racism.
    > Trap shops and traps at shop area.
    > Building in Zombie Areas
    > Using the hotel rooms as permanent, loot or raidbases
    > Waiting at the hotel area to kill player that join or leave area",
    "AnotherExample":
    "[FARMLAND] Rust Server
    >>> Join Us! Your welcome. <<<
    ---> Team Speak: 108.61.179.52:9230",
    "AnotherExample":
    "<<< NEXT WIPE >>>
    -- 5th of October --",
    "AnotherExample":
    "!!!!!! DANGER !!!!!!
    ZOMBIE Ares are at:
    -------------------
    > Supermarkets
    > Gas Stations
    > Forest Of Hell",
    "AnotherExample":
    "
    OFFICIAL Administration
    -----------------------
    Admin:  the_mahler
    Moderator: Hancock42"
    }
     
    Last edited by a moderator: Sep 18, 2017
  8. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Yes, you can't have every key named "AnotherExample", they need to be unique.
     
  9. the_mahler

    the_mahler Scavenger

    oh damn it :-D

    i´m so sry for that but thanks

    by teh way: is it possible to Change the text Color?

    best regards
     
  10. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Yes, use either [#hex]text[/#] (all games) or <color=#hex>text</color> (Rust, Hurtworld only).
     
  11. Cataclysme

    Cataclysme Master Researcher

    Hi,

    This evening I have an error
    Code (Text):
    07:18 [Error] Failed to run a 300.00 timer in 'AutoBroadcast v1.0.8' (ArgumentOutOfRangeException: Argument is out of range.)
    07:18 [Stacktrace]   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
     
  12. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    What do your lang files look like for the plugin?
     
  13. Cataclysme

    Cataclysme Master Researcher

    I work I can't show you my lang file.

    I just recently add color to lang file like this :

    <color=#939393> test </color>

    I should not do that?
     
  14. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Shouldn't be an issue, but you could use the format [#939393]test[/#] instead.
     
  15. Cataclysme

    Cataclysme Master Researcher

    Oh ok so use color like WelcomeMessages plugin

    How can I know if I need to use that format or the normal format by Unity to avoid this error ?


    Thank you for your support, I will try when I go back to my home
     
  16. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Either format would work for Rust, but the format I listed is the Covalence format from Oxide that not all plugin use. I highly doubt the error is from that.
     
  17. Cataclysme

    Cataclysme Master Researcher

    For information,

    I changed the format I used previously to the new format you said

    Seem work for the moment, thanks for your support... again :p
     
  18. Cataclysme

    Cataclysme Master Researcher

    Hi @Wulf

    Sorry, I used both format [#939393]test[/#] and <color=#939393> test </color>

    But plugin return to chat the color since reboot, why ?

    Code (Text):
    {
      "update": "<color=#939393><color=#ce422b>La MàJ Instinct <color=#2bce42>2.0</color> est disponible sur le forum à serveur-instinct.eu ne manquez pas ça !</color></color>",
      "ticket": "<color=#939393>Problème de traduction, des erreurs, des bugs, un build non légit ? <color=#ce422b>Envoyez nous des tickets</color> + enregistrer votre position si besoin !</color>",
      "staff": "<color=#939393>Couleur staff: <color=#red>Admin</color> <color=#green>Modérateur</color> <color=#purple>CommunityManager</color>",
      "event": "<color=#939393>Pour les events, vous n'avez <color=#ce422b>pas</color> besoin d'utiliser votre stuff. <color=#ce422b>Des kits sont préparés et vous serez TP à votre position</color>",
      "eventvote": "<color=#939393>Pour choisir le prochain event, vous pouvez voter en tapant <color=#ce422b>/event</color> dans l'onglet 'vote'.</color>",
      "updates": "<color=#939393>Veillez à faire votre MàJ Rust une fois que nous lançons la MàJ du serveur et pas avant pour éviter que vous soyez coincé. Vous pourrez suire l'état du serveur sur Discord.</color>",
      "semi-vanilla": "<color=#939393><color=#ce422b>Ce serveur est trop facile</color> ? Essayez notre serveur <color=#ce422b>Instinct Semi-vanilla</color> avec <color=#ce422b>loot x1, ressources x1</color> et <color=#ce422b>des levels métiers</color> bien configuré pour vous satisfaire !</color>",
      "survey": "<color=#939393>Vous pouvez voter à <color=#ce422b>divers sondages et suggestions</color> faites par le joueur sur le Discord, en espérant vous voir voter !</color>",
    }

    Code (Text):
    {
      "update": "[#939393][#ce422b]La MàJ Instinct [#2bce42]2.0[/#] est disponible sur le forum à serveur-instinct.eu ne manquez pas ça ![/#][/#]",
      "ticket": "[#939393]Problème de traduction, des erreurs, des bugs, un build non légit ? [#ce422b]Envoyez nous des tickets[/#] + enregistrer votre position si besoin ![/#]",
      "staff": "[#939393]Couleur staff: [#red]Admin[/#] [#green]Modérateur[/#] [#purple]CommunityManager[/#]",
      "event": "[#939393]Pour les events, vous n'avez [#ce422b]pas[/#] besoin d'utiliser votre stuff. [#ce422b]Des kits sont préparés et vous serez TP à votre position[/#]",
      "eventvote": "[#939393]Pour choisir le prochain event, vous pouvez voter en tapant [#ce422b]/event[/#] dans l'onglet 'vote'.[/#]",
      "updates": "[#939393]Veillez à faire votre MàJ Rust une fois que nous lançons la MàJ du serveur et pas avant pour éviter que vous soyez coincé. Vous pourrez suire l'état du serveur sur Discord.[/#]",
      "modded": "[#939393][#ce422b]Ce serveur est trop dur[/#] ? Essayez notre serveur [#ce422b]Instinct Modded[/#] avec [#ce422b]loot x2, ressources x3[/#] et [#ce422b]des levels métiers[/#] bien configuré pour vous satisfaire ![/#]",
      "survey": "[#939393]Vous pouvez voter à [#ce422b]divers sondages et suggestions[/#] faites par le joueur sur le Discord, en espérant vous voir voter ![/#]",
    }
     
  19. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    The plugin doesn't control the color, but I imagine that the many nested tags may be messing up the formatter somehow.
     
  20. Cataclysme

    Cataclysme Master Researcher

    Hmmm before this plugin works fine with color :/