-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainPlugin.cs
More file actions
33 lines (28 loc) · 1.03 KB
/
MainPlugin.cs
File metadata and controls
33 lines (28 loc) · 1.03 KB
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
using LabApi.Features;
using LabApi.Features.Console;
using LabApi.Loader.Features.Plugins;
using LabApi.Loader.Features.Plugins.Enums;
using SER_UCR_bind.Flag;
using SER.MethodSystem;
using Version = System.Version;
namespace SER_UCR_bind;
public class MainPlugin : Plugin
{
public override string Name => "SER-UCR-bind";
public override string Description => "A plugin that adds methods to SER that control UCR";
public override string Author => "Elektryk_Andrzej";
public override Version Version => new(1, 0, 0);
public override Version RequiredApiVersion => LabApiProperties.CurrentVersion;
public override LoadPriority Priority => LoadPriority.Lowest;
public override void Enable()
{
Logger.Info("Loading SER-UCR-bind");
// ReSharper disable once ObjectCreationAsStatement
new SERIntergration();
SER.FlagSystem.Structures.Flag.RegisterFlagsAsExternalPlugin();
MethodIndex.AddAllDefinedMethodsInAssembly();
}
public override void Disable()
{
}
}