Skip to content

suspiciousRaccoon/python-minecraft-commandline-server-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-minecraft-commandline-server-script

This is a simple python script made to manage a minecraft server from the command-line.

Requirements

Installation

Clone the repository or download main.py

git clone https://github.com/suspiciousRaccoon/python-minecraft-commandline-server-script.git

Usage

  1. Modify the following constants at the beginning of the script to match your setup:

    SERVER_START_BAT = "C:\\path\\to\\your\\start.bat"
    SERVER_DIRECTORY = "C:\\path\\to\\your\\server\\directory"
  2. Open a command prompt and navigate to the directory containing main.py.

  3. Run the script using the following command:

    python main.py
  4. The script will present you with a menu of options:

    • [1] Start Server: Starts the Minecraft server if it's not already running.
    • [2] Execute Command: Allows you to send commands to the server.
    • [3] Stop Server: Stops the running Minecraft server.
    • [4] Exit Program: Stops the server (if running) and exits the script.

License

This project is licensed under the MIT License.

About

A simple python script to manage a minecraft server from the command-line.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages