If you haven't already done so, make sure you have forwarded ports in both the OCI interface, and on your Ubuntu server. Instructions to do so are found on main page. After ensuring all the appropriate ports are opened (e.g., specifically, 8443 for the Crafty webUI), proceed with the installation of Crafty.
If you previously set up a bedrock server, you'll need to stop it first
sudo systemctl stop [servername]
sudo systemctl disable [servername]
sudo apt update && sudo apt upgrade && sudo apt install git
git clone https://gitlab.com/crafty-controller/crafty-installer-4.0.git && \
cd crafty-installer-4.0 && \
sudo ./install_crafty.sh
Agree to creating a servce during the install
sudo systemctl start crafty
sudo systemctl enable crafty
-
If you had a previously created a Bedrock Minecraft, you can back it up and import it into crafy.
-
We need to copy our old server to a new location so it can be imported
cd /var/opt/minecraft/crafty
sudo mkdir imports
sudo cp -a /home/ubuntu/minecraftbe/[servername]/. /var/opt/minecraft/crafty/imports/[servername]
sudo chown -R crafty:crafty /var/opt/minecraft
sudo chmod -R 2775 /var/opt/minecraft
- Connect to the webui by going to
https://IP:8443
, - create new server, be sure to select the bedrock toggle, then select import from
/var/opt/minecraft/crafty/imports/[servername]
with executablebedrock_server
- To change properties, go to the server in the crafty webui and select files then change server.properties
- Use Crafty to create, deploy, and manage servers per their documentation
- Go to multiplayer, add server, and use the Ubuntu server's public IPv4 address and port you assigned.
Return to the main page
- If you need to connect via console, there's some addtional instructions, go here next
- As well, you can setup a cross-play compatible server, go here for instructions