From 56eea02a527ac31a9636046d11883325f4c245b3 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Thu, 27 Aug 2026 13:15:52 +0200 Subject: [PATCH] Add Version property; simplify EntryPoint --- content/EntryPoint.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/EntryPoint.cs b/content/EntryPoint.cs index d894295..2af6cce 100644 --- a/content/EntryPoint.cs +++ b/content/EntryPoint.cs @@ -8,20 +8,20 @@ namespace LabApiPluginTemplate { public override string Name => "LabApiPluginTemplate"; - public override string Description => "TODO: describe what this plugin does."; + public override string Description => "YourDescription"; public override string Author => "YourName"; - public override Version RequiredApiVersion { get; } = new Version("1.1.7"); + public override Version Version => new Version(1, 0, 0); + + public override Version RequiredApiVersion { get; } = new Version(LabApiProperties.CompiledVersion); public override void Enable() { - Logger.Info($"{Name} has been enabled."); } public override void Disable() { - Logger.Info($"{Name} has been disabled."); } } }