forked from Zamirathe/Uconomy_Essentials
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathUconomyEConfiguration.cs
60 lines (57 loc) · 1.89 KB
/
UconomyEConfiguration.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
using System.Collections.Generic;
using Rocket.API;
namespace ZaupUconomyEssentials
{
public class UconomyEConfiguration : IRocketPluginConfiguration
{
public bool PayTime;
public List<Group> PayGroups;
public int PayTimeSeconds;
public bool PayHit;
public float PayHitAmt;
public bool SendPayHitMsg;
public bool LoseSuicide;
public float LoseSuicideAmt;
public bool ExpExchange;
public float ExpExchangerate;
public bool MoneyExchange;
public float MoneyExchangerate;
public bool LoseMoneyOnDeath;
public float LoseMoneyOnDeathAmt;
public bool PayZombie;
public float PayZombieAmt;
public bool SendPayZombieMsg;
public bool PayMegaZombie;
public float PayMegaZombieAmt;
public bool SendPayMegaZombieMsg;
public void LoadDefaults()
{
PayTime = false;
PayGroups = new List<Group>
{
new Group {DisplayName = "all", Salary = 1.0m},
new Group {DisplayName = "admin", Salary = 5.0m},
new Group {DisplayName = "moderator", Salary = 4.0m},
new Group {DisplayName = "guest", Salary = 1.0m}
};
PayTimeSeconds = 900;
PayHit = false;
PayHitAmt = 1.0f;
SendPayHitMsg = true;
LoseSuicide = false;
LoseSuicideAmt = 1.0f;
ExpExchange = false;
ExpExchangerate = 0.5f;
MoneyExchange = false;
MoneyExchangerate = 0.5f;
LoseMoneyOnDeath = false;
LoseMoneyOnDeathAmt = 10.0f;
PayZombie = false;
PayZombieAmt = 0.5f;
SendPayZombieMsg = true;
PayMegaZombie = false;
PayMegaZombieAmt = 5.0f;
SendPayMegaZombieMsg = true;
}
}
}