Skip to content

A simple Minecraft: Java Edition server manager for Mac & Linux

License

Notifications You must be signed in to change notification settings

hw2007/Easycraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Easycraft

A simple Minecraft: Java Edition server manager for Mac & Linux

Features

  • Simple to use, command line interface
  • Start, stop, & restart servers easily
  • Backup servers, and delete old backups to save space
  • Restore a backup with one command! No need to unzip, delete files, and move files yourself.
  • All configurable to meet your needs!

Installing

You will need to have python 3 installed to your system. If you are on mac, it should come pre-installed. To check if you have python, run python3 -V in a terminal. If you get an error, you do not have python installed.

Installing python differs depending on your system, but if you have Homebrew installed, simply run:

brew install python3

Once you have python installed, you can simply download the latest release on the right, and get started!

Setup

To get started, navigate to the directory that contains the easycraft.sh file in a terminal, and run ./easycraft.sh config to open the config file in vim.

Here you can setup a binding for your server. A binding is a way of telling Easycraft where your server(s) are located, and what they should be called.

Find the "bindings" section of the config. It should be at the top. image

Now edit the binding (you'll need to press I to enter insert mode). If your server's launch jar file is located at "~/minecraft/my_server/server-launch.jar", and you want your server to be referred to as "my_server", you would edit the binding like so: image

Before you exit the config file, you might want to change the default backups directory. It should be the next option after bindings. Simply add the full path to wherever you want backups to be stored. Do not put a forward slash at the end of the path.

Alright, now press ESC, and then type :wq to save & exit the config file. You are now ready to get started!

Usage

The script has a help page, so I won't list the commands here. Type ./easycraft.sh help to open it!

If you need more info for some flags or you want to change the default behaviour of something, checkout the config file!

If you want to automate tasks, such as backing up the server once a day, you can use crontab! Look up a quick tutorial on how to use that if you want to.

About

A simple Minecraft: Java Edition server manager for Mac & Linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published