Привет исправь все ошибки в этом коде

using Exiled.API.Features;
using Exiled.Events.EventArgs;
using Exiled.Events.EventArgs.Player;
using Exiled.Events.EventArgs.Server;
using System;
using System.Collections.Generic;

namespace CustomRolesPlugin
{
    public class Plugin : Plugin<Config>
    {
        public override string Name => "CustomRolesPlugin";
        public override string Author => "ВашеИмя";
        public override string Prefix => "custom_roles";
        public override Version Version => new Version(1, 0, 0);
        public override Version RequiredExiledVersion => new Version(5, 0, 0);

        public override void OnEnabled()
        {
            base.OnEnabled();

            Exiled.Events.Handlers.Player.InteractingDoor += OnInteractingDoor;
            Exiled.Events.Handlers.Player.Hurting += OnHurting;
            Exiled.Events.Handlers.Server.RoundStarted += OnRoundStarted;

            Log.Info("CustomRolesPlugin включен.");
        }

        public override void OnDisabled()
        {
            base.OnDisabled();

            Exiled.Events.Handlers.Player.InteractingDoor -= OnInteractingDoor;
            Exiled.Events.Handlers.Player.Hurting -= OnHurting;
            Exiled.Events.Handlers.Server.RoundStarted -= OnRoundStarted;

            Log.Info("CustomRolesPlugin выключен.");
        }

        private void OnRoundStarted()
        {
            foreach (Player player in Player.List)
            {
                if (RandomChance(10)) // 10% chance to be a Hacker
                {
                    SetPlayerRole(player, RoleType.Scientist); // Use RoleType here
                    player.Broadcast(10, "Вы Хакер и можете блокировать двери!");
                }

                if (player.IsAdmin) // Check if player is an admin
                {
                    SetPlayerRole(player, RoleType.NtfLieutenant); // Use RoleType here
                    player.Broadcast(10, "Вы член Отряда по сдерживанию SCP Кетер!");
                }
            }
        }

        private void OnInteractingDoor(InteractingDoorEventArgs ev)
        {
            Player player = ev.Player;

            if (IsHacker(player))
            {
                if (RandomChance(50)) // 50% chance to block the door
                {
                    ev.IsAllowed = false;
                    player.Broadcast(2, "Вы заблокировали дверь!");
                }
            }
        }

        private void OnHurting(HurtingEventArgs ev)
        {
            Player attacker = ev.Attacker;
            Player victim = ev.Victim;

            if (IsContainmentTeam(attacker) && victim.Role == RoleType.Scp079) // Example for SCP-079
            {
                ev.Amount = 0; // Containment team doesn't take damage
                attacker.Broadcast(2, "Вы не можете атаковать SCP Кетер!");
            }
        }

        private void SetPlayerRole(Player player, RoleType role)
        {
            player.Role = role; // Убедитесь, что это правильно для вашей версии API
        }

        private bool IsHacker(Player player)
        {
            // Assuming you set roles and broadcast messages in OnRoundStarted
            return player.Role == RoleType.Scientist;
        }

        private bool IsContainmentTeam(Player player)
        {
            return player.Role == RoleType.NtfLieutenant;
        }

        private bool RandomChance(int percentage)
        {
            Random rand = new Random();
            return rand.Next(0, 100) < percentage;
        }
    }

    public class Config : IConfig
    {
        public bool IsEnabled { get; set; } = true;
        public bool Debug { get; set; } = false;
    }
}