Update init.lua

added playerspawn function and server defaults.