Install Glowstone¶
- Download the latest build of Glowstone.
- Move the jar file to your server folder. If you drop and run the jar in your current server folder, it will automatically migrate most settings to Glowstone.
- Follow the instructions for your operating system below.
Windows¶
Using a text editor like Notepad, create a new start script named start.bat
to launch the jar file:
@echo off
java -Xms768M -XX:+UseG1GC -jar glowstone.jar
pause
Make sure you select All Files
as the file type in the save window.
Finally, double click the start.bat
file.
GNU/Linux¶
Using a text editor like gedit, mousepad, Atom, Sublime Text, nano, (Neo)vi(m), Kate or emacs, create a new start script named start.sh
to launch the jar file:
#!/bin/sh
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
java -Xms768M -XX:+UseG1GC -jar glowstone.jar
Open terminal, go to your Glowstone folder and enter this command to give the script execute permissions:
chmod +x start.sh
Enter this command in the terminal to start the server:
./start.sh
macOS¶
Using a text editor like TextEdit, create a new start script named start.command
to launch the jar file:
#!/bin/bash
cd '$( dirname "$0" )'
java -Xms768M -XX:+UseG1GC -jar glowstone.jar
Open terminal, change current directory by typing cd
and dragging and dropping the Glowstone folder into terminal window.
At this point it should look like this:
cd /Users/YourName/YourGlowstoneFolder/Glowstone
If you think that is correct press enter and move to the next step.
Just type (do not enter!) this command to give the script execute permissions:
chmod a+x
Drag start.command into the Terminal window. Confirm there is a space between chmod a+x
and the start.command
path, and then enter.
Finally, double click the start.command
file to start the server.