04-13-2014, 11:09 PM
When you want to do an update, you need to execute this in the "mc-server" folder where you originally cloned the sources from GitHub:
"git pull" will download the changes in the source code for the main project, "git submodule ..." will download changes in the libraries and default plugins that the server uses, and the "make" command will compile the server from the changed sources. It will overwrite the old executable in the "MCServer" folder, so you should normally copy the entire folder somewhere else for running the server, and after the build overwrite that folder with the contents of the build folder:
Code:
git pull
git submodule update --init
make
Code:
mkdir ~/MCServer
cp -r ~/mc-server/MCServer* ~/MCServer