This repo assists to run a modern Minecraft server.
- MacOS, Ubuntu or CentOS as a server OS
from:
ssh-keygen -t rsa -b 2048
cat ~/.ssh/id_rsa.pub
mkdir -p ~/mine
cd ~/mine
git clone [email protected]:uprial/mine-ctrl-linux.git ctrl-linux
Check Java Edition version history
brew install openjdk
Check the output of the command above of how to finish the installation.
cp ctrl-linux/config.local.sh.sample ctrl-linux/config.local.sh
vim ctrl-linux/config.local.sh
Check Paper releases.
If Paper doesn't have the server version you picked, check simple instructions to build CraftBukkit and Spigot and try this:
./ctrl-linux/build-server.sh
./ctrl-linux/start-server.sh
stop
./ctrl-linux/clean-worlds.sh
You'll get an error message about EULA. Fix it:
sed -i '' 's/=false/=true/' eula.txt
Download a client launcher: https://ru-m.org/, install the same version as the server and check that the client works with the server. Then stop the server via /stop and clean the mess up:
Download the latest versions of plugins:
- AuthMeReloaded
- Bluemap
- CraftBook
- CustomCreatures
- CustomNukes
- CustomRecipes
- CustomVillage
- LuckPerms
- NastyIllusioner
- TakeAim
- Vault
- WorldBorder
- WorldEdit
- WorldGuard
Check experimental plugins:
For each plugin hosted outside of www.spigotmc.org, please check its existence on www.spigotmc.org.
Check abandoned plugins for updates:
In case any updates in links, please update this document and also the CLIENT.md document.
Change LuckPerms storage-method in plugins/LuckPerms/config.yml:
storage-method: YAML
Enable TerraformGenerator, experimental in bukkit.yml:
worlds:
world:
generator: TerraformGenerator
Make your backup:
cp -r . ../m-clean
tar -zcf ../m-clean.tar.gz *
Check previous configration differences in ./ctrl-linux/expected-diffs and the current differences generated in ./diffs via ./ctrl-linux/make-diff.sh
. Configure the game until the difference in differences is negotiated.
AuthMe
- Register on the server
Bluemap
- Open HTTP://<server.properties:server-ip>:<plugins/BlueMap/webserver.conf:port>
Commands
- /morning should work
- /ench_i @p should work
CraftBook
- Create a sign with "[Chunk]" on the second line. A message should appear.
- Create a railroad of 50 length, put under the 1st powered rail a block of gold. Max speed should be great.
- Create a regular piston, on it put a sign with "[Crush]" on the second line. The piston should break blocks.
CustomCreatures
- Once killed, you should have an apple and two modifiers.
- Change chainmail-zombie.filter.probability to 99.5, /customcreatures reload, the zombie should appear.
CustomNukes
- Put a TNT in center and 8 x SAND, forge a Toy bomb, trigger a chain of 8 Toy bombs via Flint & Steel
CustomRecipes
- Put an Egg in center and 8 x GUNPOWDER, forge a Creeper spawn egg.
CustomVillage
- Find the closest village via https://www.chunkbase.com/apps/village-finder, run /customvillage info
NastyIllusioner
- Chahge per_second_trigger_probability to 99.1, tly for one minute in creative mode in one direction close to the surface, ensure an illusioner appears
TakeAim
- Summon a Skeleton and a Ghast, take a long distance from them, they should aim at you when you're simultaneously moving and jumping
WorldBorder
- Reach the world border
WorldEdit
- Take a wooden axe, pick start via left-click, pick end via right-click, //set sand
WorldGuard
- Take a wooden axe, pick start via left-click, pick end via right-click, /rg claim test
Add your host public key to ~/.ssh/authorized_keys
.
tar -zcf mine-0.tar.gz *
scp mine-0.tar.gz root@remote-host:~/
ssh root@remote-host -t "screen -RD mine"
mkdir -p mine
cd mine
mv ../mine-0.tar.gz ./
tar -xf mine-0.tar.gz
find . -name '._*' -exec rm {} \;
Check server.properties:server-ip
Check plugins/BlueMap/webserver.conf:port
./ctrl-linux/start-server-continuous.sh
Ctrl+a, d
cd ./ctrl-linux
git clone https://github.com/Tiiffi/mcrcon
cd mcrcon/
vim README.md
make
sudo make install
cp ./ctrl-linux/data/m-cron /etc/cron.d/
Check backups work. :-)
/bluemap update world