forked from WajPad/heliactyl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
251 lines (251 loc) · 7.25 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
{
"name": "Heliactyl",
"pterodactyl": {
"domain": "https://panel.example.com",
"key": "Your Pterodactyl API key with all permissions"
},
"timezone": "Europe/London",
"version": "14.11.1",
"testing": false,
"website": {
"port": 3000,
"secret": "Default Secret (Change this to any string you want)"
},
"database": "sqlite://database.sqlite",
"api": {
"client": {
"accountSwitcher": true,
"api": {
"enabled": true,
"code": "Default API Key (Change this to any string you want)"
},
"j4r": {
"enabled": false,
"ads": [
{
"name": "Example server 1",
"invite": "https://discord.gg/example",
"id": "000000000000000000",
"coins": 200
},
{
"name": "Example server 2",
"invite": "https://discord.gg/example",
"id": "000000000000000000",
"coins": 200
}
]
},
"bot": {
"token": "Your Discord bot token",
"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"
]
},
"giverole": {
"_comment": "Auto-join must be enabled for this to work - or the user must already be in your Discord. This will give the user a role when they login.",
"enabled": false,
"guildid": "000000000000000000",
"roleid": "000000000000000000"
}
},
"passwordgenerator": {
"signup": true,
"note": "Use this to disable registering on Heliactyl.",
"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 up OAuth2. This is required for Heliactyl to work. You must also set the redirect URL to the link below.",
"id": "Your client ID",
"secret": "Your client secret",
"link": "http://localhost:3000",
"callbackpath": "/callback",
"prompt": true,
"ip": {
"trust x-forwarded-for": true,
"block": [],
"duplicate check": false,
"_note": "Anti-alt checks will not work if you are proxying through Cloudflare. This is due to the fact that Cloudflare does not pass the real IP address through the headers. If you are using Cloudflare, please disable this feature."
}
},
"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": 1024,
"disk": 1024,
"cpu": 100,
"servers": 2
}
},
"rolePackages": {
"note": "This allows you to set a different plan/package 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": "Discord Server ID",
"roles": {
"Discord Role ID": "Heliactyl package name"
}
}
},
"locations": {
"1": {
"package": null,
"name": "Location 1"
},
"2": {
"package": null,
"name": "Location 2"
}
},
"eggs": {
"paper": {
"display": "Paper",
"minimum": {
"ram": 1024,
"disk": 1024,
"cpu": 100
},
"maximum": {
"ram": null,
"disk": null,
"cpu": null
},
"info": {
"egg": 5,
"docker_image": "ghcr.io/pterodactyl/yolks:java_17",
"startup": "java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}",
"environment": {
"SERVER_JARFILE": "server.jar",
"BUILD_NUMBER": "latest"
},
"feature_limits": {
"databases": 4,
"backups": 4
}
}
},
"bungeecord": {
"display": "BungeeCord",
"minimum": {
"ram": 512,
"disk": 512,
"cpu": 75
},
"maximum": {
"ram": null,
"disk": null,
"cpu": null
},
"info": {
"egg": 3,
"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
}
}
}
},
"coins": {
"enabled": true,
"store": {
"enabled": true,
"ram": {
"cost": 300,
"per": 1024
},
"disk": {
"cost": 200,
"per": 5120
},
"cpu": {
"cost": 350,
"per": 100
},
"servers": {
"cost": 100,
"per": 2
}
}
}
},
"afk": {
"_note": "This is the 2nd-generation version of Heliactyl's AFK system. Please report any bugs on the GitHub (github.com/heliactyloss/heliactyl). Thank you.",
"path": "ws",
"every": 60,
"coins": 1,
"enabled": true
}
},
"antivpn": {
"note": "For this to work, generate an API Key on https://proxycheck.io/. If you do not put a key, Heliactyl will automatically disable anti-VPN.",
"status": false,
"APIKey": "Proxycheck API Key",
"whitelistedIPs": [
"IP address"
]
},
"whitelist": {
"note": "This allows only specific people to be able to login to the Heliactyl dashboard. This does not affect your Panel.",
"status": false,
"users": [
"User ID"
]
},
"logging": {
"_note": "This is the 2nd-generation version of Heliactyl's logging system. Please report any bugs on the GitHub (github.com/heliactyloss/heliactyl). Thank you.",
"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
},
"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
}
}
}
}