Coder Social home page Coder Social logo

forge-server-starter's Introduction

FORGE Server Starter - Simplify Your Server Launch

In light of the difficulties many are currently facing when launching their FORGE servers with server hosts, I have developed a small JAR file. This file takes on the roles of the traditional .sh or .bat files and offers a suite of useful features to simplify and automate the server launch process.

Key Features

  • Library Check: Ensures the libraries folder exists
  • FORGE Version Detection: Checks for a FORGE version in the libraries folder
  • System-Specific Arguments: Opens argument files for Windows or Linux, depending on the operating system
  • Server Launch: Starts the server with the pre-defined Java arguments as well as those specific to FORGE
  • Runtime Monitoring: Continuously checks if the server is still online
  • Console Output: Outputs the complete console of the started server
  • Console Commands: Allows sending commands to the server via the console
  • Automatic EULA Creation: Automatically creates eula.txt for faster startup
  • Time Zone Setting: Allows setting up a custom timezone, defined in server_starter.conf
  • Custom Java Path: Allows running the server with a custom Java path, defined in server_starter.conf
  • Debugging: Logs all events from the Server Starter, defined in server_starter.conf.
  • Automatic Start: Enables automatic server start with just two files since the CE22 update.
  • FORGE Installation: Installs FORGE with guided installation in the console or with forge-auto-installer.txt
  • Forge and NeoForged Support: Now supports both Forge and NeoForged. The forge-auto-installer.txt includes a loaderType variable for distinguishing between FORGE and NeoForged during installation.
  • Detailed Configurations: Added detailed explanations of settings in forge-auto-installer.txt and server_starter.conf.
  • Auto-Installation File Generation: Introduces generate_auto_installation_file.bat/.sh for the automatic creation of forge-auto-installer.txt
  • Version Checker: Features a version checker that uses version.xml to check for updates on GitHub and logs changes along with the download URL in the starter's log.

What's New?

3.5 Update

  • Forge and NeoForged Support: Enhanced compatibility with forge-auto-installer.txt including loaderType for easy selection.
  • Updated Variables: Streamlined to minecraftVersion and loaderVersion, ensuring forward compatibility.
  • Detailed Configurations: Comprehensive settings explanations added to documentation for clarity.
  • Auto-Installation File Generation: Simplified setup with generate_auto_installation_file.bat / sh.
  • Version Checker: Automated updates and download notifications via version.xml.

3.0 Update

  • Guided Installation: Installation of Forge via the console.
  • Automatic Forge Installation: Option for automatic installation of Forge with forge-auto-installer.txt.

CE22 Update

  • Simplified Upload: Only upload the Forge-Installer-JAR-File (no more uploading the libraries folder).
  • Automatic Setup: Rename the Forge-Server-Starter, e.g., to minecraft_server.jar. Everything else is done automatically upon server start.

Planned Features

  • Faster Restart: Restart the server with the /restart command, directly from the Forge server launcher.
  • Forge-Version-Update: automatic update the Forge-Version to the newest at every Server-Start

Feedback and Suggestions

We welcome any feedback or suggestions for improvement. Feel free to open an issue or send a bug report.

-> Report Issue here

Optimize your FORGE server launch with our Server Starter and enjoy a seamless gaming experience.

forge-server-starter's People

Contributors

arma3-exile avatar hellbz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

forge-server-starter's Issues

Minecraft 1.20.2+

If you could update this to work with Minecraft 1.20.2 and higher versions that would be awesome, we're trying to play the latest pixelmon but it's hard to get the new curseforge updates on a server without this installer

Update checker is broken

Log output as follows:

[13:07:37] [F-S-S/DEBUG] Local version: 3.5
[13:07:37] [F-S-S/DEBUG] Remote version: 3.5
[13:07:37] [F-S-S/WARNING] ----------------------------------------------------------------
[13:07:37] [F-S-S/WARNING] Update is available, New Version: 3.5, Your local Version is. 1.0
[13:07:39] [F-S-S/WARNING] Latest Update if from: 2024-02-20T03:32:47.000+01:00 on GitHub.
[13:07:39] [F-S-S/WARNING] You find the newest Versions there:
[13:07:39] [F-S-S/WARNING] https://www.curseforge.com/minecraft/mc-mods/forge-server-starter
[13:07:39] [F-S-S/WARNING] ----------------------------------------------------------------```

Allow using "latest" to select Forge version

It does not recognize the "latest" or "Latest" keywords. Typing whole "47.2.20" is too long, and unfamiliar for a non-technical user.

[06:03:26] [F-S-S/INFO] Wich FORGE-Version you like to install [ Latest:  47.2.20, Recommended:  47.2.0 ]:
[06:03:26] [F-S-S/INFO] You can also install all other Versions, listed on this Site: https://files.minecraftforge.net/net/minecraftforge/forge/index_null.html
Latest
[06:03:30] [F-S-S/ERROR] Error reading remote file. Response code: 500
[06:03:30] [F-S-S/WARNING] Start-File is empty!
[06:03:30] [F-S-S/WARNING] The Start-File "null" does not exist!
[06:03:30] [F-S-S/ERROR] EXIT FORGE-Server-Starter 
[06:03:30] [F-S-S/ERROR] -----------------------------------------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.