Welcome Messages

Sends players welcome messages once they connect to the server

Total Downloads: 520 - First Release: Nov 19, 2016 - Last Update: Dec 19, 2016

5/5, 2 likes
  1. pookins

    pookins Wood Hoarder

    As I said I copied the multi line example on the overview page and just edited the words and even though neither of them check out in Json.validator i find it works great, i just logged onto server and there it is :)
    so thanks for the help and for another great plugin
     
    Ankawi likes this.
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Do you have 2 or 4 spaces at the front of each line in your modified version?
     
  3. Kort

    Kort Naked Wanderer

    OK I have tried the exact example in the overview...does not work.

    I have also tried "all on a single line"..See below..

    {
    "Welcome": "[#cyan]Welcome to the server {0}![/#]\n[#cyan]Type /help to view in-game commands[/#]\n[#cyan]Please abide the server's rules[/#]"
    }

    Both have the same result. The message IS displayed BUT there is NO carriage return. The '\n' simply seems to act as a space and NOT a carriage return.

    It should not make a difference but I am using this on a dedicated 7 Days to Die server, just to provide more information. I have even uploaded a screenshot for non-believers.

    I think this is a really useful plugin, which is why its so frustrating not being able to get this to support carriage return / new line.

    What am I missing?!
     
    Last edited: Jan 12, 2017 at 11:19 AM
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Not sure if 7 Days to Die handles \n or not. Have you had any success with it using any other methods?
     
  5. Kort

    Kort Naked Wanderer

    Not tried anything else.. Be interested then to hear if anyone can confirm if they have ever had this plugin work with multiple lines then in 7DTD????? And if they have, what syntax was used!!!??? At the moment then it looks like I am going to have to fudge it by using many white spaces to force letters onto the next line, but can see this being messy and possibly misalignment where players use different screen resolutions I suspect.
     
  6. pookins

    pookins Wood Hoarder

    I used the exact formatting used in the overview page with the exception of my own text, no extra spaces (except for 3 spaces before the ? as it shows clearer on screen after the player name which is represented by the {0} )
    {
    "Welcome": "[#cyan]Welcome to Pal-Ul-Don Can YOU Survive {0} ?[/#]
    \n[#yellow] To get a KIT type / kit kit You only get 20[/#]
    \n[#yellow] STEAM PRIVATE PROFILE PLAYERS WILL BE KICKED / BANNED[/#]
    \n[#yellow] Rules and hints will scroll Top Right of screen[/#]
    \n[#lime] The MORE you Gather / Craft = Higher / Faster rates[/#]"
    }

    Dont bother with the json validation as neither of them will get an ok , but it works great, i have the rulesgui showing as soon as the player logs on, then after they "agree" they are logged in (no "sleep" screen) when they press the chat key the welcome message comes up,
    and although you keep saying it should all be on a single line the overview one is not ?
    The example above works and i am happy with it, you are welcome to log into the server to see it in action,
    another great plugin and another step in the learning curve
     
    Last edited: Jan 13, 2017 at 10:10 AM
  7. Kort

    Kort Naked Wanderer

    Hi pookins, and this is on a 7 Days to Die server? I also ended up copying the text from the overview (copy/paste) which didn't provide "new line" when tested. But I am still trying to get to the bottom of this.
     
  8. pookins

    pookins Wood Hoarder

    No, its on a rust server . I realise its a universal plugin but you may have to talk to your server hosts to see if they have any tips,
    I have found that (since leaving multiplay) that most of the problems can be fixed, If Wulf and Ankawi cant fix it you might have to look at another plugin ,