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
WelcomeMessages
Moved
Total Downloads: 3,769 - First Release: Nov 19, 2016 - Last Update: Dec 25, 2017
- 5/5, 12 likes
-
Wulf Community Admin
-
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 -
-
Wulf Community Admin
-
-
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 curveLast edited by a moderator: Jan 13, 2017 -
-
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 , -
I installed this plugin and I cannot figure out how to edit. I do not see a .json file under oxide>Config. Please Help!
-
-
-
Wulf Community Admin
-
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![/#]" }
-
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" }
-
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
-
Wulf Community Admin
-
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[/#]"
} -
Does not work
-
Wulf Community Admin
-
The plugin displays nothing in the chat. How to solve the problem