NyCodeGHG / minecraft-start-bat-creator

This bat aims to create a start.bat while optionally installing the latest paper.jar and/or installing a new java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minecraft-start-bat-creator

This bat aims to create a start.bat while optionally installing the latest paper.jar and/or installing a new java

ℹ️ Although this is a start.bat creator, it is capable of creating a whole paper server (just choose to download the paper.jar)



Features:

Feature without Administrator with Administrator
create start.bat ✔️ ✔️
search for specified java version ✔️ ✔️
set -Xms and -Xmx values ✔️ ✔️
use aikar flags ✔️ ✔️
automatically accept eula ✔️ ✔️
download paper.jar 🟠 ✔️
download java jdk 🟠 ✔️
set JAVA_HOME ✔️

❌ - doesn't work 🟠 - may cause errors ✔️ - works


How to use:

🟢 Recommended: Run as Administrator as the downloading (paper, jdk) will be much faster and some features won't work otherwise

ℹ️ Info: If you want to download a paper.jar or a jdk make sure that your wifi connection isn't set as metered connection as it won't work otherwise

  1. (Unzip the zip if you downloaded it as zip)
  2. Place this bat in a new folder
  3. Execute the bat and follow the instructions (if you want just one java version set min and max to the same value)
  4. (Edit the start.bat to add extra args if you want)
  5. Execute the start.bat and enjoy playing.

Debugging Errors:

If the bat crashes randomly without any further message or something doesn't work the right way and you want to help fixing the error, do the following:

  1. Open cmd
  2. Change the directory to the directory where the bat is located (cd /path/to/bat)
  3. Run the bat with the following command: cmd.exe \K search-java-minecraft-start.bat
  4. Try to redo everything you did before it crashed
  5. Instead of crashing you'll now receive an error message
  6. Create an issue and paste the error message there

TODO:

  • Language Selection (German, English)
  • Switch to paper api v2

About

This bat aims to create a start.bat while optionally installing the latest paper.jar and/or installing a new java


Languages

Language:Batchfile 100.0%