mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
14 lines
516 B
Lua
14 lines
516 B
Lua
local ensure_character = require("modules/inventory_sync/ensure_character")
|
|
|
|
local function welcome_new_player(player_name)
|
|
local player = game.get_player(player_name)
|
|
if player == nil then return end
|
|
player.print("Welcome to the server!")
|
|
player.print("Your inventory will be automatically synchronized between servers in this cluster.")
|
|
player.print("To improve sync performance, please avoid storing blueprints in your inventory.")
|
|
|
|
ensure_character(player)
|
|
end
|
|
|
|
return welcome_new_player
|