In the serverside script i has this
public Class1()
{
EventHandlers["teleportCommandEvent"] += new Action<Player, string>(TeleportEvent);
}
private void TeleportEvent([FromSource] Player player, string obj)
{
}
The problem is that player.Character is always null.