Files
factorio-clusterio/plugins/inventory_sync/module/welcome_new_player.lua
T

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