forked from fvnknoots/fvnknoots.ServerMod
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmod.json
544 lines (457 loc) · 14.7 KB
/
mod.json
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
{
"Name": "fvnknoots.ServerMod",
"Description": "fvnkhead's server mod",
"Version": "1.0.0",
"LoadPriority": 3,
"RequiredOnClient": false,
"ConVars": [
// 1 = print debug messages
{
"Name": "fm_debug_enabled",
"DefaultValue": "1"
},
// list of admin UIDs separated by commas ,
{
"Name": "fm_admin_uids",
"DefaultValue": "1234,5678"
},
// 1 = require admins to type !auth <password>
{
"Name": "fm_admin_auth_enabled",
"DefaultValue": "1"
},
// admin password for !auth
{
"Name": "fm_admin_password",
"DefaultValue": "1234"
},
// block admin chat messages until they've !authed successfully
// (to prevent impersonating by spoofs)
{
"Name": "fm_admin_auth_unauth_chat_block",
"DefaultValue": "1"
},
// 1 = notify players when an admin joins
{
"Name": "fm_admin_join_notification",
"DefaultValue": "1"
},
// 1 = show welcome message
{
"Name": "fm_welcome_enabled",
"DefaultValue": "1"
},
// welcome message
{
"Name": "fm_welcome",
"DefaultValue": "welcome! see !help for available commands"
},
// welcome notes
// can have multiple notes if separated by '|' letter, like
// "note 1|note 2|note 3"
{
"Name": "fm_welcome_notes",
"DefaultValue": "chat commands sometimes don't work when you're dead"
},
//--------------------------------------------------------------------------------
// user commands
//--------------------------------------------------------------------------------
// 1 = enable !rules
{
"Name": "fm_rules_enabled",
"DefaultValue": "1"
},
// allowed rules
{
"Name": "fm_rules_ok",
"DefaultValue": "light banter, teasing, funny macros"
},
// disallowed rules
{
"Name": "fm_rules_not_ok",
"DefaultValue": "malicious speech, degeneracy, cheating, competitive macros"
},
// 1 = add custom commands
{
"Name": "fm_custom_commands_enabled",
"DefaultValue": "1"
},
// list of custom commands that print a string to the player using it
// format: "!command1=message1|!command2=message2|!command3=message3|..."
{
"Name": "fm_custom_commands",
"DefaultValue": "!discord=my_discord_link|!website=my_website"
},
// 1 = !kick enabled
{
"Name": "fm_kick_enabled",
"DefaultValue": "1"
},
// 1 = prevent kicked players from re-joining during the match
{
"Name": "fm_kick_save",
"DefaultValue": "1"
},
// 0.5 = 50% players required to !kick for it to happen
{
"Name": "fm_kick_percentage",
"DefaultValue": "0.5"
},
// minimum players required for !kick
{
"Name": "fm_kick_min_players",
"DefaultValue": "5"
},
// 1 = !maps enabled
{
"Name": "fm_maps_enabled",
"DefaultValue": "1"
},
// map pool for both auto-rotation and voting
{
"Name": "fm_maps",
"DefaultValue": "mp_glitch,mp_angel_city,mp_eden,mp_wargames,mp_drydock,mp_colony02,mp_black_water_canal,mp_thaw,mp_grave,mp_forwardbase_kodai,mp_complex3,mp_homestead,mp_relic02,mp_rise,mp_crashsite3"
},
// 0 = linear map rotation
// 1 = random map rotation
{
"Name": "fm_map_rotation",
"DefaultValue": "0"
},
// 1 = !nextmap enabled
{
"Name": "fm_nextmap_enabled",
"DefaultValue": "1"
},
// maps not in normal rotation, only by !nextmap voting
{
"Name": "fm_nextmap_only_maps",
"DefaultValue": "mp_lf_stacks,mp_lf_deck,mp_lf_township,mp_lf_uma,mp_lf_meadow,mp_lf_traffic"
},
// allow voting for nextmap-only maps only if player count is equal or less than this
// this prevents voting for small maps if you have lots of players
// set to 0 or negative to disable
{
"Name": "fm_nextmap_only_maps_max_players",
"DefaultValue": "0"
},
// 1 = show a hint to use !nextmap during the match
{
"Name": "fm_nextmap_hint_enabled",
"DefaultValue": "1"
},
// 0 = don't allow re-voting for the map being played
{
"Name": "fm_nextmap_repeat_enabled",
"DefaultValue": "0"
},
// 1 = !switch enabled
{
"Name": "fm_switch_enabled",
"DefaultValue": "1"
},
// how many players less does the other team need to have in order to !switch there
{
"Name": "fm_switch_diff",
"DefaultValue": "1"
},
// how many times can a player use !switch
{
"Name": "fm_switch_limit",
"DefaultValue": "3"
},
// 1 = put newly players on weaker team if team sizes are equal
{
"Name": "fm_balance_on_join",
"DefaultValue": "1"
},
// 1 = !teambalance enabled
{
"Name": "fm_balance_enabled",
"DefaultValue": "1"
},
// 35% players required for a !teambalance vote to pass
{
"Name": "fm_balance_percentage",
"DefaultValue": "0.35"
},
// minimum players in-game before !teambalance can be used
{
"Name": "fm_balance_min_players",
"DefaultValue": "3"
},
// 1 = auto !teambalance enabled (PvP only)
// runs only if player count is equal or greater than fm_balance_min_players
{
"Name": "fm_pvp_rebalance_enabled",
"DefaultValue": "1"
},
// sum of both teams' scores in PvP before auto !teambalance can run
{
"Name": "fm_pvp_rebalance_min_score_sum",
"DefaultValue": "100"
},
// weaker team's score percentage (compared to sum) before auto !teambalance can run
// eg. if weaker team has 30 kills and stronger one has 70 kills,
// then 30% < 35% => !teambalance kicks in
{
"Name": "fm_pvp_rebalance_score_percentage",
"DefaultValue": "0.35"
},
// duration (in minutes) before another auto !teambalance can run
// this avoids a balance loop if it's not possible to maintain equal scores
// (eg. if one veteran has 90% of all the kills)
{
"Name": "fm_pvp_rebalance_pause_minutes",
"DefaultValue": "10"
},
// 1 = balance teams at end of game
{
"Name": "fm_balance_postmatch",
"DefaultValue": "1"
},
// 1 = enable autobalance
{
"Name": "fm_autobalance_enabled",
"DefaultValue": "1"
},
// team size difference before autobalance kick in
// this should be higher than fm_switch_diff
// eg. with 2, autobalance will occur at 5v3, for example
{
"Name": "fm_autobalance_diff",
"DefaultValue": "2"
},
// 1 = !extend enabled
{
"Name": "fm_extend_enabled",
"DefaultValue": "1"
},
// 50% players required for !extend to pass
{
"Name": "fm_extend_percentage",
"DefaultValue": "0.5"
},
// how many minutes to add to the game after !extend
{
"Name": "fm_extend_minutes",
"DefaultValue": "10"
},
// 1 = !skip enabled
{
"Name": "fm_skip_enabled",
"DefaultValue": "1"
},
// 50% players required for !skip to pass
{
"Name": "fm_skip_percentage",
"DefaultValue": "0.5"
},
// 1 = !stats enabled
{
"Name": "fm_stats_enabled",
"DefaultValue": "1"
},
// Nutone API host
{
"Name": "fm_stats_host",
"DefaultValue": "nutone.okudai.dev"
},
{
"Name": "nutone_server_id",
"DefaultValue": ""
},
// 1 = !hp enabled
{
"Name": "fm_hp_enabled",
"DefaultValue": "1"
},
// 1 = !roll enabled
{
"Name": "fm_roll_enabled",
"DefaultValue": "1"
},
// max !roll commands per player
{
"Name": "fm_roll_limit",
"DefaultValue": "3"
},
//--------------------------------------------------------------------------------
// admin commands
//--------------------------------------------------------------------------------
// 1 = !mute enabled
{
"Name": "fm_mute_enabled",
"DefaultValue": "1"
},
// 1 = re-mute a muted player if they re-join during the match
{
"Name": "fm_mute_save",
"DefaultValue": "1"
},
// 1 = !lockdown enabled (prevents new players from joining during the match)
{
"Name": "fm_lockdown_enabled",
"DefaultValue": "1"
},
// 1 = !yell enabled (shows big text to everyone)
{
"Name": "fm_yell_enabled",
"DefaultValue": "1"
},
// 1 = !slay enabled (kills a player)
{
"Name": "fm_slay_enabled",
"DefaultValue": "1"
},
// 1 = !freeze enabled (stops a player from moving)
{
"Name": "fm_freeze_enabled",
"DefaultValue": "1"
},
// 1 = !stim enabled (gives perma stim)
{
"Name": "fm_stim_enabled",
"DefaultValue": "1"
},
// 1 = !salvo enabled (gives salvo core)
{
"Name": "fm_salvo_enabled",
"DefaultValue": "1"
},
// 1 = !tank enabled (gives lots of HP)
{
"Name": "fm_tank_enabled",
"DefaultValue": "1"
},
// 1 = !fly enabled (gives noclip)
{
"Name": "fm_fly_enabled",
"DefaultValue": "1"
},
// 1 = !mrvn enabled (spawns marvins around the map)
{
"Name": "fm_mrvn_enabled",
"DefaultValue": "1"
},
// 1 = !grunt enabled (spawns a grunt at player)
{
"Name": "fm_grunt_enabled",
"DefaultValue": "1"
},
// 1 = !chaos enabled (spawns random NPCs)
{
"Name": "fm_chaos_enabled",
"DefaultValue": "0"
},
// RUI test
{
"Name": "fm_rui_enabled",
"DefaultValue": "1"
},
//--------------------------------------------------------------------------------
// player experience
//--------------------------------------------------------------------------------
// 1 = killstreaks enabled
{
"Name": "fm_killstreak_enabled",
"DefaultValue": "1"
},
// 10 = show killstreak message at every 10 kills (10, 20, 30, ...)
{
"Name": "fm_killstreak_increment",
"DefaultValue": "10"
},
// announce when someone falls to death
{
"Name": "fm_joke_pitfalls_enabled",
"DefaultValue": "1"
},
// announce when someone kills a marvin
{
"Name": "fm_joke_marvin_enabled",
"DefaultValue": "1"
},
// announce when someone kills a drone
{
"Name": "fm_joke_drone_enabled",
"DefaultValue": "1"
},
// announce when someone kills with phase
{
"Name": "fm_joke_kills_enabled",
"DefaultValue": "1"
},
// replace ezfragz (cheating website) with rick roll URL
{
"Name": "fm_joke_ezfrags_enabled",
"DefaultValue": "1"
},
//--------------------------------------------------------------------------------
// misc
//--------------------------------------------------------------------------------
// 1 = anti-chat spam enabled (kicks the player if they go over)
{
"Name": "fm_antispam_enabled",
"DefaultValue": "1"
},
// 10 second period for checking spam
{
"Name": "fm_antispam_period",
"DefaultValue": "10"
},
// 10 messages max per period above
{
"Name": "fm_antispam_limit",
"DefaultValue": "10"
},
// 1 = allow player mentions in chat
// eg. @fv would result into @fvnkhead if I'm in-game
{
"Name": "fm_chat_mention_enabled",
"DefaultValue": "1"
},
//--------------------------------------------------------------------------------
// integrations
//--------------------------------------------------------------------------------
// 1 = adds retouched commands (!summary, !goals, !car, ...) if the mod is loaded
{
"Name": "fm_retouched_enabled",
"DefaultValue": "1"
},
// same as above but for the experimental balance mod
{
"Name": "fm_experimental_enabled",
"DefaultValue": "0"
},
//--------------------------------------------------------------------------------
// fd difficulty
//--------------------------------------------------------------------------------
{
"Name": "fm_fd_difficulty",
"DefaultValue": ""
}
],
"Scripts": [
{
"Path": "fm.nut",
"RunOn": "SERVER",
"ServerCallback": {
"After": "fm_Init"
}
}
],
"Dependencies": {
// kicks players by their IP network if included
"NETLIB": "fvnkhead.NetLib",
// adds weapon balance commands if included
"RETOUCHED": "fvnknoots.Retouched",
"EXPERIMENTAL": "fvnknoots.Experimental",
// adds !gym if included
"GYMMODE": "fvnknoots.GymMode",
// adds !pure if included
"PUREMODE": "fvnknoots.PureMode",
// mirror city map vote
"MIRRORCITY": "cat_or_not.mp_mirror_city"
}
}