add events player.onSpawn, player.onKill, player.onJoin, player.onLeave