geyser.jar is now geyser-standalone.jar (#120)
java 16+ is also required nowadays
This commit is contained in:
1 parent
438774732e
commit
3df3ee4e47
1 file changed
+6
-6
@@ -4,15 +4,15 @@ title: Creating a Startup Script
|
|||||||
permalink: /geyser/creating-a-startup-script/
|
permalink: /geyser/creating-a-startup-script/
|
||||||
---
|
---
|
||||||
|
|
||||||
**In order for this to work, you MUST have Java 8 installed!**
|
**In order for this to work, you MUST have Java 16 (or higher) installed!**
|
||||||
|
|
||||||
Once you have downloaded and placed Geyser into its own folder, you will need to create a startup script; similar to how you'd run a Bukkit server.
|
Once you have downloaded and placed Geyser into its own folder, you will need to create a startup script; similar to how you'd run a Bukkit/Spigot/Paper server.
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
* Create a new text file in the same location as the Geyser jar file, and call it `run.bat`. Open this with a text editor (preferably Notepad++), and insert the text below:
|
* Create a new text file in the same location as the Geyser-Standalone jar file, and call it `run.bat`. Open this with a text editor (preferably Notepad++), and insert the text below:
|
||||||
```batch
|
```batch
|
||||||
@echo off
|
@echo off
|
||||||
java -Xms1024M -jar Geyser.jar
|
java -Xms1024M -jar Geyser-Standalone.jar
|
||||||
pause
|
pause
|
||||||
```
|
```
|
||||||
* Double-click the **run.bat**, and Geyser should start up. Geyser will generate all the needed files.
|
* Double-click the **run.bat**, and Geyser should start up. Geyser will generate all the needed files.
|
||||||
@@ -23,7 +23,7 @@ pause
|
|||||||
```sh
|
```sh
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd "$( dirname "$0" )"
|
cd "$( dirname "$0" )"
|
||||||
java -Xms1024M -jar Geyser.jar
|
java -Xms1024M -jar Geyser-Standalone.jar
|
||||||
```
|
```
|
||||||
* Open Terminal, and type in `chmod a+x` **(Do NOT press return!)**, and drag your *run.command* file into the Terminal.
|
* Open Terminal, and type in `chmod a+x` **(Do NOT press return!)**, and drag your *run.command* file into the Terminal.
|
||||||
* Press return on your keyboard, and Geyser will start up. Geyser will generate all the needed files.
|
* Press return on your keyboard, and Geyser will start up. Geyser will generate all the needed files.
|
||||||
@@ -34,7 +34,7 @@ java -Xms1024M -jar Geyser.jar
|
|||||||
```sh
|
```sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd "$( dirname "$0" )"
|
cd "$( dirname "$0" )"
|
||||||
java -Xms1024M -jar Geyser.jar
|
java -Xms1024M -jar Geyser-Standalone.jar
|
||||||
```
|
```
|
||||||
* In your default terminal application, make the file executable by running `chmod +x ~(dir)/run.sh` where `dir` is the name of the folder Geyser is in, or by changing the file permissions;
|
* In your default terminal application, make the file executable by running `chmod +x ~(dir)/run.sh` where `dir` is the name of the folder Geyser is in, or by changing the file permissions;
|
||||||
* Open your default terminal application, and type `./run.sh` to run Geyser. Geyser will generate all the needed files.
|
* Open your default terminal application, and type `./run.sh` to run Geyser. Geyser will generate all the needed files.
|
||||||
Reference in new issue
Block a user