-
-
Notifications
You must be signed in to change notification settings - Fork 6
Startup options
Bruno Martins edited this page Apr 27, 2020
·
2 revisions
These options are used to override the ones in your server.json configuration.
This is most useful when you want to override something inside a script.
In order to use them, just place those you want to use after specifying the .jar file. Example:
java -jar elytra-sdk.jar --port 25566Show the help page. There you can see all available options, just like in this page.
$ java -jar elytra-sdk.jar --helpSee the current supported minecraft and protocol versions.
$ java -jar elytra-sdk.jar --version
Minecraft Version: 1.15.2
Protocol Version: 578Change the onlyPremium status, if no value provided defaults to true.
# Set onlyPremium to false
$ java -jar elytra-sdk.jar --onlyPremium false
# Set onlyPremium to true
$ java -jar elytra-sdk.jar --onlyPremiumChange the port the server listens on.
A value is required for this options.
# Change the port to 25566
$ java -jar elytra-sdk.jar --port 25566
# Specifying no value
$ java -jar elytra-sdk.jar --port
The option '--port' wasn't found or requires extra parameters.