This script has been made to make the management of minecraft servers easier.
[x] Linux
[ ] Windows
[ ] Mac OS
mcman list
The list command lists all the minecraft servers.
mcman list online
The list online command lists all the online minecraft servers.
mcman install [ path_to_server_installer ] [ server_name ]
The install command installs a server using the provided jar.
mcman remove [ server_name ]
The remove command removes/deletes a server from your machine.
mcman start [ server_name ]
The start command starts a server.
mcman stop [ server_name ]
The stop command stops a server.
mcman attach [ server_name ]
The attach command attaches a cli output from a server.
mcman update
The update command updates the application.
mcman repair
The repair command repairs the application.
- Download the script from releases.
- Allow the script to execute.
- Execute the script without sudo mode:
./install.sh
- Install the packages:
python3
andscreen
. - Download the latest main.py from the main branch.
- Move main.py to a custom location such as '/home/username/apps/mcservermanager/main.py'
- Create an alias for easier execution. If you're using an ubuntu machine follow the "Creating an alias for easier execution on ubuntu systems." guide below.
- Execute this command in a terminal:
nano ~/.bashrc
- Go to the bottom of the file.
- Add this line of code:
alias mcman="python3 /home/your_username/apps/mcservermanager/main.py"
The path needs to go to your custom location. - Save the file.
- Execute this command in a terminal:
source ~/.bashrc