Mybad...
wrote in server.lua:
local s, b = pcall(require, 'mods/ShipScriptLoader/scripts/server/server')
if s then if b.onPlayerLogIn then local a = onPlayerLogIn; onPlayerLogIn = function(c) a(c); b.onPlayerLogIn(c); end end end
but it was necessary:
if s then if b.onPlayerLogIn then
local a = onPlayerLogIn; onPlayerLogIn = function(c) a(c); b.onPlayerLogIn(c);
end
end
end
:(