· 4 years ago · Aug 10, 2021, 07:38 AM
1{
2 "version": "0.4.3",
3 "defaulttheme": "default",
4 "website": {
5 "port": 3000,
6 "secret": "whatever"
7 },
8 "pterodactyl": {
9 "domain": "https://panel.vlox.gg",
10 "key": "hidden"
11 },
12 "database": "database.sqlite",
13 "api": {
14 "client": {
15 "api": {
16 "enabled": false,
17 "code": "api token here, anyone who has access to this token can ran administrator settings"
18 },
19 "bot": {
20 "token": "hidden",
21 "joinguild": {
22 "_comment": "The Discord bot must be in these servers and have invite permissions.",
23 "enabled": true,
24 "guildid": ["754293090340044881"],
25 "forcejoin": true,
26 "registeredrole": ["874179088905039872"]
27 }
28 },
29 "webhook": {
30 "_comment": "URL of the webhook to send messages to.",
31 "webhook_url": "hidden",
32 "auditlogs": {
33 "_comment": "This feature allows you to log actions, and get an overview of a users actions (only works if done with dashactyl, not ptero)",
34 "enabled": true,
35 "_comment2": "The types of notifications disabled. Values: ADMIN, LOGIN, SERVER, COUPONREDEEM",
36 "disabled": []
37 }
38 },
39 "passwordgenerator": {
40 "signup": true,
41 "length": 8
42 },
43 "allow": {
44 "newusers": true,
45 "regen": true,
46 "server": {
47 "create": true,
48 "modify": true,
49 "delete": true
50 },
51 "overresourcessuspend": false,
52 "renewsuspendsystem": {
53 "_comment": "This feature requires a restart in order to work. Also, this requires every server to start suspended, or else this feature would not work for some servers.",
54 "enabled": true,
55 "time": 2628002,
56 "cost": 0
57 }
58 },
59 "oauth2": {
60 "_comment": "Go to https://discord.dev/ and create an application to set these up.",
61 "id": "873571658177314877",
62 "secret": "hidden",
63 "link": "https://client.vlox.gg",
64 "callbackpath": "/callback",
65 "prompt": true,
66
67 "ip": {
68 "trust x-forwarded-for": true,
69 "block": [],
70
71 "_comment": "'duplicate check' is an anti-alt check by IPs.",
72 "duplicate check": true,
73
74 "_comment2": "'cookie alt check' is an anti-alt check by cookies.",
75 "cookie alt check": true
76 }
77 },
78 "ratelimits": {
79 "enabled": true,
80
81 "trust x-forwarded-for": true,
82
83 "requests": 30,
84 "per second": 60
85 },
86 "packages": {
87 "default": "default",
88 "list": {
89 "default": {
90 "ram": 1024,
91 "disk": 1500,
92 "cpu": 100,
93 "servers": 2
94 }
95 }
96 },
97 "locations": {
98 "1": {
99 "name": "us",
100
101 "_comment": "Make 'package' be null to allow anyone with enough resources in their plan to create a server with this location. Also, make the 'package' variable an array, like [], with the location names with quotes to make a user be required to have a plan in order to use the package.",
102 "package": null
103 }
104 },
105 "eggs": {
106 "discord.js": {
107 "display": "NodeJS",
108 "minimum": {
109 "ram": 512,
110 "disk": 250,
111 "cpu": 50
112 },
113 "maximum": {
114 "ram": null,
115 "disk": null,
116 "cpu": null
117 },
118 "info": {
119 "egg": 16,
120 "docker_image": "quay.io/parkervcp/pterodactyl-images:debian_nodejs-12",
121 "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 [ -f /home/container/package.json ]; then /usr/local/bin/npm install --production; fi; /usr/local/bin/node /home/container/{{BOT_JS_FILE}}",
122
123 "environment": {
124 "BOT_JS_FILE": "index.js",
125
126 "AUTO_UPDATE": "1",
127
128 "USER_UPLOAD": "0"
129 },
130 "feature_limits": {
131 "databases": 1,
132 "backups": 1
133 }
134 }
135 },
136 "discord.py": {
137 "display": "Python Servers for Discord Bots",
138 "minimum": {
139 "ram": 512,
140 "disk": 250,
141 "cpu": 50
142 },
143 "maximum": {
144 "ram": null,
145 "disk": null,
146 "cpu": null
147 },
148 "info": {
149 "egg": 25,
150 "docker_image": "quay.io/parkervcp/pterodactyl-images:debian_python-3.8",
151 "startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == '1' ]]; then git pull; fi; if [[ ! -z {{PY_PACKAGES}} ]]; then pip install -U --target .local/lib/python3.8/site-packages {{PY_PACKAGES}}; fi; if [[ -f /home/container/${REQUIREMENTS_FILE} ]]; then pip install -U --target .local/lib/python3.8/site-packages -r ${REQUIREMENTS_FILE}; fi; /usr/local/bin/python /home/container/{{BOT_PY_FILE}}",
152 "environment": {
153 "BOT_PY_FILE": "bot.py",
154
155 "AUTO_UPDATE": "0",
156
157 "USER_UPLOAD": "0",
158
159 "REQUIREMENTS_FILE": "requirements.txt"
160 },
161 "feature_limits": {
162 "databases": 1,
163 "backups": 1
164 }
165 }
166 },
167 "nginx-fpm": {
168 "display": "Nginx server for php web hosting",
169 "minimum": {
170 "ram": 512,
171 "disk": 250,
172 "cpu": 50
173 },
174 "maximum": {
175 "ram": null,
176 "disk": null,
177 "cpu": null
178 },
179 "info": {
180 "egg": 29,
181 "docker_image": "lazybytez/eggs:nginx-php-stable",
182 "startup": "supervisord",
183 "environment": {
184 "NGINX_ROOT": "project/app/public",
185
186 "PROJECT_ROOT": "project/app",
187
188 "AUTO_UPDATE_COMPOSER": "false"
189 },
190 "feature_limits": {
191 "databases": 1,
192 "backups": 1
193 }
194 }
195 },
196 "discord.py2": {
197 "display": "Python Servers for Discord Bots",
198 "minimum": {
199 "ram": 5,
200 "disk": 12,
201 "cpu": 5
202 },
203 "maximum": {
204 "ram": null,
205 "disk": null,
206 "cpu": null
207 },
208 "info": {
209 "egg": 31,
210 "docker_image": "quay.io/parkervcp/pterodactyl-images:debian_nodejs-12",
211 "startup": "npm start",
212 "environment": {},
213 "feature_limits": {
214 "databases": 1,
215 "backups": 1
216 }
217 }
218 },
219 "golang": {
220 "display": "Golang servers for discord bots - DiscordGO",
221 "minimum": {
222 "ram": 512,
223 "disk": 250,
224 "cpu": 50
225 },
226 "maximum": {
227 "ram": null,
228 "disk": null,
229 "cpu": null
230 },
231 "info": {
232 "egg": 27,
233 "docker_image": "quay.io/parkervcp/pterodactyl-images:base_debian",
234 "startup": "./${EXECUTABLE}",
235 "environment": {},
236 "feature_limits": {
237 "databases": 1,
238 "backups": 1
239 }
240 }
241}
242 },
243 "coins": {
244 "enabled": true,
245 "store": {
246 "_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.",
247 "enabled": true,
248 "ram": {
249 "cost": 12,
250 "per": 5
251 },
252 "disk": {
253 "cost": 125,
254 "per": 250
255 },
256 "cpu": {
257 "cost": 100,
258 "per": 20
259 },
260 "servers": {
261 "cost": 300,
262 "per": 1
263 }
264 }
265 }
266 },
267 "arcio": {
268 "_comment": "You can make an arc.io widget on https://arc.io. You can get money using arc.io.",
269 "enabled": true,
270 "widgetid": "wiuBabyV",
271
272 "afk page": {
273 "_comment": "This will not effect any current arc.io sessions, and will require a restart to kick everyone out of the websocket sesison.",
274 "_comment2": "Make sure coins are enabled if you choose to enable this option!",
275 "enabled": true,
276
277 "_comment3": "If you change the path, you need to restart for it to take full effect.",
278 "path": "afkwspath",
279
280 "_comment4": "This afk page will give the users [coins variable] coins every [every variable] seconds.",
281 "every": 125,
282
283 "_comment5": "The coins variable is meant to not be under 1. There may be bugs if the coins variable is less than 1.",
284 "coins": 1
285 }
286 }
287 }
288 }
289