-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.cs
executable file
·31 lines (26 loc) · 843 Bytes
/
Main.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
using Rocket.API.Collections;
using Rocket.Core.Logging;
using Rocket.Core.Plugins;
namespace LoadPlugin
{
public class Main : RocketPlugin
{
public static Main Instance;
public const string Version = "1.0.0";
protected override void Load()
{
Instance = this;
Logger.Log($"LoadPlugin by Johnanater, version: {Version}");
}
protected override void Unload()
{
Instance = null;
}
public override TranslationList DefaultTranslations => new TranslationList
{
{"failed_to_get_assembly", "Failed to get assembly {0}!"},
{"successfully_loaded", "Successfully loaded {0}, version {1}!"},
{"reloaded_rocket", "Completely reloaded RocketMod! This may cause issues!"}
};
}
}