-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMain.cs
More file actions
46 lines (39 loc) · 1.14 KB
/
Main.cs
File metadata and controls
46 lines (39 loc) · 1.14 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
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rocket.Core.Plugins;
using Rocket.Unturned.Chat;
using System.Threading;
using System.Xml.Linq;
using System.Globalization;
using Rocket.API.Collections;
using SDG.Unturned;
using Rocket.Core.Commands;
namespace Countdown
{
public class Main : RocketPlugin<Config>
{
public static Main Instance;
public List<DateTime> EventTime;
protected override void Load()
{
Instance = this;
base.Load();
Rocket.Core.Logging.Logger.Log("Event Counter Loaded");
}
public override TranslationList DefaultTranslations
{
get
{
return new TranslationList
{
{ "noevents", "There are no current events!"},
{ "time", "{0} is set for the {1} at {2}:{3}{4}" },
{ "daysleft", "{0} is happening in {1} days and {2} hour(s)" },
{ "dayleft", "{0} is happening in {1} day and {2} hour(s)" },
};
}
}
}
}