WelcomeMessages

Moved

Total Downloads: 3,769 - First Release: Nov 19, 2016 - Last Update: Dec 25, 2017

5/5, 12 likes
  1. 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
     
  2. Wulf

    Wulf Community Admin

    Do you have 2 or 4 spaces at the front of each line in your modified version?
     
  3. 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?!
     

    Attached Files:

    Last edited by a moderator: Jan 12, 2017
  4. Wulf

    Wulf Community Admin

    Not sure if 7 Days to Die handles \n or not. Have you had any success with it using any other methods?
     
  5. 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. 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 by a moderator: Jan 13, 2017
  7. 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. 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. 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. It is under Lang
     
  11. What's an "under Lang"?
     
  12. Wulf

    Wulf Community Admin

    The plugin stores the messages under the oxide/lang folder. You can add additional languages or customize the existing.
     
  13. 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:
    {
      "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![/#]"
    }
    
     
  14. In the interests of science (and sharing), here's my WelcomeMessages.json contents.

    Code:
    {
      "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. 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

    ConnectMessages | Oxide
     
  17. 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. Does not work
     
  19. Wulf

    Wulf Community Admin

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