Welcome Messages

Sends players welcome messages once they connect to the server

Total Downloads: 1,810 - First Release: Nov 19, 2016 - Last Update: May 31, 2017

5/5, 8 likes
  1. pookins

    pookins Shack Builder

    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
  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 Shack Builder

    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
  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 Shack Builder

    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 ,
     
  9. blackknite90

    blackknite90 Scavenger

    I installed this plugin and I cannot figure out how to edit. I do not see a .json file under oxide>Config. Please Help!
     
  10. Ankawi

    Ankawi Master Researcher Plugin Developer

    It is under Lang
     
  11. blackknite90

    blackknite90 Scavenger

    What's an "under Lang"?
     
  12. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    The plugin stores the messages under the oxide/lang folder. You can add additional languages or customize the existing.
     
  13. Jeini

    Jeini Scavenger

    I was also getting a headache when trying to get this to work in Rust (not being competent at all in coding). Copying the json from the overview page did not work, but Wulf's comment above helped to figure out how to do it. I literally used one line... with \n as line break.
    Code (Text):
    {
      "Welcome": "[#cyan]Welcome to Ripened Peaches, {0}!\nRipened Peaches is a friendly PvE server. Mature behaviour is expected of everyone, regardless of age.\nType /help to view in-game commands.\nType /rules to see server rules.\nType /help to view in-game commands.\nJoin the server group in Steam for info and discussion![/#]"
    }
     
     
    Loonie2013 likes this.
  14. Evilyn Corporated

    Evilyn Corporated Shack Builder

    In the interests of science (and sharing), here's my WelcomeMessages.json contents.

    Code (Text):
    {
      "Welcome": "[+18]Welcome [#lightblue]{0}[/#][/+]
      \n[#orange][+20]•[/+][/#] Type [#orange]/info[/#] for all available commands
      \n[#orange][+20]•[/+][/#] Please respect our server [#orange]/rules[/#]
      \nTo remove the RUST ALPHA Banner (top right) - simply press escape - go to options and click Remove Branding"
    }
     
  15. timp111222

    timp111222 Wood Hoarder

    Is this just to show the one who joined a message? Im looking for the join message that notifier had... Welcome back to the server "name" and bye bye "name" if you know what i mean
     
  16. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    ConnectMessages | Oxide
     
  17. t3h28

    t3h28 Shack Builder

    Im using this config and recieving no errors and it's not giving connect messages.

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

    albator4242 Wood Hoarder

    Does not work
     
  19. Wulf

    Wulf Community Admin Community Admin Oxide Developer

  20. albator4242

    albator4242 Wood Hoarder

    The plugin displays nothing in the chat. How to solve the problem