From 7804ecb122177568a7230cab76875dd266730ead Mon Sep 17 00:00:00 2001
From: Miki_hero <100715076+Mikihero@users.noreply.github.com>
Date: Fri, 3 Nov 2023 23:02:06 +0100
Subject: [PATCH] update to exiled 8
---
EventTools/Commands/Deathmatch.cs | 1 +
EventTools/Commands/ElevatorLock.cs | 1 +
EventTools/Commands/EventExplode.cs | 1 +
EventTools/Commands/EventPrep.cs | 3 +--
EventTools/Commands/LockZone.cs | 1 +
EventTools/Commands/Lottery.cs | 1 +
EventTools/Commands/TeamDeathmatch.cs | 1 +
EventTools/EventTools.csproj | 2 +-
EventTools/Plugin.cs | 4 ++--
9 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/EventTools/Commands/Deathmatch.cs b/EventTools/Commands/Deathmatch.cs
index 26c183f..ef36008 100644
--- a/EventTools/Commands/Deathmatch.cs
+++ b/EventTools/Commands/Deathmatch.cs
@@ -4,6 +4,7 @@
using CommandSystem;
using Exiled.API.Features;
using Exiled.API.Enums;
+using Exiled.API.Features.Doors;
using MEC;
using Exiled.Permissions.Extensions;
diff --git a/EventTools/Commands/ElevatorLock.cs b/EventTools/Commands/ElevatorLock.cs
index 3aede83..263a6a5 100644
--- a/EventTools/Commands/ElevatorLock.cs
+++ b/EventTools/Commands/ElevatorLock.cs
@@ -4,6 +4,7 @@
using CommandSystem;
using Exiled.API.Enums;
using Exiled.API.Features;
+using Exiled.API.Features.Doors;
using Exiled.Permissions.Extensions;
namespace EventTools.Commands
diff --git a/EventTools/Commands/EventExplode.cs b/EventTools/Commands/EventExplode.cs
index 928793a..9c0be1a 100644
--- a/EventTools/Commands/EventExplode.cs
+++ b/EventTools/Commands/EventExplode.cs
@@ -2,6 +2,7 @@
using CommandSystem;
using Exiled.API.Features;
using Exiled.API.Enums;
+using Exiled.API.Features.Doors;
using Exiled.Permissions.Extensions;
namespace EventTools.Commands
diff --git a/EventTools/Commands/EventPrep.cs b/EventTools/Commands/EventPrep.cs
index 331edeb..c4bb75f 100644
--- a/EventTools/Commands/EventPrep.cs
+++ b/EventTools/Commands/EventPrep.cs
@@ -3,12 +3,11 @@
using CommandSystem;
using Exiled.API.Enums;
using Exiled.API.Features;
+using Exiled.API.Features.Doors;
using Exiled.API.Features.Pickups;
using Exiled.Permissions.Extensions;
using LightContainmentZoneDecontamination;
using PlayerRoles;
-using PlayerRoles.FirstPersonControl;
-using Map = PluginAPI.Core.Map;
namespace EventTools.Commands
{
diff --git a/EventTools/Commands/LockZone.cs b/EventTools/Commands/LockZone.cs
index ee37464..c072966 100644
--- a/EventTools/Commands/LockZone.cs
+++ b/EventTools/Commands/LockZone.cs
@@ -2,6 +2,7 @@
using CommandSystem;
using Exiled.API.Features;
using Exiled.API.Enums;
+using Exiled.API.Features.Doors;
using Exiled.Permissions.Extensions;
namespace EventTools.Commands
diff --git a/EventTools/Commands/Lottery.cs b/EventTools/Commands/Lottery.cs
index 3f10dfc..6a5df8d 100644
--- a/EventTools/Commands/Lottery.cs
+++ b/EventTools/Commands/Lottery.cs
@@ -3,6 +3,7 @@
using CommandSystem;
using Exiled.API.Features;
using Exiled.API.Enums;
+using Exiled.API.Features.Doors;
using MEC;
using UnityEngine;
using Exiled.Permissions.Extensions;
diff --git a/EventTools/Commands/TeamDeathmatch.cs b/EventTools/Commands/TeamDeathmatch.cs
index 13092af..b415382 100644
--- a/EventTools/Commands/TeamDeathmatch.cs
+++ b/EventTools/Commands/TeamDeathmatch.cs
@@ -4,6 +4,7 @@
using CommandSystem;
using Exiled.API.Features;
using Exiled.API.Enums;
+using Exiled.API.Features.Doors;
using Exiled.Permissions.Extensions;
using PlayerRoles;
diff --git a/EventTools/EventTools.csproj b/EventTools/EventTools.csproj
index 3054536..cd3b6b9 100644
--- a/EventTools/EventTools.csproj
+++ b/EventTools/EventTools.csproj
@@ -86,7 +86,7 @@
3.8.1
- 6.0.0-beta.26
+ 8.3.9
diff --git a/EventTools/Plugin.cs b/EventTools/Plugin.cs
index 1f517e7..a2ea3f3 100644
--- a/EventTools/Plugin.cs
+++ b/EventTools/Plugin.cs
@@ -13,9 +13,9 @@ namespace EventTools
public class Plugin : Plugin
{
public static Plugin Instance;
- public override Version RequiredExiledVersion => new Version(6,0,0,0);
- public override Version Version => new Version(3, 1, 0);
public override string Author => "Miki_hero";
+ public override Version Version => new Version(4, 0, 0);
+ public override Version RequiredExiledVersion => new Version(8,3,9,0);
private EventHandlers _eventHandlers;