-
Notifications
You must be signed in to change notification settings - Fork 4
/
settings.json
214 lines (204 loc) · 6.53 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
{
"version": "0.4.5",
"defaulttheme": "production",
"website": {
"port": 3000,
"secret": "change this website session secret password, make sure to change this for your website's security"
},
"pterodactyl": {
"domain": "pterodactyl panel domain",
"key": "pterodactyl panel admin api key with all read and writes"
},
"database": "database.sqlite",
"api": {
"client": {
"api": {
"enabled": true,
"code": "api token here, anyone who has access to this token can ran administrator settings"
},
"j4r": {
"enabled": true,
"servers": ["Guild id","another guild id"],
"every": {
"cpu": 5,
"ram": 512,
"disk": 2048,
"servers": 1
}
},
"bot": {
"token": "bot token",
"joinguild": {
"_comment": "The Discord bot must be in these servers and have invite permissions.",
"enabled": false,
"guildid": ["guild id", "another guild id"],
"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 (only works if done with dashactyl, not ptero)",
"enabled": false,
"_comment2": "The types of notifications disabled. Values: ADMIN, LOGIN, SERVER, COUPONREDEEM",
"disabled": []
}
},
"passwordgenerator": {
"signup": false,
"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'",
"callbackpath": "/callback",
"prompt": true,
"ip": {
"trust x-forwarded-for": true,
"block": [],
"_comment": "'duplicate check' is an anti-alt check by IPs.",
"duplicate check": false,
"_comment2": "'cookie alt check' is an anti-alt check by cookies.",
"cookie alt check": true
}
},
"ratelimits": {
"enabled": true,
"trust x-forwarded-for": true,
"requests": 30,
"per second": 60
},
"packages": {
"default": "default",
"list": {
"default": {
"ram": 1024,
"disk": 1024,
"cpu": 100,
"servers": 1
}
}
},
"locations": {
"1": {
"name": "Location Name",
"_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": "Paper",
"minimum": {
"ram": 1024,
"disk": 1024,
"cpu": 100
},
"maximum": {
"ram": null,
"disk": null,
"cpu": null
},
"info": {
"egg": 3,
"docker_image": "ghcr.io/pterodactyl/yolks:java_16",
"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": 1,
"backups": 1
}
}
},
"bungeecord": {
"display": "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_16",
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
"environment": {
"SERVER_JARFILE": "bungeecord.jar",
"BUNGEE_VERSION": "latest"
},
"feature_limits": {
"databases": 1,
"backups": 1
}
}
}
},
"coins": {
"enabled": false,
"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": false,
"ram": {
"cost": 1,
"per": 1
},
"disk": {
"cost": 1,
"per": 1
},
"cpu": {
"cost": 1,
"per": 1
},
"servers": {
"cost": 1,
"per": 1
}
}
}
},
"arcio": {
"_comment": "You can make an arc.io widget on https://arc.io. You can get money using arc.io.",
"enabled": true,
"widgetid": "arc.io widget id here",
"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": false,
"_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
}
}
}
}