-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsettings.json
249 lines (246 loc) · 8.19 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
{
"version": "1.0.0",
"important-warning": "Everything must use https:// or Faliactyl will fail to start properly",
"defaulttheme": "MaterialDashboard",
"note": "Select your Faliactyl theme, Default Themes: MaterialDashboard",
"note2": "To make a custom theme for Faliactyl, create a folder inside /themes/ and change the value above",
"website": {
"port": 80,
"warning": "To run Faliactyl on a domain, you need to setup a reverse proxy, the guide is on our GitHub",
"secret": "Example Secret"
},
"guildblacklist": {
"note": "Stop users using your host if they are in a certain discord server",
"guilds": ["ServerID", "ServerID"]
},
"pterodactyl": {
"domain": "Pterodactyl URL",
"note": "Don't put a / in the domain, only put for example https://panel.faliactyl.net or server link wont work",
"key": "Pterodactyl API Key"
},
"limits": {
"note": "This allows you to control the maximum amount of resources anyone can buy from the resources store.",
"ram": 1024,
"cpu": 200,
"servers": 4,
"disk": 5120
},
"ads": {
"enabled": false,
"note": "This allows you to put adsense, adsterra, etc easily into Faliactyl.",
"note2": "Paste your Adsense/Adsterra script in /themes/YourFaliactylTheme/Components/ads.ejs"
},
"database": "sqlite://database.sqlite",
"api": {
"client": {
"api": {
"enabled": true,
"code": "Example API Code"
},
"j4r": {
"enabled": false,
"servers": ["ServerID", "ServerID"],
"every": {
"cpu": 10,
"ram": 512,
"disk": 512,
"servers": 0
},
"ads": [
{
"name": "Example server",
"invite": "https://discord.gg/RTHmnwzEpu",
"note": "Enter your server invite link and server name for J4R"
},
{
"name": "Example server",
"invite": "https://discord.gg/RTHmnwzEpu"
}
]
},
"bot": {
"token": "bot token",
"joinguild": {
"_comment": "The Discord bot must be in these servers and have invite permissions.",
"enabled": false,
"guildid": ["SERVERID", "SERVERID"],
"forcejoin": false,
"registeredrole": null
}
},
"webhook": {
"_comment": "URL of the webhook to send messages to.",
"webhook_url": "",
"auditlogs": {
"_comment": "This feature allows you to log actions, and get an overview of a users actions.",
"enabled": true,
"_comment2": "The types of notifications disabled. Values: ADMIN, LOGIN, SERVER, COUPONREDEEM",
"disabled": []
}
},
"passwordgenerator": {
"#": true,
"note": "Use this to disable #s",
"length": 8
},
"allow": {
"newusers": true,
"regen": true,
"server": {
"create": true,
"modify": true,
"delete": true
},
"overresourcessuspend": false,
"renewsuspendsystem": {
"_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.",
"enabled": false,
"time": 3600,
"cost": 0
}
},
"oauth2": {
"_comment": "Go to https://discord.dev/ and create an application to set these up.",
"id": "discord oauth2 application id",
"secret": "discord oauth2 application secret",
"link": "discord oauth2 application link without the '/callback'",
"note": "Create a redirect link with your dashboard URL and /callback, Example: https://test.faliactyl.net/callback",
"callbackpath": "/callback",
"prompt": true,
"ip": {
"trust x-forwarded-for": true,
"block": [],
"duplicate check": false
}
},
"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": 1
}
}
},
"locations": {
"1": {
"name": "Example Location 1",
"_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.",
"package": null
},
"2": {
"name": "Example Location 2",
"_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.",
"package": null
}
},
"eggs": {
"paper": {
"display": "Minecraft Java",
"minimum": {
"ram": 1024,
"disk": 1024,
"cpu": 100
},
"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 -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": "Minecraft 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
}
}
}
},
"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": 100,
"per": 1
},
"disk": {
"cost": 100,
"per": 1
},
"cpu": {
"cost": 100,
"per": 1
},
"servers": {
"cost": 100,
"per": 1
}
}
}
},
"arcio": {
"_comment": "You can make an arc.io widget on https://arc.io. You can get money using arc.io.",
"enabled": false,
"widgetid": "Arc Widget ID",
"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
}
}
}
}