Files
GeyserWebsite/_docs/geyser/creating-a-startup-script.md
T
897577f575 Re-write the setup pages (#171)
* Initial setup page

* Cleanup new setup page

* Space out options

* Fix host providers with templates

* Cleanup host provider classes

* Fix spacing to make it all look more uniform

* Always show setup options and add provider infomation inside an alert

* Drop side margin

* Add collapsable sidebar

* Add build_in host on provider selector (#166)

* add buildin host provider support

* concat js loop

* Cleanup indent for cleaner commit

* Move all_providers

---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* start on proper setup instructions

* Add self-hosting info

* Add not listed and fix some other minor issues

* - Floodgate setup/FAQ page
- Add version warnings/info in FAQ
- Merging upstream/master
- Replace old setup page with new one; minus videos

* Show Self-Host vs Hosting Provider pages

* Move to tabs, add icons and structure cleanup

* Less repetition, wording

* Updated Standalone setup instructions

* Show "Not listed" provider option at the top of the hosting provider list

---------

Co-authored-by: JensC <jenscollaertyprive@hotmail.com>
Co-authored-by: Jens Co <63231928+Jens-Co@users.noreply.github.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2023-07-23 18:08:38 +01:00

1.7 KiB

title
title
Creating a Startup Script

Creating a Startup Script for Geyser-Standalone

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/Spigot/Paper server.

Windows

  • 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:
@echo off
java -Xms1024M -jar Geyser-Standalone.jar
pause
  • Double-click the run.bat, and Geyser should start up. Geyser will generate all the needed files.

macOS

  • Create a text file called run.command, and open it with a text editor such as TextEdit or TextMate. Type the text below into the run.command file:
#!/bin/bash 
cd "$( dirname "$0" )" 
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.
  • Press return on your keyboard, and Geyser will start up. Geyser will generate all the needed files.

Linux

  • Create a file called run.sh, and open it with a text editor. Type the text below into your run.sh file:
#!/bin/sh 
cd "$( dirname "$0" )" 
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;
  • Open your default terminal application, and type ./run.sh to run Geyser. Geyser will generate all the needed files.