AdvertMessages

Moved

Total Downloads: 5,741 - First Release: Dec 11, 2015 - Last Update: Nov 2, 2016

5/5, 22 likes
  1. Strange, I implemented this one and the Welcome one and both failed in oxide, some string was not found. Here is the log file: Same for both your plugins... all other plugins I have are working fine, as well as the previous version of yours. These two new ones do not for some reason. And I did remove the old version as well as all configs as you isntructed. Thanks!
    Code:
    2:32 PM [Info] Loaded plugin Advert Messages v2.0.0 by SkinN
    2:32 PM [Error] Failed to initialize plugin 'AdvertMessages v2.0.0' (InvalidCastException: Value is not a convertible object: System.Collections.Generic.List`1[System.Object] to ]])
    2:32 PM [Debug]  at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdvertMessages.GetConfig[List`1] (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdvertMessages.LoadVariables () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdvertMessages.Init () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AdvertMessages.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    2:32 PM [Info] Unloaded plugin Advert Messages v2.0.0 by SkinN
    2:32 PM [Info] No previous version to rollback plugin: AdvertMessages
     
    Last edited by a moderator: Feb 23, 2016
  2. Dont know if its coincidence or not but since i updated to latest version ive got that color coding bug on my server again in the chat was fine for weeks before this?
     
  3. Upload your .json file please
     
  4. Code:
    {
      "Messages": [
        "Welcome to our server,make sure to build nomore than 10x10 foundations! have fun!",
        "Na tym serverze sa automatyczne nagrody za glosowanie, jezeli czcesz zaglosowac wejdz na ten link [URL='http://hurtworld-servers.net/server/5636/'][UK/EU]Starve Wars | KITS | TP | HOME | X3 | PM | Hurtworld server[/URL] lub wejdz na profil steama admina IEATpandas wpisz /vote aby robaczyc liste comend.",
        "<orange>Need help?<end> Try calling for the <cyan>Admins<end> in the chat.",
        "Na czacie obowiazuje zasada pisania po angielsku, jezeli chcesz pomocy skataktuj sie z polskim moderatorem Snipe PL na steamie.",
        "Please, be respectful with to the other players.",
        "Na tym serwerze zachecane jest okradanie baz, ale rozwalanie baz calkowicie jest karane banem.(tylko rozwalac to co potrzebne jest do wejscia.",
        "Cheating will result in a <cyan>permanent<end> ban.",
        "This server is running<end> <orange>Oxide 2<end>.",
        "Voting for the server gets you rewards please see IEATpandas steam profile for the direct vote link",
        "Building skybases/bridges or huge bases is not allowed and will be removed when i see them",
        "We have a <orange>VIP<end> service for all deatils see IEATpandas steam profile full details are on there",
        "Na tym serwerze znajduje sie system<end> <orange>vipow.<end> Aby zdobyc wiecej informacji wejdz na profil IEATpandas",
        "Building is <orange>RESTRICTED to 10x10<end> foundations so we do not have to wipe so often less than this is welcomed more than this i will delete it hopefully means we need to wipe less often "
      ],
      "Settings": {
        "Adverts Interval (In Minutes)": 3,
        "Broadcast To Console": true
      }
    }
     
    Last edited by a moderator: Oct 11, 2016
  5. Next time just upload the file with the Upload File option below the Post Text Box please.
    Your configuration has a few two <end> tags without any color tags before them, and their what causing the broken text:

    Line 10:
    Code:
    "This server is running<end> <orange>Oxide 2<end>.",
    Line 14:
    Code:
    "Na tym serwerze znajduje sie system<end> <orange>vipow.<end> Aby zdobyc wiecej informacji wejdz na profil IEATpandas",
    To fix both , you can either remove those <end> tags or add color tags before them, its up to you.

    Let me know of anything else.
     
  6. Any way i can call a command, for exemple with the mod economy bank display /bank top players - See top 5 richest players. ?
     
  7. Well its not a bad idea , ill take a look into that

    Though you are mistaken, this is Hurtworld's Advert Messages discussion

    Rank-ME | Page 20 | Oxide
     
    Last edited by a moderator: Feb 27, 2016
  8. hi

    when i install this plugin it makes server crash/server not responding message.

    any ideas

    cheers
     
  9. my adverts would not stop going, they would go one after another after another. even with the interval set to 12
     
  10. Got the same issue, also forgot to backup my old config and now lost it all ;-(
     
  11. SkinN õ.Õ'.|. updated Advert Messages with a new update entry:

    2.0.3 | Minor fix

    Read the rest of this update entry...
    [DOUBLEPOST=1457697197][/DOUBLEPOST]
    Sorry for my mistake, should be working fine now.
     
  12. Nope sadly still issue's he keeps spamming the chat.
     
  13. After Update in my chat start SPAMMING! Every second what is it?
     
  14. same problem here! please fix this as soon as possible!
     
  15. He will fix it as soon as possible guys, they are REALLY good here at Oxide. When they notice the problem, they fix it. Give it time, you can last without Adverts for a bit.
     
  16. No need to apologize, REALLY APPRECIATE all the work, seriously, these plugins are brilliant. THANKS!!! :D