forked from creepycats/SCPCosmetics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
104 lines (102 loc) · 4.34 KB
/
Config.cs
File metadata and controls
104 lines (102 loc) · 4.34 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
namespace SCPCosmetics.Config
{
using Exiled.API.Interfaces;
using SCPCosmetics.Types;
using System.Collections.Generic;
using System.ComponentModel;
using UnityEngine;
public class Config : IConfig
{
// Required Config
/// <summary>
/// Will the plugin run?
/// </summary>
public bool IsEnabled { get; set; } = true;
/// <summary>
/// Will the plugin print Debug Text?
/// </summary>
public bool Debug { get; set; } = false;
/// <summary>
/// Will players be able to wear hats?
/// </summary>
[Description("Will players be able to wear hats?")]
public bool EnableHats { get; set; } = true;
/// <summary>
/// Will hats be deleted when players die?
/// </summary>
[Description("Will hats be deleted when players die?")]
public bool RemoveHatsOnDeath { get; set; } = true;
/// <summary>
/// Will players be able to use MapEditorReborn schematics as hats?
/// </summary>
[Description("Will players be able to use MapEditorReborn schematics as hats?")]
public bool SchematicHats { get; set; } = false;
/// <summary>
/// List of Schematic Hats
/// </summary>
[Description("List of Schematic Hats")]
public Dictionary<string, SchematicHatConfig> SchematicHatList { get; set; } = new Dictionary<string, SchematicHatConfig>()
{
["example"] = new SchematicHatConfig()
{
RequiredPermissions = new List<string>() { "scpcosmetics.test" }
}
};
/// <summary>
/// Will players be able to spawn pets?
/// </summary>
[Description("Will players be able to spawn pets?")]
public bool EnablePets { get; set; } = true;
/// <summary>
/// Set the scale of Pets for your server.
/// </summary>
[Description("Set the scale of Pets for your server.")]
public Vector3 PetScale { get; set; } = new Vector3(0.5f, 0.5f, 0.5f);
/// <summary>
/// Will pets mirror their owners' class? RECOMMENDED: True - Prevents SCP-096 and SCP-173 issues
/// </summary>
[Description("Will pets mirror their owners' class? RECOMMENDED: True - Prevents SCP-096 and SCP-173 issues")]
public bool PetsMirrorClass { get; set; } = true;
/// <summary>
/// Will pets mirror their owners' class? RECOMMENDED: True - Prevents SCP-096 and SCP-173 issues
/// </summary>
[Description("Will players be able to change their pet's class? RECOMMENDED: False - Prevents SCP-096 and SCP-173 issues")]
public bool PetClassCommandEnabled { get; set; } = false;
/// <summary>
/// Will players be able to name their pets?
/// </summary>
[Description("Will players be able to name their pets?")]
public bool NamePets { get; set; } = true;
/// <summary>
/// Will players be able to give their pet an item to hold?
/// </summary>
[Description("Will players be able to give their pet an item to hold?")]
public bool PetsCanHoldItems { get; set; } = true;
/// <summary>
/// Will players be able to use MapEditorReborn schematics as pet models?
/// </summary>
[Description("Will players be able to use MapEditorReborn schematics as pet models?")]
public bool SchematicPets { get; set; } = false;
/// <summary>
/// List of Schematic Pet Models
/// </summary>
[Description("List of Schematic Pet Models")]
public Dictionary<string, SchematicPetConfig> SchematicPetList { get; set; } = new Dictionary<string, SchematicPetConfig>()
{
["example"] = new SchematicPetConfig()
{
RequiredPermissions = new List<string>() { "scpcosmetics.test" }
}
};
/// <summary>
/// Will players be able to wear Glows?
/// </summary>
[Description("Will players be able to wear Glows?")]
public bool EnableGlows { get; set; } = true;
/// <summary>
/// Will glows be deleted when players die?
/// </summary>
[Description("Will glows be deleted when players die?")]
public bool RemoveGlowsOnDeath { get; set; } = true;
}
}