You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Importing an existing world](#importing-an-existing-world)
18
18
*[Renaming world folder](#renaming-world-folder)
19
+
*[Adjusting global server properties](#adjusting-global-server-properties)
20
+
*[Default global server properties](#default-global-server-properties)
19
21
*[Adjusting world properties](#adjusting-world-properties)
20
22
*[Default world properties](#default-world-properties)
21
23
*[Enabling Forge, BungeeCord, and other server software](#enabling-forge-bungeecord-and-other-server-software)
22
-
*[Adjusting global server options](#adjusting-global-server-settings)
23
-
*[Configuring MSCS for multiple users](#configuring-mscs-for-multiple-users)
24
24
*[Scheduling backups and other tasks](#scheduling-backups-and-other-tasks)
25
25
*[Scheduling backups](#scheduling-backups)
26
26
*[Removing backups after X days](#removing-backups-after-x-days)
@@ -180,8 +180,9 @@ At first, you probably want to [create a new world](#creating-a-new-world) or
180
180
181
181
Then, you might want to adjust the
182
182
[world properties](#adjusting-world-properties), adjust the
183
-
[global server settings](#adjusting-global-server-settings), and enable any other
184
-
[server software](#enabling-forge-bungeecord-and-other-server-software) as needed.
183
+
[global server properties](#adjusting-global-server-properties), and enable any
184
+
other [server software](#enabling-forge-bungeecord-and-other-server-software)
185
+
as needed.
185
186
186
187
### Creating a new world
187
188
The command to create a new world is:
@@ -258,12 +259,106 @@ that you wish the world to use:
258
259
259
260
mscs create vanillaMC 25565
260
261
262
+
### Adjusting global server properties
263
+
Default values in the script can be overridden by adding certain properties to one
264
+
of the `mscs.defaults` files. The `mscs.defaults` files can be found found in one
265
+
of three places depending on how the script is being used. When using the `mscs`
266
+
script, the `mscs.defaults` file can be found at `/opt/mscs/mscs.defaults`. When
267
+
using the `msctl` script in [multi-user mode](https://github.com/MinecraftServerControl/mscs/wiki/Configuring-MSCS-for-multiple-users), the `mscs.defaults` file can be found at either `$HOME/mscs.defaults` or `$HOME/.config/mscs/mscs.defaults`.
268
+
269
+
For more information on the various properties, see the [wiki page](https://github.com/MinecraftServerControl/mscs/wiki/Global-Server-Settings).
270
+
271
+
The following properties are available:
272
+
* mscs-location - Location of the mscs files.
273
+
* mscs-worlds-location - Location of world files.
274
+
* mscs-versions-url - URL to download the version_manifest.json file.
275
+
* mscs-versions-json - Location of the version_manifest.json file.
276
+
* mscs-versions-duration - Length in minutes to keep the version_manifest.json file before updating.
277
+
* mscs-detailed-listing - Properties to return for detailed listings.
278
+
* mscs-default-world - Default world name.
279
+
* mscs-default-port - Default Port.
280
+
* mscs-default-ip - Default IP address.
281
+
* mscs-default-version-type - Default version type (release or snapshot).
282
+
* mscs-default-client-version - Default version of the client software.
283
+
* mscs-default-client-jar - Default .jar file for the client software.
284
+
* mscs-default-client-url - Default download URL for the client software.
285
+
* mscs-default-client-location - Default location of the client .jar file.
286
+
* mscs-default-server-version - Default version of the server software.
287
+
* mscs-default-server-jar - Default .jar file for the server software.
288
+
* mscs-default-server-url - Default download URL for the server software.
289
+
* mscs-default-server-args - Default arguments to for a world server.
290
+
* mscs-default-initial-memory - Default initial amount of memory for a world server.
291
+
* mscs-default-maximum-memory - Default maximum amount of memory for a world server.
292
+
* mscs-default-server-location - Default location of the server .jar file.
293
+
* mscs-default-server-command - Default command to run for a world server.
294
+
* mscs-backup-location - Location to store backup files.
295
+
* mscs-backup-log - Lcation of the backup log file.
296
+
* mscs-backup-duration - Length in days that backups survive.
297
+
* mscs-log-duration - Length in days that logs survive.
298
+
* mscs-enable-mirror - Enable the mirror option by default for worlds (default disabled).
299
+
* mscs-mirror-path - Default path for the mirror files.
300
+
* mscs-overviewer-bin - Location of Overviewer.
301
+
* mscs-overviewer-url - URL for Overviewer.
302
+
* mscs-maps-location - Location of Overviewer generated map files.
303
+
* mscs-maps-url - URL for accessing Overviewer generated maps.
304
+
305
+
The following variables may be used in some of the above properties:
306
+
* $JAVA - The Java virtual machine.
307
+
* $CURRENT_VERSION - The current Mojang Minecraft release version.
308
+
* $CLIENT_VERSION - The version of the client software.
309
+
* $SERVER_VERSION - The version of the server software.
310
+
* $SERVER_JAR - The .jar file to run for the server.
311
+
* $SERVER_ARGS - The arguments to the server.
312
+
* $INITIAL_MEMORY - The initial amount of memory for the server.
313
+
* $MAXIMUM_MEMORY - The maximum amount of memory for the server.
314
+
* $SERVER_LOCATION - The location of the server .jar file.
315
+
316
+
#### Default global server properties
317
+
Below are the default global server properties. You can add one, none, or all
318
+
of the properties below to one of the `mscs.defaults` files and adjust it to
0 commit comments