forked from RestoreMonarchyPlugins/MoreHomes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMoreHomesConfiguration.cs
43 lines (38 loc) · 1.37 KB
/
MoreHomesConfiguration.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
40
41
42
43
using RestoreMonarchy.MoreHomes.Utilities;
using Rocket.API;
using System.Collections.Generic;
namespace RestoreMonarchy.MoreHomes
{
public class MoreHomesConfiguration : IRocketPluginConfiguration
{
public string MessageColor { get; set; }
public double DefaultHomeCooldown { get; set; }
public float DefaultHomeDelay { get; set; }
public int DefaultMaxHomes { get; set; }
public List<VIPPermission> VIPCooldowns { get; set; }
public List<VIPPermission> VIPDelays { get; set; }
public List<VIPPermission> VIPMaxHomes { get; set; }
public void LoadDefaults()
{
MessageColor = "yellow";
DefaultHomeCooldown = 20;
DefaultHomeDelay = 10;
DefaultMaxHomes = 2;
VIPCooldowns = new List<VIPPermission>()
{
new VIPPermission("morehomes.vip", 10),
new VIPPermission("morehomes.star", 5)
};
VIPDelays = new List<VIPPermission>()
{
new VIPPermission("morehomes.vip", 5),
new VIPPermission("morehomes.star", 3)
};
VIPMaxHomes = new List<VIPPermission>()
{
new VIPPermission("morehomes.vip", 3),
new VIPPermission("morehomes.star", 4)
};
}
}
}