-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPlugin.cs
39 lines (34 loc) · 1.07 KB
/
Plugin.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
using Exiled.API.Features;
using Exiled.Events.Handlers;
using ServerEv = Exiled.Events.Handlers.Server;
using PlayerEv = Exiled.Events.Handlers.Player;
using Exiled.CustomItems.API.Features;
using Exiled.CustomRoles.API.Features;
namespace SCPSpeedBoost
{
public class Plugin : Plugin<Config>
{
public override string Name => "SCP Speed Boost";
public override string Author => "TtroubleTT";
public override Version Version => new Version(1, 0, 1);
public static Plugin plugin;
public override void OnEnabled()
{
plugin = this;
PlayerEv.ChangingRole += EventHandlers.ChangingRole;
base.OnEnabled();
}
public override void OnDisabled()
{
plugin = null;
PlayerEv.ChangingRole -= EventHandlers.ChangingRole;
base.OnDisabled();
}
}
}