-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUI_Config.json
More file actions
160 lines (160 loc) · 4.79 KB
/
UI_Config.json
File metadata and controls
160 lines (160 loc) · 4.79 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
{
"output_file": "settings.json",
"OnlyLive": {
"type": "checkbox",
"value": false,
"label": "Only when live",
"tooltip": "Command is only active when stream is live",
"group": "General"
},
"AllowMultiJoin": {
"type": "checkbox",
"value": false,
"label": "Allow Multiple Joins",
"tooltip": "If enabled, users can join multiple times.",
"group": "General"
},
"Command": {
"type": "textbox",
"value": "!raffle",
"label": "Command Name",
"tooltip": "The command the bot will respond to",
"group": "General"
},
"JoinCommand": {
"type": "textbox",
"value": "!join",
"label": "Join Command Name",
"tooltip": "The command people will use to join the raffle",
"group": "General"
},
"RaffleTime": {
"type": "slider",
"value": 30,
"min": 0,
"max": 200,
"ticks": 5,
"label": "Raffle Time",
"tooltip": "How long the raffle lasts, in seconds.",
"group": "General"
},
"Permission": {
"type": "dropdown",
"value": "Everyone",
"items": [
"Everyone",
"Regular",
"VIP+",
"VIP Exclusive",
"Subscriber",
"GameWisp Subscriber",
"User_Specific",
"Min_Rank",
"Min_Points",
"Min_Hours",
"Moderator",
"Editor",
"Caster"
],
"label": "Permission level",
"tooltip": "Set the permission level for the command",
"group": "General"
},
"PermissionInfo": {
"type": "textbox",
"value": "",
"label": "Permission level info",
"tooltip": "Set the user, rank or tier for permission",
"group": "General"
},
"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": "General"
},
"StartResponse": {
"type": "textbox",
"value": "A raffle for {0} {1} has started! Type !join to join.",
"label": "Start raffle response",
"tooltip": "Message send when the raffle starts. {0} = number, {1} = currency name",
"group": "Responses (All Modes)"
},
"NoJoinResponse": {
"type": "textbox",
"value": "Nobody joined the raffle so nobody wins, try again another day.",
"label": "Nobody joined raffle response",
"tooltip": "Message sent if nobody joins the raffle.",
"group": "Responses (All Modes)"
},
"WinResponse": {
"type": "textbox",
"value": "{0} won {1} {3} and now has {2} {3} ",
"label": "Win response",
"tooltip": "Message sent when user wins \r\n {0} = user \r\n {1} = value won \r\n {2} = points after win \r\n {3} = Currency name",
"group": "Responses (All Modes)"
},
"JoinMessage": {
"type": "textbox",
"value": "$user has joined the raffle.",
"label": "Joined response",
"tooltip": "Message sent when a user joins the raffle. $user = user",
"group": "Responses (All Modes)"
},
"PermissionResp": {
"type": "textbox",
"value": "$user -> only $permission ($permissioninfo) and higher can use this command",
"label": "Permission 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 (All Modes)"
},
"BadInputMessage": {
"type": "textbox",
"value": "Inputs to the command have to be numbers. Bad input given.",
"label": "Bad Input Response",
"tooltip": "Message sent when the input to the raffle is invalid (IE: Not numbers)",
"group": "Responses (All Modes)"
},
"MultiWinResponse": {
"type": "textbox",
"value": "{0} are the winners of the raffle! They each get {1} {2}.",
"label": "Multi-Winner Response",
"tooltip": "Message sent to the winer. \r\n{0} = winner list \r\n{1} = number of points\r\n{2} = currency name",
"group": "Responses (All Modes)"
},
"MultiNotEnoughEntryResponse": {
"type": "textbox",
"value": "Not enough players joined the raffle to have {0} winners. Defaulting to one winner.",
"label": "Not Enough Entries Response",
"tooltip": "Message sent when not enough players register for multiple winners. \r\n{0} = number of expected winners",
"group": "Responses (All Modes)"
},
"BtnDefaults": {
"type": "button",
"label": "Restore Default Settings",
"tooltip": "Reset settings back to defaults.\r\nReload Scripts afterwards to see the changes in the user interface!",
"function": "SetDefaults",
"wsevent": "",
"group": ""
},
"openReadMe": {
"type": "button",
"label": "Open README.txt",
"tooltip": "Opens the README.txt for this script",
"function": "OpenReadMe",
"wsevent": "",
"group": ""
}
}