diff --git a/activity/ServerBootstrapSystemPatches.cs b/activity/ServerBootstrapSystemPatches.cs index 51122f4..ff812c5 100644 --- a/activity/ServerBootstrapSystemPatches.cs +++ b/activity/ServerBootstrapSystemPatches.cs @@ -31,8 +31,6 @@ public static void OnUserConnected( NetConnectionId netConnectionId ) { - Plugin.Logger.LogInfo("OnUserConnected"); - var userIndex = __instance._NetEndPointToApprovedUserIndex[netConnectionId]; var serverClient = __instance._ApprovedUsersLookup[userIndex]; var userEntity = serverClient.UserEntity; @@ -43,7 +41,7 @@ NetConnectionId netConnectionId return; } - Plugin.Logger.LogInfo($"OnUserConnected: {vPlayer.VUser.User.CharacterName.ToString()}"); + Plugin.Logger.LogDebug($"OnUserConnected: {vPlayer.VUser.User.CharacterName.ToString()}"); _playerActivities.Add( new PlayerActivity( @@ -65,8 +63,6 @@ public static void OnUserDisconnected( string extraData ) { - Plugin.Logger.LogInfo("OnUserDisconnected"); - var userIndex = __instance._NetEndPointToApprovedUserIndex[netConnectionId]; var serverClient = __instance._ApprovedUsersLookup[userIndex]; var userEntity = serverClient.UserEntity; @@ -77,7 +73,7 @@ string extraData return; } - Plugin.Logger.LogInfo($"OnUserDisconnected: {vPlayer.VUser.User.CharacterName.ToString()}"); + Plugin.Logger.LogDebug($"OnUserDisconnected: {vPlayer.VUser.User.CharacterName.ToString()}"); _playerActivities.Add( new PlayerActivity( @@ -100,11 +96,9 @@ public static void SpawnCharacter( Nullable_Unboxed customSpawnPosition ) { - Plugin.Logger.LogInfo("SpawnCharacter"); - var vPlayer = VPlayer.from(user); - Plugin.Logger.LogInfo($"SpawnCharacter: {vPlayer.VUser.User.CharacterName.ToString()}"); + Plugin.Logger.LogDebug($"SpawnCharacter: {vPlayer.VUser.User.CharacterName.ToString()}"); _playerActivities.Add( new PlayerActivity(