AdvertMessages

Moved

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

5/5, 22 likes
  1. @Wulf I know the color tags needs to be inside of the quotes but when I'm pressing on the validate json butten Its standing automaticly like this < green > and not this <green> and what do you mean with trailing comma ??
     
  2. Wulf

    Wulf Community Admin

    As in a comma that goes at the end of a line.
     
  3. Copy this code and paste to your config file ;)

    Code:
    {
      "Messages": [
            "<green>Welcome to Dutch Orders, enjoy your stay!<end>",
            "<orange>Need help? Call for a <end><red>Admin<end><orange> in the chat.<end>",
            "<blue>Please act mature and be respectfull to others.<end>",
            "<cyan>Cheating will result in a <end><red>permanet<end><cyan> ban.<end>",
            "<yellow>This server Is running on oxide 2<end>.",
            "<cyan>Join our teamspeak server, TeampSpeak IP:dutchorders.4np.de.<end>",
            "<teal>Take a look on our webiste for much info. website: http://dutchorders.webnode.nl.<end>",
            "<lime>We accept donations in return for great stuff, check it out on the website.<end>",
            "<sienna>Use /help for any available commands on the server.<end>"
      ],
      "Settings": {
        "Adverts Interval (In Minutes)": 4,
        "Broadcast To Console": true
      }
    }
    
    Edit: Rapair missing comma and missing starting square bracket.
     
    Last edited by a moderator: Jul 1, 2016
  4. Wulf

    Wulf Community Admin

    That config isn't valid, you're missing a comma, you have one comma where it shouldn't be, and there's a blank line that will cause issues. ;)
     
  5. Lol what he doing with this :D I'll repair it ;)
     
  6. @Wulf I've tryd everything and I did what you said,
    But It isn't worken mabye you can fix it for me,
    I don't know If you have the time for it ?
     
  7. @TruxDeadnitro Do you try my code above?
     
  8. yes and that Isn't working ether
    [DOUBLEPOST=1467474401][/DOUBLEPOST]@PadL

    I've copy pase your code I'm going to check right now If it will works
     
  9. Alright Its working right now thank you for your help guys
     
  10. Code:
    [Oxide] 00:06 [Error] Error while compiling AdvertMessages.cs(36,33): error CS0115: `Oxide.Plugins.AdvertMessages.LoadDefaultConfig()' is marked as an override but no suitable method found to override
    Aaa sorry i have this error :(

    OMG This for
    Hurtworld so sorry :(
     
    Last edited by a moderator: Sep 1, 2016
  11. I got this error
    Code:
    [Oxide] 16:24 [Error] Timed out waiting for plugin to be compiled: AdvertMessages
    [Oxide] 4:24 PM [Error] Compilation error:  (SerializationException: Unexpected binary element: 0)
     
  12. @SkinN õ.Õ'.|.
    Could you please update this plugin because its outdated and useing colors on it its bugging as hell
     
  13. What's the problem with it? Seems to be working fine.

    Check your messages in the config. The ones that come with the default config are fine so you likely have an extra color code or "<" ">" in there somewhere, just check it over mate.
     
    Last edited by a moderator: Nov 1, 2016
  14. LaserHydra updated Advert Messages with a new update entry:

    3.0.0

    Read the rest of this update entry...
     
  15. Thank you its working perfectly again
    but can you also help me with this I got this as my condig file on the advertmessages,
    Code:
    {
        "Messages": [
            "<#01C5BB>Welcome to the Dutch Orders, enjoy your stay!<end>",
            "<#32CC99>Need help? Call for a <end><red>Admin<end><orange> in the chat.<end>",
            "<#577A3A>Please act mature and be respectfull to other players.<end>",
            "<#AADD00>Cheating will result in a <end><red>permanet<end><cyan> ban.<end>",
            "<#CD7F32>This server is running on oxide version 2<end>",
            "<#E04006>Use /help for any available commands on the server.<end>",
            "<#EE1289>use /ticket create to report someone towards the staff team.<cend>",
            "<#FF6EC7>Do you've some awsome idea's for the server show them  with us.<end>"
        ],
        "Settings": {
            "Adverts Interval (In Minutes)": 4,
            "Broadcast To Console": true
        }
    }
    But when haveing this it will show up like this on the game.
    https://www.upload.ee/image/6308580/adver.png

    So mbaye i'm doing something worng but i'm not sure
    EDIT: its working already if you've looking on it thanks for it but its working right now
     
    Last edited by a moderator: Nov 1, 2016
  16. I will look into fixing that once I am home today.
     
  17. LaserHydra updated Advert Messages with a new update entry:

    3.0.1

    Read the rest of this update entry...
    [DOUBLEPOST=1478115084][/DOUBLEPOST]
    Fixed ;)
     
  18. Anyone having issues with this plugin after update?

    ** Edit: might be something else. other server seems fine. no issues. just the one. more testing. :)
     
    Last edited by a moderator: Feb 11, 2017