public override void Initialize() { register.RegisterSkillHandler <PlayerDamageEvent>(this, OnPlayerTakesDamage, EventType.PlayerTakesDamage); register.RegisterSkillHandler <PlayerDamageEvent>(this, OnPlayerDoesDamage, EventType.PlayerDoesDamage); register.RegisterSkillHandler <NpcKilledEvent>(this, OnPlayerKillsNPC, EventType.NpcIsKilled); register.RegisterSkillHandler <NpcDamageEvent>(this, OnPlayerDamagesNPC, EventType.NpcTakesDamage); TShockAPI.Commands.ChatCommands.Add(new Command("", AddSkillPoint, "ts")); }