sythatic / MCS-Launcher

A minimalistic app to give you more control over the Minecraft server CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MCS Launcher

Static Badge

A simple script for launching and managing a Minecraft server from the command line interface.


Functions

Initial Startup

  • Prompts the user to specify the name and extension of the server's jar file or it's path.
  • Prompts the user to allocate the minimum and maximum RAM for the server .
  • Creates a folder named "mcsl" to store the config files.
  • Stores the config information in the following files: core.json, min.json and max.json.

Normal Startup

  • Reads the values from the json files and sets them as environment variables.
  • Previews the server launch command.
  • Prompts the user to start the server or edit the start parameters.
  • Allows user to list installed plugins and the server.properties file.
  • After the server stops, users can restart the server with the same or different parameters.
  • The terminal will wait for user input before exiting the script.

Issues

  • (Minor) After listing plugins or server properties, pressing enter without any input will loop the previous result.

This script will technically work from any location, but it is highly recommended that you keep it in your server's root directory. Do not run as admin If errors occur, simply enter "R" to reset the program.