-
Notifications
You must be signed in to change notification settings - Fork 2
/
UI_Config.json
589 lines (589 loc) · 20.6 KB
/
UI_Config.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
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
{
"output_file": "settings.json",
"OnlyLive": {
"type": "checkbox",
"value": false,
"label": "Only when live",
"tooltip": "Commands are only active when stream is live",
"group": "General"
},
"QueueOpen": {
"type": "checkbox",
"value": true,
"label": "Queue open",
"tooltip": "Add level command is only active when queue is open",
"group": "General"
},
"command_info": {
"type": "textbox",
"value": "!smm2lqs",
"label": "Command Name (Info)",
"tooltip": "Command to get info about SMM2 Level Queue Bot",
"group": "General"
},
"command_add": {
"type": "textbox",
"value": "!add",
"label": "Command Name (Add level)",
"tooltip": "Command to add a level to queue",
"group": "General"
},
"command_list": {
"type": "textbox",
"value": "!list",
"label": "Command Name (Levels list)",
"tooltip": "Command to list all levels in queue",
"group": "General"
},
"command_position": {
"type": "textbox",
"value": "!position",
"label": "Command Name (Position on list)",
"tooltip": "Command to show all the queue positions the user has levels in",
"group": "General"
},
"command_current_level": {
"type": "textbox",
"value": "!level",
"label": "Command Name (Current level)",
"tooltip": "Command to show current level being played, if any",
"group": "General"
},
"command_next_level": {
"type": "textbox",
"value": "!nextlevel",
"label": "Command Name (Next level)",
"tooltip": "Command to show next level in queue, if any",
"group": "General"
},
"command_queue_open": {
"type": "textbox",
"value": "!queueopen",
"label": "Command Name (Open Queue)",
"tooltip": "Command to open queue",
"group": "Advanced Permission Commands"
},
"command_queue_close": {
"type": "textbox",
"value": "!queueclose",
"label": "Command Name (Close Queue)",
"tooltip": "Command to close queue",
"group": "Advanced Permission Commands"
},
"command_win_level": {
"type": "textbox",
"value": "!winlevel",
"label": "Command Name (Win level)",
"tooltip": "Command to jump to next level adding a win to the counter",
"group": "Advanced Permission Commands"
},
"command_skip_level": {
"type": "textbox",
"value": "!skiplevel",
"label": "Command Name (Skip level)",
"tooltip": "Command to jump to next level adding a skip to counter",
"group": "Advanced Permission Commands"
},
"command_delete_level": {
"type": "textbox",
"value": "!deletelevel",
"label": "Command Name (Delete level)",
"tooltip": "Command to jump to next level without modifying scores",
"group": "Advanced Permission Commands"
},
"command_refresh_overlay": {
"type": "textbox",
"value": "!refreshlevels",
"label": "Command Name (Refresh Overlay)",
"tooltip": "Command to force overlay refresh",
"group": "Advanced Permission Commands"
},
"PermissionBase": {
"type": "dropdown",
"value": "Everyone",
"items": ["Everyone","Regular","Subscriber","GameWisp Subscriber","User_Specific","Min_Rank","Min_Points","Min_Hours","Moderator","Editor","Caster"],
"label": "Permission level (Basic commands)",
"tooltip": "Set the permission level for add, list, currentlevel, nextlevel, etc.",
"group": "Permissions"
},
"PermissionInfoBase": {
"type": "textbox",
"value": "",
"label": "Permission level info (Basic commands)",
"tooltip": "Set the user, rank or tier for base permission",
"group": "Permissions"
},
"PermissionAdvanced": {
"type": "dropdown",
"value": "Moderator",
"items": ["Everyone","Regular","Subscriber","GameWisp Subscriber","User_Specific","Min_Rank","Min_Points","Min_Hours","Moderator","Editor","Caster"],
"label": "Permission level (Adv. commands)",
"tooltip": "Set the permission level for win or skip commands",
"group": "Permissions"
},
"PermissionInfoAdvanced": {
"type": "textbox",
"value": "",
"label": "Permission level info (Adv. commands)",
"tooltip": "Set the user, rank or tier for advanced permission",
"group": "Permissions"
},
"Usage": {
"type": "dropdown",
"value": "Stream Chat",
"items": ["Stream Chat","Stream Whisper","Stream Both","Discord Chat","Discord Whisper","Discord Both","Chat Both","Whisper Both","All"],
"label": "Usage",
"tooltip": "Usage for where the script can be used!",
"group": "Permissions"
},
"omit_duplicated_levels": {
"type": "checkbox",
"value": true,
"label": "Omit duplicated levels",
"tooltip": "Omit levels that are currently on queue",
"group": "Limits & Cooldowns"
},
"OnDuplicatedLevel": {
"type": "textbox",
"value": "@{0} Level {1} is already on queue. Duplicated levels are omitted",
"label": "Duplicated level specified response",
"tooltip": "The message the bot will display when trying to add a duplicated level to queue. \r\n {0} = user \r\n {1} = level code",
"group": "Limits & Cooldowns"
},
"is_queue_limited": {
"type": "checkbox",
"value": false,
"label": "Enable queue limit",
"tooltip": "Use max levels parameter to limit max levels queued",
"group": "Limits & Cooldowns"
},
"queue_length": {
"type": "numberbox",
"value": "25",
"label": "Max levels on queue",
"tooltip": "Max levels number that can exist in queue",
"group": "Limits & Cooldowns"
},
"OnQueueLimitReached": {
"type": "textbox",
"value": "@{0} Level queue is full (Max {1} levels). Wait till a slot is free to add your level",
"label": "Queue limit reached response",
"tooltip": "The message the bot will display when the queue limit is reached. \r\n {0} = user \r\n {1} = queue length",
"group": "Limits & Cooldowns"
},
"is_user_limited": {
"type": "checkbox",
"value": false,
"label": "Enable user limit",
"tooltip": "Use max levels by user parameter to limit user",
"group": "Limits & Cooldowns"
},
"max_levels_by_user": {
"type": "numberbox",
"value": "3",
"label": "Max levels by user",
"tooltip": "Max levels number that can exist in queue",
"group": "Limits & Cooldowns"
},
"OnMaxLevelsByUserReached": {
"type": "textbox",
"value": "@{0} You have reached max levels by user ({1}), wait till one of your levels is completed to add another one",
"label": "User Max levels reached response",
"tooltip": "The message the bot will display when max levels by user is reached. \r\n {0} = user \r\n {1} = max levels by user",
"group": "Limits & Cooldowns"
},
"UseCD": {
"type": "checkbox",
"value": false,
"label": "Enable Cooldowns",
"tooltip": "Enable/Disable cooldown + messages",
"group": "Limits & Cooldowns"
},
"CasterCD": {
"type": "checkbox",
"value": true,
"label": "Caster ignores cooldown",
"tooltip": "Enable/Disable cooldown for caster",
"group": "Limits & Cooldowns"
},
"CooldownInfo": {
"type": "numberbox",
"label": "Info Global Cooldown (seconds)",
"value": 0,
"tooltip": "Cooldown in seconds for info command.",
"group": "Limits & Cooldowns"
},
"UserCooldownInfo": {
"type": "numberbox",
"label": "Info User Cooldown (seconds)",
"value": 3,
"tooltip": "User cooldown in seconds for info command.",
"group": "Limits & Cooldowns"
},
"CooldownAdd": {
"type": "numberbox",
"label": "Add Global Cooldown (seconds)",
"value": 0,
"tooltip": "Cooldown in seconds for Add level command.",
"group": "Limits & Cooldowns"
},
"UserCooldownAdd": {
"type": "numberbox",
"label": "Add User Cooldown (seconds)",
"value": 3,
"tooltip": "User cooldown in seconds for Add level command.",
"group": "Limits & Cooldowns"
},
"CooldownList": {
"type": "numberbox",
"label": "List Global Cooldown (seconds)",
"value": 10,
"tooltip": "Cooldown in seconds for List command.",
"group": "Limits & Cooldowns"
},
"UserCooldownList": {
"type": "numberbox",
"label": "List User Cooldown (seconds)",
"value": 10,
"tooltip": "User cooldown in seconds for List command.",
"group": "Limits & Cooldowns"
},
"CooldownPosition": {
"type": "numberbox",
"label": "Position Global Cooldown (seconds)",
"value": 0,
"tooltip": "Cooldown in seconds for Position command.",
"group": "Limits & Cooldowns"
},
"UserCooldownPosition": {
"type": "numberbox",
"label": "Position User Cooldown (seconds)",
"value": 10,
"tooltip": "User cooldown in seconds for Position command.",
"group": "Limits & Cooldowns"
},
"CooldownCurrentLevel": {
"type": "numberbox",
"label": "Current Level Global Cooldown (seconds)",
"value": 3,
"tooltip": "Cooldown in seconds for Current Level command.",
"group": "Limits & Cooldowns"
},
"UserCooldownCurrentLevel": {
"type": "numberbox",
"label": "Current Level User Cooldown (seconds)",
"value": 3,
"tooltip": "User cooldown in seconds for Current Level command.",
"group": "Limits & Cooldowns"
},
"CooldownNextLevel": {
"type": "numberbox",
"label": "Next Level Global Cooldown (seconds)",
"value": 3,
"tooltip": "Cooldown in seconds for Next Level command.",
"group": "Limits & Cooldowns"
},
"UserCooldownNextLevel": {
"type": "numberbox",
"label": "Next Level User Cooldown (seconds)",
"value": 3,
"tooltip": "User cooldown in seconds for Next Level command.",
"group": "Limits & Cooldowns"
},
"CooldownWinLevel": {
"type": "numberbox",
"label": "Win Level Global Cooldown (seconds)",
"value": 2,
"tooltip": "Cooldown in seconds for Win Level command.",
"group": "Limits & Cooldowns"
},
"UserCooldownWinLevel": {
"type": "numberbox",
"label": "Win Level User Cooldown (seconds)",
"value": 2,
"tooltip": "User cooldown in seconds for Win Level command.",
"group": "Limits & Cooldowns"
},
"CooldownSkipLevel": {
"type": "numberbox",
"label": "Skip Level Global Cooldown (seconds)",
"value": 2,
"tooltip": "Cooldown in seconds for Skip Level command.",
"group": "Limits & Cooldowns"
},
"UserCooldownSkipLevel": {
"type": "numberbox",
"label": "Skip Level User Cooldown (seconds)",
"value": 2,
"tooltip": "User cooldown in seconds for Skip Level command.",
"group": "Limits & Cooldowns"
},
"CooldownDeleteLevel": {
"type": "numberbox",
"label": "Delete Level Global Cooldown (seconds)",
"value": 2,
"tooltip": "Cooldown in seconds for Delete Level command.",
"group": "Limits & Cooldowns"
},
"UserCooldownDeleteLevel": {
"type": "numberbox",
"label": "Delete Level User Cooldown (seconds)",
"value": 2,
"tooltip": "User cooldown in seconds for Delete Level command.",
"group": "Limits & Cooldowns"
},
"CooldownRefreshOverlay": {
"type": "numberbox",
"label": "Refresh Overlay Global Cooldown (seconds)",
"value": 2,
"tooltip": "Cooldown in seconds for Refresh Overlay command.",
"group": "Limits & Cooldowns"
},
"UserCooldownRefreshOverlay": {
"type": "numberbox",
"label": "Refresh Overlay User Cooldown (seconds)",
"value": 2,
"tooltip": "User cooldown in seconds for Refresh Overlay command.",
"group": "Limits & Cooldowns"
},
"OnCooldown": {
"type": "textbox",
"value": "@{0} the command {1} is still on cooldown for {2} seconds!",
"label": "Global Cooldown Response",
"tooltip": "The message that the bot will display when the command is on cooldown. \r\n {0} = user \r\n {1} = command \r\n {2} = remaining seconds",
"group": "Limits & Cooldowns"
},
"OnUserCooldown": {
"type": "textbox",
"value": "@{0} the command {1} is still on user cooldown for {2} seconds!",
"label": "User Cooldown Response",
"tooltip": "The message that the bot will display when the command is on user cooldown. \r\n {0} = user \r\n {1} = time remaining",
"group": "Limits & Cooldowns"
},
"BtnRestoreAndTranslateResponsesENG": {
"type": "button",
"label": "Restore default responses (English)",
"tooltip": "Restore default responses translated to English (Default)",
"function": "RestoreAndTranslateDefaultResponsesENG",
"wsevent": "",
"group": "Responses"
},
"BtnRestoreAndTranslateResponsesESP": {
"type": "button",
"label": "Restaura las respuestas por defecto (Español)",
"tooltip": "Restaura las respuestas por defecto traducidas al Español",
"function": "RestoreAndTranslateDefaultResponsesESP",
"wsevent": "",
"group": "Responses"
},
"RespInfo": {
"type": "textbox",
"value": "{0} <code> (XXX-YYY-ZZZ format, alphanumeric characters excluding I, O) to add a level to queue. {1}, {2}, {3} or {4} for info",
"label": "Info response",
"tooltip": "Message sent when commands info is required. \r\n {0} = add level command \r\n {1} = current level command \r\n {2} = next level command \r\n {3} = list levels command \r\n {4} = position command",
"group": "Responses"
},
"RespQueueOpened": {
"type": "textbox",
"value": "Level queue is now open! Use {0} to add levels to queue",
"label": "Queue opened response",
"tooltip": "Message sent when queue is open. \r\n {0} = add level command",
"group": "Responses"
},
"RespQueueClosed": {
"type": "textbox",
"value": "Level queue closed! Wait till a mod open the queue again to add your level",
"label": "Queue closed response",
"tooltip": "Message sent when queue is closed",
"group": "Responses"
},
"RespLevelAdded": {
"type": "textbox",
"value": "@{0} added level {1} to queue on position [{2}]",
"label": "Level added response",
"tooltip": "Message sent when user adds a level succesfully. \r\n {0} = user \r\n {1} = level code \r\n {2} = queue position",
"group": "Responses"
},
"RespErrorLevelAdd": {
"type": "textbox",
"value": "System error adding level to queue, call a mod",
"label": "Level add error response",
"tooltip": "Message sent when bot fails to add a level to the queue",
"group": "Responses"
},
"RespWrongLevelCodeFormat": {
"type": "textbox",
"value": "Código de nivel incorrecto, el formato debe coincidir con XXX-YYY-ZZZ, caracteres alfanuméricos sin símbolos ni las letras I, O",
"label": "Wrong level code format error response",
"tooltip": "Message sent when user inputs a wrong formatted level code",
"group": "Responses"
},
"RespCurrentLevelRequested": {
"type": "textbox",
"value": "@{0} Level currently played is {1}",
"label": "Current level response",
"tooltip": "Message sent when user request current level info",
"group": "Responses"
},
"RespNextLevelRequested": {
"type": "textbox",
"value": "@{0} Next level on queue is {1}",
"label": "Next level response on request",
"tooltip": "Message sent when user request next level info",
"group": "Responses"
},
"RespNoLevelsOnQueue": {
"type": "textbox",
"value": "No levels on queue, add yours using {0}",
"label": "No levels on queue response",
"tooltip": "Message sent when any command tries to read the queue and it's empty. \r\n {0} = add level command",
"group": "Responses"
},
"RespErrorReadingQueue": {
"type": "textbox",
"value": "Error reading queue file, call a mod",
"label": "Error reading queue file response",
"tooltip": "Message sent when bot fails to read queue file",
"group": "Responses"
},
"RespErrorModifyingQueue": {
"type": "textbox",
"value": "Error updating queue file, call a mod",
"label": "Error updating queue file response",
"tooltip": "Message sent when bot fails to write queue file",
"group": "Responses"
},
"RespUserLevelPositions": {
"type": "textbox",
"value": "@{0} you have levels on positions {1}",
"label": "User level positions on queue response",
"tooltip": "Message sent when user invokes !position command. \r\n {0} = user \r\n {1} = positions",
"group": "Responses"
},
"RespUserLevelPositionsNoLevels": {
"type": "textbox",
"value": "@{0} you have no levels on queue",
"label": "User level positions no levels on queue response",
"tooltip": "Message sent when user invokes !position command, but has no levels on queue. \r\n {0} = user",
"group": "Responses"
},
"RespLevelFinishedWin": {
"type": "textbox",
"value": "Level completed!",
"label": "Part of the level finished response",
"tooltip": "Win level message. Part of the message sent when mods win or skip levels",
"group": "Responses"
},
"RespLevelFinishedSkip": {
"type": "textbox",
"value": "Level skipped.",
"label": "Part of the level finished response",
"tooltip": "Skip level message. Part of the message sent when mods win or skip levels",
"group": "Responses"
},
"RespLevelFinishedDelete": {
"type": "textbox",
"value": "Level deleted.",
"label": "Part of the level finished response",
"tooltip": "Delete level message. Part of the message sent when mods delete levels from list",
"group": "Responses"
},
"RespNextLevel": {
"type": "textbox",
"value": "Next level is {0}",
"label": "Next level on level finished response",
"tooltip": "Message sent when next level info is required \r\n {0} = next level",
"group": "Responses"
},
"RespNoMoreLevels": {
"type": "textbox",
"value": "No more levels on queue. Add your level using {0}",
"label": "No more levels on level finished response",
"tooltip": "Message sent when next level info is required and there are no more levels \r\n {0} = add command",
"group": "Responses"
},
"RespOverlayUpdated": {
"type": "textbox",
"value": "Here we go! Levels Overlay updated",
"label": "Overlay updated response",
"tooltip": "Message sent when a mod succesfully updates the levels overlay",
"group": "Responses"
},
"RespErrorOverlayUpdate": {
"type": "textbox",
"value": "Error updating overlay. Call a staff member",
"label": "Overlay update error response",
"tooltip": "Message sent when the bot fails to update the levels overlay",
"group": "Responses"
},
"RespPermissionBase": {
"type": "textbox",
"value": "$user -> Only $permissionbase ($permissioninfobase) or higher can use this command",
"label": "Base Permissions denied response",
"tooltip": "Message sent when user doesn't select any valid wire. \r\n{0} = user \r\n{1} = permission\r\n{2} = permission info",
"group": "Responses"
},
"RespPermissionAdvanced": {
"type": "textbox",
"value": "$user -> Only $permissionadvanced ($permissioninfoadvanced) or higher can use this command",
"label": "Advanced Permissions denied response",
"tooltip": "Message sent when user doesn't select any valid wire. \r\n{0} = user \r\n{1} = permission\r\n{2} = permission info",
"group": "Responses"
},
"VisitProjectWebsite": {
"type": "button",
"label": "Visit SMM2LQS Website",
"tooltip": "Visit SMM2LQS project website. The GitHub repository",
"function": "openProjectWebsite",
"wsevent": "",
"group": ""
},
"OpenHiroTwitchChannel": {
"type": "button",
"label": "Visit Hiro Twitch Channel",
"tooltip": "Visit Hiro Twitch Channel, one of the creators of SMM2 Level Queue Bot",
"function": "openCreatorTwitchChannel",
"wsevent": "",
"group": ""
},
"OpenIsaacWebsite": {
"type": "button",
"label": "Visit Isaac Website",
"tooltip": "Visit Isaac Website, a.k.a. Hiro, one of the creators of SMM2 Level Queue Bot",
"function": "openAuthor1Website",
"wsevent": "",
"group": ""
},
"OpenGabrielWebsite": {
"type": "button",
"label": "Visit Gabriel Website",
"tooltip": "Visit Gabriel Rodríguez Website, one of the creators of SMM2 Level Queue Bot",
"function": "openAuthor2Website",
"wsevent": "",
"group": ""
},
"CopyOverlayIndexPath": {
"type": "button",
"label": "Copy overlay index path",
"tooltip": "Copy the filepath for index.html directly to clipboard for easy insertion in your streaming software",
"function": "CopyOverlayIndexPath",
"wsevent": "",
"group": ""
},
"openReadMe": {
"type": "button",
"label": "Open README.txt",
"tooltip": "Opens the README.txt for this script",
"function": "OpenReadMe",
"wsevent": "",
"group": ""
},
"BtnDefaults": {
"type": "button",
"label": "Restore Default Settings",
"tooltip": "Reset settings back to defaults. \r\n Reload Scripts afterwards to see the changes in the user interface!",
"function": "SetDefaults",
"wsevent": "",
"group": ""
}
}