Update V1.1
> fixed ngrok installation
> added ngrok console
mcWizard is a Python script designed to automate the setup and management of a Minecraft server. This script provides an easy-to-use menu interface to perform various server-related tasks, including installation, starting/stopping the server, updating to the latest build, and more. Additionally, it integrates with Ngrok to allow for easy remote access to the Minecraft server.
- Automated Setup: Installs necessary packages and dependencies.
- Server Management: Start, stop, and restart the Minecraft server.
- EULA Management: Automatically accepts the Minecraft EULA.
- Ngrok Integration: Sets up and runs Ngrok to expose the server to the internet.
- Console Access: Provides access to the Minecraft server console.
- Plugin Management: Downloads plugins directly to the server's plugin folder.
- Python 3.x
pyfiglet(will be installed automatically if not found)openjdk-16-jre-headlesscurltmuxsudoprivileges
-
Clone the repository:
git clone https://github.com/cr0mb/mcWizard.git cd mcWizard -
Run the script:
python mcWizard.py
Run the script and follow the on-screen menu to manage your Minecraft server. The available options include:
- Update & Install: Update the system and install necessary packages.
- Download Minecraft Server.jar and Ngrok: Download the latest stable build of the Minecraft server and Ngrok.
- Load EULA: Accept the Minecraft EULA.
- Kill All Java Processes: Terminate all running Java processes.
- Check and Set EULA: Ensure the EULA is set to true.
- Create Start Script: Create a start script for the Minecraft server.
- Create Ngrok Script: Create a shell script to perform Ngrok commands (requires Ngrok auth token).
- Check Server Status: Check if the Minecraft server and Ngrok are running.
- Update Minecraft Server: Update the Minecraft server to the latest stable build.
- Download Plugin to Plugin Folder: Download a plugin to the server's plugin folder.
- Restart the Server: Restart the Minecraft server and Ngrok.
- Send Console Commands: Send commands directly to the Minecraft server console.
Additionally, you can start, stop the server and Ngrok, or open the console GUI using the respective options.