Page 1 of 1

Server Welcome message

Posted: Sun May 17, 2020 12:11 pm
by Larkum
Hello,

Is there a way to set a welcome message when people join a server, I have had a google with no results.

What I would like is when someone new joins a server a message pops up much like when you start a new solo game, but with information like server rules and info about our discord channel.

Thanks in advance.

Larkum

Re: Server Welcome message

Posted: Wed May 20, 2020 8:30 am
by Impatient
One way to print something to the players chat would be with a "scenario script".

The script would subscribe to the "on_player_joined" event ( https://lua-api.factorio.com/latest/eve ... oined_game ), get de player index and then print a message to that specific player.