-
Notifications
You must be signed in to change notification settings - Fork 0
/
entry.tp
310 lines (310 loc) · 8.29 KB
/
entry.tp
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
{
"sdk": 6,
"version": 100,
"name": "Kofi",
"id": "gitago.kofi",
"configuration": {
"colorDark": "#222423",
"colorLight": "#43a047"
},
"plugin_start_cmd": "%TP_PLUGIN_FOLDER%Kofi\\Kofi_Plugin.exe",
"plugin_start_cmd_windows": "%TP_PLUGIN_FOLDER%Kofi\\Kofi_Plugin.exe",
"categories": [
{
"id": "gitago.kofi.main",
"name": "Kofi Main Category",
"imagepath": "%TP_PLUGIN_FOLDER%Kofi\\Kofi_Logo_26px.png",
"actions": [],
"states": [],
"events": [
{
"id": "gitago.kofi.event.newDonation",
"name": "Kofi | New Donation",
"format": "When receiving a new donation $val",
"type": "communicate",
"valueChoices": [
"True"
],
"valueType": "choice",
"valueStateId": "gitago.kofi.state.newDonation"
},
{
"id": "gitago.kofi.event.newSubscription",
"name": "Kofi | New Subscription",
"format": "When receiving a new subscription $val",
"type": "communicate",
"valueChoices": [
"True"
],
"valueType": "choice",
"valueStateId": "gitago.kofi.state.newSubscription"
},
{
"id": "gitago.kofi.event.newShopOrder",
"name": "Kofi | New Shop Order",
"format": "When receiving a new shop order $val",
"type": "communicate",
"valueChoices": [
"True"
],
"valueType": "choice",
"valueStateId": "gitago.kofi.state.newShopOrder"
},
{
"id": "gitago.kofi.event.recurringSubscription",
"name": "Kofi | Recurring Subscription",
"format": "When receiving a recurring subscription $val",
"type": "communicate",
"valueChoices": [
"True"
],
"valueType": "choice",
"valueStateId": "gitago.kofi.state.recurringSubscription"
}
],
"connectors": []
},
{
"id": "gitago.kofi.donation",
"name": "Kofi - New Donations",
"imagepath": "%TP_PLUGIN_FOLDER%Kofi\\Kofi_Logo_26px.png",
"actions": [],
"states": [
{
"id": "gitago.kofi.donation.name",
"type": "text",
"desc": "Name of the Donor",
"default": ""
},
{
"id": "gitago.kofi.donation.message",
"type": "text",
"desc": "Message from the Donor",
"default": ""
},
{
"id": "gitago.kofi.donation.amount",
"type": "text",
"desc": "Amount Donated",
"default": ""
},
{
"id": "gitago.kofi.donation.timestamp",
"type": "text",
"desc": "Timestamp of the Donation",
"default": ""
},
{
"id": "gitago.kofi.donation.is_public",
"type": "text",
"desc": "Is the Donation Public",
"default": ""
},
{
"id": "gitago.kofi.donation.currency",
"type": "text",
"desc": "Currency Type of the Donation",
"default": ""
},
{
"id": "gitago.kofi.state.newDonation",
"type": "text",
"desc": "New Donation Event",
"default": ""
}
],
"events": [],
"connectors": []
},
{
"id": "gitago.kofi.subscription",
"name": "Kofi - New Subscriptions",
"imagepath": "%TP_PLUGIN_FOLDER%Kofi\\Kofi_Logo_26px.png",
"actions": [],
"states": [
{
"id": "gitago.kofi.subscription.is_first_subscription_payment",
"type": "text",
"desc": "Is this the first subscription payment",
"default": ""
},
{
"id": "gitago.kofi.subscription.timestamp",
"type": "text",
"desc": "Timestamp of the Subscription Payment",
"default": ""
},
{
"id": "gitago.kofi.subscription.is_public",
"type": "text",
"desc": "Is the Subscription Payment Public",
"default": ""
},
{
"id": "gitago.kofi.subscription.from_name",
"type": "text",
"desc": "Name of the Subscriber",
"default": ""
},
{
"id": "gitago.kofi.subscription.message",
"type": "text",
"desc": "Message from the Subscriber",
"default": ""
},
{
"id": "gitago.kofi.subscription.amount",
"type": "text",
"desc": "Amount of the Subscription Payment",
"default": ""
},
{
"id": "gitago.kofi.subscription.currency_type",
"type": "text",
"desc": "Currency Type of the Subscription Payment",
"default": ""
},
{
"id": "gitago.kofi.subscription.tier_name",
"type": "text",
"desc": "Name of the Subscription Tier",
"default": ""
},
{
"id": "gitago.kofi.state.newSubscription",
"type": "text",
"desc": "New Subscription Event",
"default": ""
},
{
"id": "gitago.kofi.state.recurringSubscription",
"type": "text",
"desc": "Recurring Subscription Event",
"default": ""
}
],
"events": [],
"connectors": []
},
{
"id": "gitago.kofi.shop",
"name": "Kofi - New Shop Orders",
"imagepath": "%TP_PLUGIN_FOLDER%Kofi\\Kofi_Logo_26px.png",
"actions": [],
"states": [
{
"id": "gitago.kofi.shop.timestamp",
"type": "text",
"desc": "Timestamp of the Shop Order",
"default": ""
},
{
"id": "gitago.kofi.shop.is_public",
"type": "text",
"desc": "Is the Shop Order Public",
"default": ""
},
{
"id": "gitago.kofi.shop.city",
"type": "text",
"desc": "City of the Shop Order",
"default": ""
},
{
"id": "gitago.kofi.shop.state",
"type": "text",
"desc": "State of the Shop Order",
"default": ""
},
{
"id": "gitago.kofi.shop.country",
"type": "text",
"desc": "Country of the Shop Order",
"default": ""
},
{
"id": "gitago.kofi.shop.country_code",
"type": "text",
"desc": "Country Code of the Shop Order",
"default": ""
},
{
"id": "gitago.kofi.shop.shop_item_1",
"type": "text",
"desc": "Shop Item 1 Details",
"default": ""
},
{
"id": "gitago.kofi.shop.shop_item_2",
"type": "text",
"desc": "Shop Item 2 Details",
"default": ""
},
{
"id": "gitago.kofi.shop.shop_item_3",
"type": "text",
"desc": "Shop Item 3 Details",
"default": ""
},
{
"id": "gitago.kofi.shop.shop_item_4",
"type": "text",
"desc": "Shop Item 4 Details",
"default": ""
},
{
"id": "gitago.kofi.shop.shop_item_5",
"type": "text",
"desc": "Shop Item 5 Details",
"default": ""
},
{
"id": "gitago.kofi.shop.shop_item_6",
"type": "text",
"desc": "Shop Item 6 Details",
"default": ""
},
{
"id": "gitago.kofi.shop.total_items",
"type": "text",
"desc": "Total Items Ordered",
"default": ""
},
{
"id": "gitago.kofi.shop.amount",
"type": "text",
"desc": "Total Amount of the Shop Order",
"default": ""
},
{
"id": "gitago.kofi.state.newShopOrder",
"type": "text",
"desc": "New Shop Order Event",
"default": ""
}
],
"events": [],
"connectors": []
}
],
"settings": [
{
"name": "Ngrok Server Address",
"type": "text",
"default": "",
"readOnly": false
},
{
"name": "Ngrok Port",
"type": "text",
"default": "5000",
"readOnly": false
},
{
"name": "Ngrok Auth Token",
"type": "text",
"default": "",
"readOnly": false
}
]
}