-
Notifications
You must be signed in to change notification settings - Fork 0
/
fields.json
135 lines (135 loc) · 2.81 KB
/
fields.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
{
"spinCommand": {
"type": "text",
"label": "Spin Command",
"value": "!spin"
},
"segments": {
"type": "text",
"label": "Segments, comma separated",
"value": "100,200,300,400,500"
},
"segmentColors": {
"type": "text",
"label": "Segment colors, comma separated",
"value": "#ff0000,#00ff00,#ffffff,#123123,#421221"
},
"segmentWeights": {
"type": "text",
"label": "Segment weights, comma separated",
"value": "5,4,3,2,1"
},
"displayImage": {
"type": "checkbox",
"label": "Display Image",
"value": false
},
"wheelImage": {
"type": "image-input",
"label": "Wheel image image(instead of text)",
"value": ""
},
"wheelSize": {
"type": "number",
"label": "Wheel size",
"value": 412
},
"innerRadius": {
"type": "number",
"label": "Inner radius size",
"value": 70
},
"pins": {
"type": "number",
"label": "Pins count",
"value": 30
},
"background": {
"type": "image-input",
"label": "Background image",
"value": "https://cdn.streamelements.com/uploads/04d60fdc-a64e-4a72-ace0-8bcee7c51713.png"
},
"textSize": {
"type": "number",
"label": "Text Size",
"value": 20
},
"spins": {
"type": "number",
"label": "Number of spins",
"value": 5
},
"duration": {
"type": "slider",
"label": "Duration (s)",
"value": 3,
"min": 0,
"max": 10,
"steps": 1
},
"privileges": {
"type": "dropdown",
"label": "Who can participate:",
"value": "everybody",
"options": {
"everybody": "Everybody",
"subs": "Subs",
"vips": "VIPS",
"mods": "Mods",
"broadcaster": "Broadcaster"
}
},
"listener": {
"type": "dropdown",
"options": {
"none": "None (command only)",
"tip-latest": "Tip",
"cheer-latest": "Cheer"
},
"value": "none"
},
"minAmount": {
"type": "number",
"label": "Minimum amount",
"step": 0.01,
"value": 100
},
"modifierFormula": {
"type": "text",
"readonly": "readonly",
"label": "Modifier formula (read only)",
"value": "1/options_count*(1+(keyword_modifier+tip_amount*amount_modifier)/100)"
},
"amountModifier": {
"type": "number",
"label": "Amount modifier",
"step": 0.01,
"value": 2
},
"keywordModifier": {
"type": "number",
"label": "Keyword modifier",
"value": 2
},
"maxChance": {
"type": "number",
"label": "Max chance for rigged result %",
"value": 50
},
"widgetName": {
"type": "hidden",
"value": "Wheel of Fortune"
},
"widgetAuthor": {
"type": "hidden",
"value": "lx"
},
"widgetVersion": {
"type": "hidden",
"value": "1.0"
},
"widgetUpdateUrl": {
"type": "hidden",
"value": "https://github.com/StreamElements/widgets/blob/master/WheelOfFortune/"
}
}