-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConfiguration.cs
More file actions
29 lines (28 loc) · 811 Bytes
/
Configuration.cs
File metadata and controls
29 lines (28 loc) · 811 Bytes
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
using Rocket.API;
namespace Kill4XP
{
public class Configuration : IRocketPluginConfiguration
{
public uint Skull_XP, Arm_XP, Leg_XP, Body_XP, Foot_XP, Spine_XP, Front_XP, Back_XP;
public bool ConsoleMsgEnabled, PlayerMsgEnabled;
public float plrMsg_r, plrMsg_g, plrMsg_b;
public string consoleMsgColor;
public void LoadDefaults()
{
Skull_XP = 75;
Arm_XP = 30;
Leg_XP = 20;
Body_XP = 50;
Foot_XP = 10;
Spine_XP = 40;
Front_XP = 20;
Back_XP = 20;
ConsoleMsgEnabled = true;
PlayerMsgEnabled = true;
plrMsg_r = 255;
plrMsg_g = 0;
plrMsg_b = 0;
consoleMsgColor = "red";
}
}
}