-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsettings.json
396 lines (386 loc) · 11.5 KB
/
settings.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
{
"version": "2.8",
"name": "Lapsus Client",
"logo": {
"url": "/assets/img/logo_background.png"
},
"defaulttheme": "lapsus",
"timezone": "Europe/London",
"main_web": "https://yourdomain.com",
"discord_server": "https://discord.gg/invite/",
"website": {
"port": 8000,
"secret": "change_this"
},
"pterodactyl": {
"domain": "https://panel.yourdomain.com",
"key": "ptla_",
"account_key": "ptlc_"
},
"storelimits": {
"ram": "5120",
"disk": "8240",
"cpu": "300",
"servers": "3"
},
"profile_json": true,
"news": {
"new1_type": "Recommendation",
"new1_title": "Try Lapsus Launcher",
"new1_message": "Our new project focused on Minecraft gaming, a next generation launcher to play Minecraft at another performance.",
"new1_img": "/assets/img/lapsus_launcher_banner.png",
"new1_button_text": "Try it now!",
"new1_button_link": "https://github.com/ManucrackYT/LapsusLauncher",
"new2_type": "Info",
"new2_title": "Lapsus Client has been officialy released!",
"new2_message": "Thanks for using Lapsus Client, report any bugs or problems at our Github.",
"new2_img": "/assets/img/lapsus_client_thanks.png",
"new2_button_text": "GitHub",
"new2_button_link": "https://github.com/ManucrackYT/LapsusClient"
},
"database": "sqlite://database.sqlite",
"api": {
"client": {
"webhook": {
"auditlogs": false
},
"api": {
"enabled": false,
"code": "lapsus"
},
"j4r": {
"enabled": false,
"ads": [
{
"name": "Example server 1",
"invite": "https://discord.gg/example",
"id": "000000000000000000",
"coins": 25
},
{
"name": "Example server 2",
"invite": "https://discord.gg/example",
"id": "000000000000000000",
"coins": 200
}
]
},
"bot": {
"token": "BOT_TOKEN_HERE",
"joinguild": {
"_comment": "The Discord bot must be in these servers and have invite permissions. Automatic guild joining will not work unless role packages are configured correctly. You can always just set it to a random role & package so that only this works.",
"enabled": false,
"guildid": [
"000000000000000000"
]
}
},
"passwordgenerator": {
"signup": true,
"note": "Use this to disable signups",
"length": 16
},
"allow": {
"newusers": true,
"regen": true,
"server": {
"create": true,
"modify": true,
"delete": true
},
"overresourcessuspend": false
},
"oauth2": {
"_comment": "Go to https://discord.dev/ and create an application to set these up.",
"id": "",
"secret": "",
"link": "http://localhost:8000",
"callbackpath": "/callback",
"prompt": true,
"ip": {
"trust x-forwarded-for": true,
"block": [],
"duplicate check": true
}
},
"ratelimits": {
"/callback": 2,
"/create": 1,
"/delete": 1,
"/modify": 1,
"/updateinfo": 1,
"/setplan": 2,
"/admin": 1,
"/regen": 1,
"/renew": 1,
"/api/userinfo": 1
},
"packages": {
"default": "default",
"list": {
"default": {
"ram": 1536,
"disk": 5120,
"cpu": 100,
"databases": 1,
"servers": 1
},
"premium": {
"ram": 2048,
"disk": 10240,
"cpu": 200,
"databases": 3,
"servers": 3
}
},
"rolePackages": {
"note": "This allows you to set a different plan to people who have a specific role however this requires the Discord bot to be configured and functioning. This is mainly used for Boost rewards",
"roleServer": "00000000000000",
"roles": {
"000000000000000000": "role"
}
}
},
"locations": {
"2": { "name": "Germany 🇩🇪", "city": "Node 01", "package": null }
},
"eggs": {
"paper": {
"display": "Minecraft Java - Paper",
"minimum": {
"ram": 1024,
"disk": 1024,
"cpu": 50
},
"maximum": {
"ram": null,
"disk": null,
"cpu": null
},
"info": {
"egg": 4,
"docker_image": "ghcr.io/pterodactyl/yolks:java_17",
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}",
"environment": {
"SERVER_JARFILE": "server.jar",
"BUILD_NUMBER": "latest"
},
"feature_limits": {
"databases": 4,
"backups": 4,
"allocations": 2
}
}
},
"bungeecord": {
"display": "Minecraft Java - BungeeCord",
"minimum": {
"ram": 512,
"disk": 512,
"cpu": 75
},
"maximum": {
"ram": null,
"disk": null,
"cpu": null
},
"info": {
"egg": 1,
"docker_image": "ghcr.io/pterodactyl/yolks:java_17",
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
"environment": {
"SERVER_JARFILE": "bungeecord.jar",
"BUNGEE_VERSION": "latest"
},
"feature_limits": {
"databases": 4,
"backups": 4,
"allocations": 2
}
}
},
"bedrock": {
"display": "Minecraft Bedrock - Vanilla",
"minimum": {
"ram": 512,
"disk": 512,
"cpu": 75
},
"maximum": {
"ram": null,
"disk": null,
"cpu": null
},
"info": {
"egg": 16,
"docker_image": "ghcr.io/parkervcp/yolks:debian",
"startup": "./bedrock_server",
"environment": {
"BEDROCK_VERSION": "latest",
"LD_LIBRARY_PATH": ".",
"SERVERNAME": "A Bedrock Server",
"GAMEMODE": "survival",
"DIFFICULTY": "easy",
"CHEATS": "true"
},
"feature_limits": {
"databases": 4,
"backups": 4
}
}
},
"nodejs": {
"display": "Code - NodeJS",
"minimum": {
"ram": 512,
"disk": 512,
"cpu": 75
},
"maximum": {
"ram": null,
"disk": null,
"cpu": null
},
"info": {
"egg": 15,
"docker_image": "ghcr.io/parkervcp/yolks:nodejs_18",
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then /usr/local/bin/npm install ${NODE_PACKAGES}; fi; if [[ ! -z ${UNNODE_PACKAGES} ]]; then /usr/local/bin/npm uninstall ${UNNODE_PACKAGES}; fi; if [ -f /home/container/package.json ]; then /usr/local/bin/npm install; fi; /usr/local/bin/node /home/container/{{BOT_JS_FILE}}",
"environment": {
"USER_UPLOAD": "0",
"AUTO_UPDATE": "0",
"MAIN_FILE": "index.js",
"BOT_JS_FILE": "index.js"
},
"feature_limits": {
"databases": 4,
"backups": 4
}
}
},
"python": {
"display": "Code - Python",
"minimum": {
"ram": 512,
"disk": 512,
"cpu": 75
},
"maximum": {
"ram": null,
"disk": null,
"cpu": null
},
"info": {
"egg": 19,
"docker_image": "ghcr.io/parkervcp/yolks:python_3.10",
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z {{PY_PACKAGES}} ]]; then pip install -U --prefix .local {{PY_PACKAGES}}; fi; if [[ -f /home/container/${REQUIREMENTS_FILE} ]]; then pip install -U --prefix .local -r ${REQUIREMENTS_FILE}; fi; /usr/local/bin/python /home/container/{{BOT_PY_FILE}}",
"environment": {
"USER_UPLOAD": "0",
"AUTO_UPDATE": "0",
"BOT_PY_FILE": "bot.py",
"REQUIREMENTS_FILE": "requirements.txt"
},
"feature_limits": {
"databases": 4,
"backups": 4
}
}
}
},
"coins": {
"enabled": true,
"store": {
"_comment": "The cost and per is not intended to used with 0. This is not intended to sell resources for coins. Make sure coins are enabled too, or else there can be errors.",
"enabled": true,
"ram": {
"cost": 400,
"per": 1024
},
"disk": {
"cost": 350,
"per": 3072
},
"cpu": {
"cost": 400,
"per": 50
},
"databases": {
"cost": 10,
"per": 1
},
"servers": {
"cost": 100,
"per": 1
}
}
}
},
"arcio": {
"enabled": true,
"widgetid": "widgetidhere",
"afk page": {
"_comment": "This will not effect any current arc.io sessions, and will require a restart to kick everyone out of the websocket sesison.",
"_comment2": "Make sure coins are enabled if you choose to enable this option!",
"enabled": true,
"_comment3": "If you change the path, you need to restart for it to take full effect.",
"path": "afkwspath",
"_comment4": "This afk page will give the users [coins variable] coins every [every variable] seconds.",
"every": 60,
"_comment5": "The coins variable is meant to not be under 1. There may be bugs if the coins variable is less than 1.",
"coins": 1
}
}
},
"whitelist": {
"note": "This allows only specific people to be able to use the dashboard",
"status": false,
"users": [
"User ID"
]
},
"servercreation": {
"note": "You can set how much it should cost to create a server here, the default price is free",
"cost": 0
},
"renewals": {
"status": false,
"cost": 0,
"delay": 14
},
"logging": {
"status": false,
"webhook": "Webhook URL",
"actions": {
"user": {
"signup": true,
"create server": true,
"gifted coins": true,
"modify server": true,
"buy servers": true,
"buy ram": true,
"buy cpu": true,
"buy disk": true,
"buy databases": true
},
"admin": {
"set coins": true,
"add coins": true,
"set resources": true,
"set plan": true,
"create coupon": true,
"revoke coupon": true,
"remove account": true,
"view ip": true
}
}
},
"linkvertise": {
"userid": "000000",
"coins": 1
},
"antivpn": {
"note": "For antivpn to work, generate an apikey on https://proxycheck.io/. If you put no key, Lapsus Client will disable antivpn automatically. This won't avoid all VPN, just known ones.",
"status": true,
"APIKey": "Proxycheck APIKey",
"whitelistedIPs": ["IP address"]
}
}