-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathConfig.js
More file actions
161 lines (141 loc) · 4.57 KB
/
Copy pathConfig.js
File metadata and controls
161 lines (141 loc) · 4.57 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
import {
@ButtonProperty,
@CheckboxProperty,
Color,
@ColorProperty,
@PercentSliderProperty,
@SelectorProperty,
@SwitchProperty,
@TextProperty,
@Vigilant,
} from '../Vigilance/index.js';
@Vigilant('sbd', 'SBD Settings')
class Config {
@SwitchProperty({
name: 'Party Finder Stats',
description: 'Shows stats of players in Party Finder.',
category: 'Party Finder',
subcategory: 'Overlay',
})
partyfinder = true;
@SwitchProperty({
name: 'Show class level',
description: 'Shows the player\'s class level in party finder.',
category: 'Party Finder',
subcategory: 'Overlay',
})
partyfinderClassLevel = true;
@SwitchProperty({
name: 'Show cata level',
description: 'Shows the player\'s catacombs level in party finder.',
category: 'Party Finder',
subcategory: 'Overlay',
})
partyfinderCata = true;
@SwitchProperty({
name: 'Show total secrets',
description: 'Shows the player\'s total amount of secrets in party finder.',
category: 'Party Finder',
subcategory: 'Overlay',
})
partyfinderSecrets = true;
@SwitchProperty({
name: 'Show secret average',
description: 'Shows the player\'s secret average in party finder.',
category: 'Party Finder',
subcategory: 'Overlay',
})
partyfinderSecretAverage = true;
@SwitchProperty({
name: 'Show S+ PB',
description: 'Shows the player\'s fastest S+ time for the current floor in party finder.',
category: 'Party Finder',
subcategory: 'Overlay',
})
partyfinderF7PB = true;
@SwitchProperty({
name: 'Show missing classes',
description: 'Displays missing classes party finder.',
category: 'Party Finder',
subcategory: 'Overlay',
})
missingclasses = false;
@SwitchProperty({
name: 'Highlight selected class',
description: 'Highlight your own class in missing classes',
category: 'Party Finder',
subcategory: 'Overlay',
})
highlightClass = true;
@SwitchProperty({
name: 'Autokick',
description: 'Autokick players below certain requirements.',
category: 'Autokick',
subcategory: 'Autokick',
})
autokick = false;
@SelectorProperty({
name: 'Selected Floor',
description: 'Which floor\'s S+ PB should be checked.',
category: 'Autokick',
subcategory: 'Autokick',
options: [
"F7",
"M4",
"M5",
"M6",
"M7"
]
})
selectedfloor = 0;
@TextProperty({
name: 'Required S+ PB',
description: 'Time in seconds. Leave empty for no requirement.',
category: 'Autokick',
subcategory: 'Autokick',
placeholder: "no req"
})
requiredPB = "";
@TextProperty({
name: 'Required Secrets',
description: 'Required secrets (across all profiles). Leave empty for no requirement.',
category: 'Autokick',
subcategory: 'Autokick',
placeholder: "no req"
})
requiredSecrets = "";
@SwitchProperty({
name: 'Send kick message',
description: 'Sends a message in party chat before kicking.',
category: 'Autokick',
subcategory: 'Autokick',
})
kickmessage = false;
@SwitchProperty({
name: 'Track Solo Clears',
description: 'Track all of your solo clear times.',
category: 'Solo Clears',
subcategory: 'Solo Clears',
})
tracksoloclears = true;
constructor() {
this.initialize(this);
this.setCategoryDescription("Solo Clears",
`
Commands:
&e/topsoloclears <floor> <amount> &r- Shows your top solo clear times.
&e/soloclearstats <floor> &r- Shows your solo clear stats.
`)
this.addDependency("Show class level", "Party Finder Stats")
this.addDependency("Show total secrets", "Party Finder Stats")
this.addDependency("Show cata level", "Party Finder Stats")
this.addDependency("Show secret average", "Party Finder Stats")
this.addDependency("Show S+ PB", "Party Finder Stats")
this.addDependency("Highlight selected class", "Show missing classes")
this.addDependency("Selected Floor", "Autokick")
this.addDependency("Required S+ PB", "Autokick")
this.addDependency("Required Secrets", "Autokick")
this.addDependency("Send kick message", "Autokick")
}
}
export default new Config();