-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathdefault.config.json5
181 lines (181 loc) · 7.79 KB
/
default.config.json5
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
{
loglevel: 'info',
userAgent: 'Custom fork of HoyoLabAuto: github.com/torikushiii/hoyolab-auto',
platforms: [
{
id: 1,
active: true,
type: 'discord', // This platform is optional, only use this if you have want to access commands via Discord bot
botId: '123', // Your Discord bot ID
token: '(YOUR_DISCORD_BOT_TOKEN)',
},
{
id: 2,
active: false, // Set to true if you want to enable Telegram bot
type: 'telegram',
chatId: 123, // You can follow this guide to create a bot: https://github.com/torikushiii/hoyolab-auto/blob/main/setup/TELEGRAM.md
token: '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11',
disableNotification: false, // Set to true if you want to disable notification for Telegram bot (sounds, vibration, etc.)
},
{
id: 3,
active: true, // Set to true if you want to send notification to Discord webhook
type: 'webhook',
url: '(YOUR_WEBHOOK_URL)', // You can follow this guide to create a webhook: https://github.com/torikushiii/hoyolab-auto/blob/main/setup/DISCORD_WEBHOOK.md
},
],
crons: {
whitelist: [], // You can whitelist some crons if you only want to run specific crons
blacklist: [], // You can blacklist some crons if you don't want to run them
// You can use this site to generate cron expression: https://crontab.guru/
checkIn: '0 0 0 * * *',
codeRedeem: '*/15 * * * *',
expedition: '0 */30 * * * *',
missedCheckIn: '0 0 23 * * *',
realmCurrency: '0 */1 * * *',
shopStatus: '0 */1 * * *',
stamina: '0 */30 * * * *'
},
accounts: [
{
id: 1,
active: false, // Set to true if you want to enable Honkai Impact 3rd
type: 'honkai',
data: [
{
cookie: '',
},
],
},
{
id: 2,
active: false, // Set to true if you want to enable Tears of Themis
type: 'termis',
data: [
{
cookie: ''
}
]
},
{
id: 3,
active: true, // Set to true if you want to enable Genshin Impact
type: 'genshin',
data: [
{
cookie: '',
// Enable this if you want to automatically redeem codes
// Please note that if you have one account with characters in multiple servers
// the code will be redeemed but you won't get the reward
// so please be careful when enabling this, and only enable it on the account that you want to redeem the code
redeemCode: false,
dailiesCheck: true, // Enable this if you want to get reminded to do your daily commissions
weekliesCheck: true, // Enable this if you want to get reminded to do your weeklies
realm: {
check: false,
persistent: false,
},
stamina: {
check: false, // Enable this if you want to get notified when your stamina is above the threshold
threshold: 150, // Your stamina threshold, only fires notification when your stamina is above this value
persistent: false, // Set to true if you want to get notified every time your stamina is above the threshold
},
expedition: {
check: false, // Enable this if you want to get notified when your expedition is done
persistent: false, // Set to true if you want to get notified every time your expedition is done
},
discord: {
// Your Discord user ID to ping you when to do your dailies/weeklies
// or when your stamina is above the threshold and your expedition is done
// this is optional, you can leave it as null if you don't want to get pinged
// e.g userId: '123456789'
userId: null,
}
},
],
},
{
id: 4,
active: true, // Set to true if you want to enable Honkai: Star Rail
type: 'starrail',
data: [
// If you have same account for both genshin and starrail
// You can copy the cookie values from the genshin account
// Same goes for any other game that will be supported in the future
// Support multi-account for every type of game
// Just add another object inside the data array
// Account #1
{
cookie: '',
redeemCode: false,
dailiesCheck: true,
weekliesCheck: true,
stamina: {
check: true,
threshold: 230,
persistent: true,
},
expedition: {
check: true,
persistent: false,
},
discord: {
// Your Discord user ID to ping you when to do your dailies/weeklies
// or when your stamina is above the threshold and your expedition is done
// this is optional, you can leave it as null if you don't want to get pinged
// e.g userId: '123456789'
userId: null,
}
},
// Account #2
// Delete this if you only have one account
{
cookie: '',
dailiesCheck: false,
weekliesCheck: false,
stamina: {
check: false,
threshold: 150,
persistent: false,
},
expedition: {
check: false,
persistent: false,
},
discord: {
// Your Discord user ID to ping you when to do your dailies/weeklies
// or when your stamina is above the threshold and your expedition is done
// this is optional, you can leave it as null if you don't want to get pinged
// e.g userId: '123456789'
userId: null,
}
},
],
},
{
id: 5,
active: false,
type: 'zenless',
data: [
{
cookie: '',
redeemCode: false,
shopStatus: false, // This will check if your shop has finished selling videos
dailiesCheck: true,
stamina: {
check: true,
threshold: 200,
persistent: false,
},
discord: {
// Your Discord user ID to ping you when to do your dailies/weeklies
// or when your stamina is above the threshold and your expedition is done
// this is optional, you can leave it as null if you don't want to get pinged
// e.g userId: '123456789'
userId: null,
}
},
],
},
],
}