Launch & Resource Allocation
Each server starts with the default JAR file and RAM allocation as set in the Gorp configuration file. Each server can override these settings, though.
gorp config [server]
In the file, there are two options that can be changed:
- CUSTOM_JAR An absolute path to a JAR file. (Example: /home/user/minecraft.jar)
- CUSTOM_RAM Allocate more or less ram to a server. (Example: 8G)
Changing server.properties
server.properties is the Minecraft server configuration file. You can manually edit the file, but Gorp gives you a way to automate this.
gorp prop [server] <key> <value>
Where “server” is the server name, “key” is the property name, and “value” is the setting you’d like to set. To set a value with spaces, wrap them in quotes.
Examples:
- gorp prop my-server server-port 25565
- gorp prop my-server difficulty hard
- gorp prop my-server motd “My wonderful server!”
Open server.properties for editing
You can optionally use gorp prop [server] without a key/value pair to open the server.properties file directly for editing. Gorp will prompt you to select a text editor if you haven’t done so before.