-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmod.json
More file actions
253 lines (251 loc) · 7.56 KB
/
mod.json
File metadata and controls
253 lines (251 loc) · 7.56 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
{
"Name": "Takyon.PlayerVote",
"Description": "Write !help in the console to get a list of commands. [!skip, !skip force, !rtv] [!kick name, !kick name force, !yes, !no] [!extend, !extend force] [!vote] [!rules, !sendrules], [!announce], [!msg name message] [!switch] [!balance, !balance force] [!ping]",
"LoadPriority": 0,
"RequiredOnClient": false,
"Version": "3.1.2",
"ConVars": [
{
"Name": "pv_admin_uids",
"DefaultValue": "" // list of UIDs who should have admin privileges to execute commands like !skip force, comma separated. To get UID: Let admin join priv match with sv_cheats 1 and execute // script print(GetPlayerArray()[0].GetUID())
},
{
"Name": "pv_servername",
"DefaultValue": "YOUR SERVER NAME" // change this to your servername
},
{
"Name": "pv_discord",
"DefaultValue": "YOUR SERVER DISCORD" // change this to your discord server. leave empty to disable !discord
},
{
"Name": "pv_display_hint_on_spawn_amount",
"DefaultValue": "3" // set this to the amount of spawns the hint to use !help should be displayed. 1 = only on dropship and first spawn, 2 on dropship, first and second spawn. To disable set to -1
},
{
"Name": "pv_help_enabled",
"DefaultValue": "1" // are users/admins able to execute !help, 0 = disabled, 1 = enabled
},
{
"Name": "pv_skip_enabled",
"DefaultValue": "1" // enable voteskip (!skip), 0 = disabled, 1 = enabled
},
{
"Name": "pv_skip_percentage",
"DefaultValue": "0.5" // percentage of players required to successfully skip the current map
},
{
"Name": "pv_kick_enabled",
"DefaultValue": "1" // are users/admins able to vote kick, 0 = disabled, 1 = enabled
},
{
"Name": "pv_kick_percentage",
"DefaultValue": "0.8" // percentage of players required to successfully kick
},
{
"Name": "pv_kick_min_players",
"DefaultValue": "5" // minimum required players online to kick a person. this should be kept high cause if there are only 3, 2 people are enough to kick
},
{
"Name": "pv_kick_save_players",
"DefaultValue": "1" // save kicked players to stop them from rejoining the same round, 0 = disabled, 1 = enabled
},
{
"Name": "pv_extend_vote_enabled",
"DefaultValue": "1" // are users/admins able to extend maptime, 0 = disabled, 1 = enabled
},
{
"Name": "pv_extend_percentage",
"DefaultValue": "0.5" // percentage of players required to successfully extend the current map
},
{
"Name": "pv_extend_map_multiple_times",
"DefaultValue": "1" // 0: map can only be extended once; 1: map can be extended indefinetly
},
{
"Name": "pv_extend_amount",
"DefaultValue": "5.0" // how much time should be added after successful !extend vote in minutes
},
{
"Name": "pv_rules_enabled",
"DefaultValue": "1" // 1: users can use !rules | 0: users cant use !rules
},
{
"Name": "pv_rules_admin_send_enabled",
"DefaultValue": "1" // 1: admins can send users the rules | 0: admins cant do that
},
{
"Name": "pv_rules_show_time",
"DefaultValue": "15" // for how many seconds the rules should be displayed when an admin sends them
},
{
"Name": "pv_message",
"DefaultValue": "1" // 1: admins can send messages | 0: admins cannot send messages
},
{
"Name": "pv_announce",
"DefaultValue": "1" // 1: admins can make announcements | 0: admins cannot make announcements
},
{
"Name": "pv_switch_enabled",
"DefaultValue": "1" // 1: users can use !switch | 0: users cant use !switch
},
{
"Name": "pv_switch_admin_switch_enabled",
"DefaultValue": "1"// 1: admins can switch users | 0: admins cant switch users
},
{
"Name": "pv_switch_max_player_diff",
"DefaultValue": "1" // how many more players one team can have over the other.
},
{
"Name": "pv_max_switches",
"DefaultValue": "4" // how many times a player can switch teams per match. should be kept low so players cant spam to get an advantage
},
{
"Name": "pv_ping_enabled",
"DefaultValue": "1" // 1: users can use !ping | 0: users cant use !ping
},
{
"Name": "pv_ping_average_time",
"DefaultValue": "2.0" // for how many seconds the ping should be measured to get an average. set 0.0 for current ping
},
{
"Name": "pv_balance_enabled",
"DefaultValue": "1" // 1: users can use !balance | 0: users cant use !balance
},
{
"Name": "pv_balance_at_map_end",
"DefaultValue": "0" // 1: shuffle teams by skill at end of map | 0: do not change teams at end of map
},
{
"Name": "pv_balance_percentage",
"DefaultValue": "0.5" // how many people are needed to pass the balance vote in percent
},
{
"Name": "pv_vote_map_enabled",
"DefaultValue": "1" // 1: users can use !vote | 0: users cant use !vote
},
{
"Name": "pv_map_time_frac",
"DefaultValue": "0.8" // when the vote is displayed. 0.5 would be halftime
},
{
"Name": "pv_map_map_propose_amount",
"DefaultValue": "6" // how many maps to propose. KEEP THIS LOWER THAN THE AMOUNT OF MAPS YOU HAVE IN pv_maps!!! 5 maps in pv_maps -> set this to 4 maximum
},
{
"Name": "pv_maps",
"DefaultValue": "mp_angel_city, mp_black_water_canal, mp_colony02, mp_drydock, mp_eden, mp_forwardbase_kodai, mp_glitch, mp_grave, mp_homestead, mp_lf_deck, mp_lf_meadow, mp_lf_stacks, mp_lf_township, mp_lf_traffic, mp_lf_uma, mp_relic02, mp_rise, mp_thaw, mp_wargames"
// below should be all maps, i wouldnt delete it :)
//"DefaultValue": "mp_angel_city, mp_black_water_canal, mp_coliseum, mp_coliseum_column, mp_colony02, mp_complex3, mp_crashsite3, mp_drydock, mp_eden, mp_forwardbase_kodai, mp_glitch, mp_grave, mp_homestead, mp_lf_deck, mp_lf_meadow, mp_lf_stacks, mp_lf_township, mp_lf_traffic, mp_lf_uma, mp_relic02, mp_rise, mp_thaw, mp_wargames"
},
{
"Name": "pv_welcome_enabled",
"DefaultValue": "1" // show welcome msg, 1: true | 0: false
}
],
"Scripts": [
{
"Path": "takyon_localization.nut",
"RunOn": "SERVER && MP"
},
{
"Path": "takyon_commands.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "CommandsInit"
}
},
{
"Path": "takyon_playervote.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "PlayerVoteInit"
}
},
{
"Path": "takyon_switch.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "SwitchInit"
}
},
{
"Path": "takyon_welcome.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "WelcomeInit"
}
},
{
"Path": "takyon_votemap.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "VoteMapInit"
}
},
{
"Path": "takyon_votebalance.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "BalanceInit"
}
},
{
"Path": "takyon_ping.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "PingInit"
}
},
{
"Path": "takyon_help.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "HelpInit"
}
},
{
"Path": "takyon_votekick.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "VoteKickInit"
}
},
{
"Path": "takyon_voteextend.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "VoteExtendInit"
}
},
{
"Path": "takyon_voteskip.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "VoteSkipInit"
}
},
{
"Path": "takyon_rules.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "RulesInit"
}
},
{
"Path": "takyon_message.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "MessageInit"
}
},
{
"Path": "takyon_announce.nut",
"RunOn": "SERVER && MP",
"ServerCallback": {
"After": "AnnounceInit"
}
}
]
}