· 5 years ago · Aug 30, 2020, 07:06 AM
1/*
2 Standalone Servers for Minecraft Developers
3 Going to be made soon by Intriguing#0001
4
5 Description:
6 A bot which allows for developers and clients
7 to create standalone servers to tests jars and
8 for developers to ensure issues that clients
9 are reporting is due to their plugins.
10
11 ONLY SUPPORT FOR PTERODACTYL - WILL NOT BE ADDING SUPPORT TO ANY OTHER PANEL/SERVICE!
12*/
13
14
15{
16
17 # Access Settings
18 access: {
19 # CHANNEL - Has Checks For Channels
20 # CATEGORY - Has Checks For Category Access (Meaning access to at least one of the channels in a category)
21 # ROLE - Has Checks for Role Access
22 #
23 # Priority is by the 'checks' order. The first item will have higher priority.
24 #
25 # Example: ["CATEGORY", "CHANNEL", "ROLE"] will first check when someone runs a command:
26 # - Check if the user has a role with the permission (For example: +ss create will require a role with CREATE_SERVER)
27 # - Then check if the channel permissions have that that permission (If role does not have CREATE SERVER, but channel does, then it will go on and allow, unless CATEGORY doesn't have.)
28 # - Then check if the category permissions have that permission (Check if the category has permissions for the user to run, if it doesn't then the command won't run)
29 checks: [
30 CATEGORY
31 CHANNEL
32 ROLE
33 ]
34
35 /*
36
37 Permissions List (TBU):
38 CREATE_SERVER - Creates a server and sends a panel link
39 ADD_USER - Adds a user to your server who has to go through the checks based on the "checks" section.
40 ADD_USER_ANY - Adds any user
41 DELETE_SERVER - Deletes a server
42 SET_SERVER_TIMELIMIT - Sets a server time until suspension. (Default: 3 hours)
43 STOP_SERVER - Stop a server
44 START_SERVER - Starts a server
45
46 */
47
48 # Role Settings
49 roles: {
50 # This can be an array of "id: [PERMISSION1, PERMISSION2]" or an object such as:
51 # clients: {
52 # roles: [], (Consists of role IDS)
53 # permissions: [] (Consists of permisisons)
54 # }
55 administratorRoleId: [
56 DELETE_SERVER
57 ],
58 clients: {
59 roles: [
60 client1-role
61 client2-role
62 ],
63 permissions: [
64 CREATE_SERVER
65 ADD_USER
66 ]
67 }
68 }
69
70 # Channel Settings - Same format as roles, instead of role-ids, you use channel ids
71 channels: {}
72
73 # Category Settings - Same format as roles, instead of role-ids, you use channel ids
74 categories: {}
75
76 }
77
78 pterodactyl: {
79 # Application API
80 application: Enter your API KEY here!
81 # Client API - Make an administrator account which will ultimately be used by the bot
82 client: Enter your API KEY here!
83 }
84
85 # Permissions that sub users / creator of server will have
86 # Find Permissions Here: https://github.com/pterodactyl/panel/blob/develop/app/Models/Permission.php
87 panelPermissions: [
88 control.start
89 control.stop
90 control.restart
91 control.console
92 database.read
93 database.view_password
94 database.create
95 database.update
96 database.delete
97 file.read
98 file.update
99 ]
100
101 messages: {
102 # Embed Configuration
103 embeds: {
104 # Enable Embeds for messages?
105 enabled: true
106 # Set colors for embeds
107 colors: {
108 # Error Embeds
109 error: '000000'
110 # Success Embeds (e.g. Successfully created/deleted server)
111 success: '0000000'
112 # Information/Note/Help Embed (e.g. Messaging your login credentials)
113 info: '000000'
114 # Alert Embed (e.g. Server got deleted)
115 alert: '0000000'
116 }
117 # Embed Footer
118 footer: {
119 # Footer Image
120 image: {
121 # Uses server icon if not enabled
122 enabled: true
123 # Custom Footer Image
124 custom: {
125 enabled: true
126 imageLink: https://google.com/3
127 }
128 }
129
130 # Footer Text
131 text: {
132 # Uses server name if not enabled
133 enabled: true
134 # Custom Footer Text
135 custom: {
136 enabled: true
137 text: Yes I'm very cool
138 }
139 }
140 }
141 }
142 }
143
144 # Messages
145 messages: {
146 HELP_COMMAND_DESCRIPTION: Enter Description Here!
147 CREATE_COMMAND_DESCRIPTION: Enter Description Here!
148 DELETE_COMMAND_DESCRIPTION: Enter Description Here!
149 ADDUSER_COMMAND_DESCRIPTION: Enter Description Here!
150 SET_DEFAULT_PLUGIN_JAR_COMMAND_DESCRIPTION: Enter Description Here!
151 LIST_DEFAULT_PLUGINS_COMMAND_DESCRIPTION: Enter Description Here!
152 REMOVEUSER_COMMAND_DESCRIPTION: Enter Description Here!
153 PANEL_LINK_COMMAND_DESCRIPTION: Enter Description Here!
154 UPLOAD_PLUGIN_COMMAND_DESCRIPTION: Enter Description Here!
155 DELETE_PLUGIN_COMMAND_DESCRIPTION: Enter Description Here!
156 SET_TIMELIMIT_COMMAND_DESCRIPTION: Enter Description Here!
157 LIST_SERVERS_COMMAND_DESCRIPTION: Enter Description Here!
158 CREATE_STATIC_SERVER_COMMAND_DESCRIPTION: Enter Description Here!
159 SERVER_INFO_COMMAND_DESCRIPTION: Enter Description Here!
160 ADD_PLUGIN_COMMAND_DESCRIPTION: Enter Description Here!
161 REMOVE_PLUGIN_COMMAND_DESCRIPTION: Enter Description Here!
162 LIST_PLUGINS_COMMAND_DESCRIPTION: Enter Description Here!
163 LIST_ABLE_TO_ADD_PLUGINS_COMMAND_DESCRIPTION: Enter Description Here!
164 }
165
166 # Plugins that always get added to the server
167 defaultPlugins: {
168 # Any plugin name in a form of an array list
169 LuckPerms: [
170 {
171 versions: [
172 1.8.*
173 1.9.*
174 1.10.*
175 1.11.*
176 1.12.*
177 1.13.*
178 1.14.*
179 1.15.*
180 1.16.*
181 ]
182 # Has to be a jar in the default plugins folder
183 jar: LuckPerms.jar
184 }
185 ]
186 Vault: [
187 {
188 versions: [
189 1.8.*
190 1.9.*
191 1.10.*
192 1.11.*
193 1.12.*
194 ]
195 # Has to be a jar in the default plugins folder
196 jar: Vault-1.jar
197 }
198 ]
199 }
200
201 # Plugins that users can add for themselves
202 plugins: {
203 Plugin: [
204 {
205 versions: [
206 1.8.*
207 1.9.*
208 1.10.*
209 1.11.*
210 1.12.*
211 1.13.*
212 1.14.*
213 1.15.*
214 1.16.*
215 ]
216 # All jars can be uploaded to optional plugins folder
217 jar: Plugin.jar
218 }
219 ]
220 }
221
222 # Bot Settings
223 bot: {
224 # Enter the token which will be used to log into
225 token: NzQ3NzMyMDk3NjU2OTQ2NzE5.X0TJyA.o4otxkijfavLWaErXdJS5rAvfw8
226 # Guild ID - The bot instance will only be allowed in this guild. When you invite the bot, it will leave after 10 seconds if the ID is not here.
227 guild: Enter your guild ID here!
228 # Prefix
229 prefix: +
230 # Enter the main administrator who will have all bot permissions
231 botAdministrator: Enter the user ID here!
232 }
233
234 # Memory Allocation and Server Limit
235 memoryAllocation: {
236 # Server Limit
237 serverLimit: 4
238 # Per Server
239 perServer: [
240 {
241 # Version which the memory will apply to
242 versions: [
243 1.8.*
244 1.9.*
245 1.10.*
246 1.11.*
247 1.12.*
248 ]
249
250 # Megabytes - Memory it will allocate to the server
251 memory: 3048
252 }
253
254 {
255 # Version which the memory will apply to
256 versions: [
257 1.13.*
258 1.14.*
259 1.15.*
260 1.16.*
261 ]
262
263 # Megabytes - Memory it will allocate to the server
264 memory: 4096
265 }
266 ]
267 }
268
269
270
271}
272