Giter Site home page Giter Site logo

theremote / minecraftbedrockserver Goto Github PK

View Code? Open in Web Editor NEW
770.0 40.0 149.0 35.7 MB

Sets up a Minecraft Bedrock dedicated server on Ubuntu with options for automatic updates and running at startup

Home Page: https://jamesachambers.com/minecraft-bedrock-edition-ubuntu-dedicated-server-guide/

License: MIT License

Shell 100.00%
minecraft raspberry-pi server dedicated-game-server dedicated-server bedrock-dedicated-server bedrock-edition

minecraftbedrockserver's Introduction

Minecraft Bedrock Server

日本語版 README はこちら

Sets up a Minecraft Bedrock dedicated server on Ubuntu / Debian with options for automatic updates, backups and running automatically at startup.
View installation instructions at: https://jamesachambers.com/minecraft-bedrock-edition-ubuntu-dedicated-server-guide/

If you are looking for a Docker containerized version of the Minecraft Bedrock Dedicated Server, it is available here: https://github.com/TheRemote/Legendary-Bedrock-Container

Features

  • Sets up the official Minecraft Bedrock Server (currently in alpha testing)
  • Fully operational Minecraft Bedrock edition server in a couple of minutes
  • Ubuntu / Debian distributions supported
  • Sets up Minecraft as a system service with option to autostart at boot
  • Automatic backups when server restarts
  • Supports multiple instances -- you can run multiple Bedrock servers on the same system
  • Updates automatically to the latest or user-defined version when server is started
  • Easy control of server with start.sh, stop.sh and restart.sh scripts
  • Adds logging with timestamps to "logs" directory
  • Optional scheduled daily restart of server using cron
  • *NEW* Box64 support for 64 bit ARM (aarch64) which greatly improves emulation speed over QEMU by translating some system calls to native system calls

Quick Installation Instuctions

To run the installation type:
curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | bash

Installation Guide

Minecraft Bedrock Dedicated Server Script Installation / Configuration Guide

Installing Resource Packs / RTX Support

For instructions on how to install resource packs (including optional RTX support), view my step-by-step Minecraft Bedrock Dedicated Server Resource Packs / Optional RTX guide here.

Tested Distributions

  • Ubuntu / Ubuntu Server 22.04
  • Ubuntu / Ubuntu Server 20.04
  • Ubuntu / Ubuntu Server 18.04
  • Debian Stretch / Buster

Tested Platforms

  • All PC X86_64 (WORKING)
  • Udoo X86 (WORKING)
  • Intel Compute Stick (WORKING)
  • Other X86_64 platforms (WORKING)
    • ARM 64bit (WORKING -- speed improved with Box64)
      • Raspberry Pi 64 bit (WORKING -- Box64)
      • Raspberry Pi 32 bit (WORKING -- VERY SLOW -- 64 bit recommended!)
      • Tinkerboard (WORKING, 32 bit is slow, 64 bit uses Box64)

Multiple Servers and Installation Paths

The server supports multiple servers at once. When you run SetupMinecraft.sh again, pick the identical root path as any previous servers. The path structure of the scripts is $ROOTPATH/minecraftbe/yourservername, which is why the "root" path SetupMinecraft.sh asks you for should always be the same.

The individual server folder is determined by the "server name" you enter for your server. If it's an existing server, the scripts will be safely updated. If it's a new server, then a new folder will be created under $ROOTPATH/minecraftbe/newservername.

Keep the installation path the same for all servers and the script will manage all this for you.

Version Override

You can revert to a previous version with the revert.sh script included in your directory like this:
./revert.sh
Set previous version in version_pin.txt: bedrock-server-1.19.10.20.zip
If you have a specific version you would like to run, you can also create version_pin.txt yourself like this:
echo "bedrock-server-1.18.33.02.zip" > version_pin.txt
The version hold can be removed by deleting version_pin.txt. This will allow it to update to the latest version again!

Troubleshooting Note - Oracle Virtual Machines

A very common problem people have with the Oracle Virtual Machine tutorials out there that typically show you how to use a free VM is that the VM is much more difficult to configure than just about any other product / offering out there.
The symptom you will have is that nobody will be able to connect. This is not because of the second set of ports that it shows after startup (that is a nearly 3-4 years now old Bedrock bug and all servers do it).
It is because there are several steps you need to take to open the ports on the Oracle VM. You need to both:
  • Set the ingress ports (TCP/UDP) in the Virtual Cloud Network (VCN) security list
  • *and* set the ingress ports in a Network Security Group assigned to your instance

Both of these settings are typically required before you will be able to connect to your VM instance. This is purely configuration related and has nothing to do with the script or the Minecraft server itself.

I do not recommend this platform due to the configuration difficulty but the people who have gone through the pain of configuring an Oracle VM have had good experiences with it after that point. Just keep in mind it's going to be a rough ride through the configuration for most people.

Here are some additional links:

Troubleshooting Note - Hyper-V

There is a weird bug in Hyper-V that breaks UDP connections on the Minecraft server. The fix for this is that you have to use a Generation 1 VM with the Legacy LAN network driver.
See the following links:

Buy A Coffee / Donate

People have expressed some interest in this (you are all saints, thank you, truly)

  • PayPal: [email protected]
  • Venmo: @JamesAChambers
  • CashApp: $theremote
  • Bitcoin (BTC): 3H6wkPnL1Kvne7dJQS8h7wB4vndB9KxZP7

Update History

  • October 1st 2023
    • Fix gpg key import for ARM64 builds
  • January 14th 2023
    • Change connectivity check from google.com to minecraft.net to prevent blocking in some countries
  • September 4th 2022
    • Remove unnecessary code from fixpermissions.sh
  • August 12th 2022
    • Add clean.sh utility script to clean up downloads folder, remove version pinning and force reinstall of current version
    • Enable content log by default which shows errors related to resource/behavior packs
  • August 12th 2022
    • Add clean.sh utility script to clean up downloads folder, remove version pinning and force reinstall of current version
    • Enable content log by default which shows errors related to resource/behavior packs
  • August 10th 2022
    • Moved DirName variable to a custom variable at the top of SetupMinecraft.sh
  • August 4th 2022
    • Script now removes non-alphanumeric characters from the servername variable (to prevent using quotes and other symbols that will break it)
  • August 2nd 2022
    • Add Box64 support for 64 bit ARM (aarch64). 32 bit ARM is not recommended as it cannot use Box64 so it will be much slower than if you install a 64-bit version of your OS on the device.
    • You must be running a 64-bit OS to benefit from the Box64 increased speeds (both Ubuntu and Raspberry Pi OS have 64-bit versions)
    • An easy way to check and make sure you are running 64 bit is to use
      uname -m
      which will return "aarch64" if you are on 64-bit ARM
  • July 24th 2022
    • Use libssl1.1 from repository instead of Ubuntu servers due to it changing every week or two (thanks theblujuice, issue #129)
  • July 21st 2022
    • Increase timeout in minecraftbe.service to help servers with longer backup times from having startup issues
  • July 19th 2022
    • Fix minor syntax error in update.sh
  • July 14th 2022
    • Fix syntax error in new libssl3 install
    • Updated depends.zip for ARM devices (the Docker version is strongly recommended for ARM devices)
  • July 14th 2022
    • Add libssl3 to dependencies
  • July 7th 2022
    • Updated curl fallback installation URL to newest package
    • Punctuation / grammar fixes to README (thanks TheWilbo, pull request #128)
  • June 11th 2022
    • Added allowlist.json and permissions.json default template files to prevent crashes when they are missing (thanks Eike)
  • June 10th 2022
    • Fixed problem in escaping screen command in SetupMinecraft.sh (on the startup check)
  • June 5th 2022
    • Added additional escaping to screen -list commands to prevent similar names from matching the grep query (thanks wheelibin)
    • Changed grep -q command to use single quotes to prevent expansion of additional characters (I still recommend only letters and numbers for the server label/name for the least amount of trouble)
  • May 31st 2022
    • Add check to make sure server.properties exists when unzipping server as without it there will be a startup error
  • May 26th 2022
    • Add revert.sh to SetupMinecraft.sh downloads
    • Add version override documentation
  • May 25th 2022
    • Added version_pin.txt to allow for manual override of running server version. Run ./revert.sh in your server folder to set version n-1 to run on next restart. Delete version_pin.txt when you want to resume automatic updates. (thanks smallsam)
  • May 15th 2022
    • Added screen -wipe to beginning of start.sh to prevent a startup issue that could occur if there was a "dead" screen instance (thanks grimholme)
  • May 9th 2022
    • Updated fallback installation URL for OpenSSL 1.1
  • May 4th 2022
    • Fixed an issue on Debian where the route command (/sbin/route) is not on the default path by adding a check for this
    • Added Ubuntu 22.04 to tested distributions list (I upgraded my desktop OS to this today)
  • April 28th 2022
    • Fixed a line in fixpermissions.sh that could cause picky shells to complain
  • April 24th 2022
    • Added dependency package install for libssl1.1 when it's available in apt
    • Added fallback installation for libssl1.1 to hopefully fix the installer for Ubuntu 22.04/22.10 and other distros using libssl3
    • Fixed a minor 'tail' error message that could occur upon starting the server if no logs were created yet
    • Added DEBIAN_NONINTERACTIVE to some apt commands to try to suppress some interactive dialogs (such as running outdated kernel) that were causing the installer to get stuck
    • Fixed a mistake in new multicore backup causing it to select the wrong compressor
  • April 16th 2022
    • Added multiple CPU core support for backups which should speed up backup process
  • March 19th 2022
    • Removed /sbin qualifier from route command as the PATH variable is now stored at the top of each script by SetupMinecraft.sh (thanks LookedPath, issue #120)
  • March 10th 2022
    • Add new allowlist.json to the unzip whitelist (thanks shaman79, issue #118)
    • Added buy a coffe / donation information (thanks vandersonmota, issue #117)
  • November 2nd 2021
    • Fixed extra / in front of permissions fix script (thanks MarkBarbieri, issue #109)
  • October 31st 2021
    • Fixed missing sudo from fixpermissions line in start.sh (thanks MarkBarbieri, issue #109)
    • Fixed missing -a parameter from /etc/sudoers file addition thanks MarkBarbieri, issue #109)
  • August 1st 2021
    • Updated documentation and root path selection prompt to make it more clear that the root directory should be the same for ALL servers
    • Don't change unless installing to a different disk, and then use the same root path for ALL servers as they will follow the structure $ROOTPATH/minecraftbe/yourservername
    • Choosing a perfect storm of invalid paths has resulted in people's server files being pruned before from being off by one folder sublevel etc. Please follow instructions carefully here and do not change it and make sure you have backups (saved outside of the main Minecraft backups folder) before ever trying to install an additional server or updating existing scripts.
    • Fortunately this person was starting a new server so the pruning didn't get anything serious but I can't stress enough to leave the paths alone unless you're legitimately an expert with a use case like having an entire separate disk for all the Minecraft servers. Use the same root directory every time (preferably the default)!
  • July 27th 2021
    • Cleaned up SetupMinecraft.sh and removed redundant code by organizing code into functions
    • Scripts now fix all server file permissions on startup
    • Added /etc/sudoers.d/minecraftbe file to contain passwordless sudo permission for fixpermissions and sudo systemctl start server
  • July 21st 2021
    • Updated documentation and restart.sh to document how to enable systemd's service showing as "online" after called by restart.sh (useful for people tracking the servers using the systemd service) by adding a line to the sudoers file to allow passwordless sudo for the sudo systemctl start yourservername command. Restart.sh now has commented lines at the bottom along with instructions on how to enable if you need this functionality (most people probably won't)
    • Added error redirection to crontab line to help diagnose failures during scheduled restarts and removed ExecStartPre from the service as it wasn't doing anything (run ./fixpermissions.sh if you need to fix the permissions) and caused compatibility issues with older systemd versions
  • July 17th 2021
    • Added in check to ensure start.sh and other scripts are not being ran as root. If this happens you have to use sudo screen -r to find the screen and the permissions will be wrong since root isn't the owner of the server files
    • If you know you ran the script/server as root (which starts creating files owned by root instead of the regular user) and your server won't start/is wonky run the fixpermissions script from your server folder with ./fixpermissions.sh and it will correct them for you!
  • July 15th 2021
    • Added update.sh convenience script to run SetupMinecraft.sh to update everything to the latest version
    • Added validation loop for directory path -- if you are upgrading from an old version you should use the default directory.
    • Nothing good can come from changing this and I've never seen or heard of it solving a single problem despite being requested for years (especially if you don't understand relative vs fully qualified Linux paths and other pitfalls -- leave it default!).
    • Attempting to solve this problem with safety checks in case this is useful to some people and I just haven't heard about it but it may be removed entirely or turned into a check that you have to download and modify the script to enable if it continues to be a source of strife for people.
    • Updated depends.zip for Raspberry Pis
  • July 4th 2021
    • Added missing sudo line to some prerequistes and removed apt-get install sudo as the script no longer runs as root (install sudo if missing) - thanks Rick Horn
  • July 3rd 2021
    • Added Accept-Encoding: Identity header to curl as a very small % of users are getting an "Access Denied" error without this header (thanks titiscan, pull request #95
    • Added default language header to curl as non-english computers were getting an Access Denied error
    • Script now checks for gawk being present in start.sh. If it's not installed (likely due to reusing old SetupMinecraft.sh files) timestamps will be disabled. This will prevent the server from failing to start. This is avoided by not running an old copy of SetupMinecraft.sh!
    • Removed broken screen -r command at the end of SetupMinecraft.sh as fixing it actually causes lockups -- instead now gives the command (screen -r) to pull up the Minecraft console. Press Ctrl+A then Ctrl+D to hide the console once you're inside it.
    • Added code to prevent SetupMinecraft.sh from being ran as a local file (please use the new method of curl https://raw.githubusercontent.com/TheRemote/MinecraftBedrockServer/master/SetupMinecraft.sh | bash)
  • July 2nd 2021
    • Improved dependency detection and installation
    • Removed wget dependency
    • Added gawk dependency -- this should not have any impact on most systems but on systems that use mawk by default this will fix server startup issues related to timestamps since mawk doesn't support strftime
    • Fixed stop.sh's -t countdown option (thanks da99Beast, issue #76)
    • Fixed a nasty issue where the installation of libcurl3 over the top of libcurl4 was allowed in some configurations (like Ubuntu 18.04) and was clobbering curl (thanks Goretech)
    • Fixed an issue where empty folders could be created in the wrong location if start.sh was not ran from the server folder (thanks CobraBitYou, issue #93
  • July 1st 2021
    • Changed from wget to curl as wget is freezing (but curl works)
    • Added randomization to user agent
  • June 19th 2021
    • Fixed timestamps to display on every line (thanks murkyl)
    • Added chmod command after unzip line to make bedrock_server executable for issue #22 (thanks murkyl)
    • Merged pull request #91 from starkey-01 to add prompt for an alternate installation directory. This has been requested for a while so thanks starkey-01!
    • Merged pull request #88 clarifying instructions to run script as non-root user (thanks sparagi!)
  • May 23nd 2021
    • The fixpermissions.sh script now displays the last 5 lines from the latest log file to aid in troubleshooting. If your server won't start this script often will take care of it and the logs can give useful information otherwise!
  • May 22nd 2021
    • Added setting the path variable to each script to prevent service from failing to start due to not being able to find the right path.
    • Please redownload SetupMinecraft.sh for this update. The script will give you a warning each time you start up that it couldn't set the path variable without the new SetupMinecraft.sh script
    • Added user agent to wget string to prevent update check from failing
    • Added automatic update to SetupMinecraft.sh if it has not been modified for more than 7 days
    • Updated Raspberry Pi dependencies
  • April 22nd 2021
    • Added a safety check to prevent installing on 32 bit (i386 or i686) operating systems. The official Bedrock dedicated server has only been released as a 64 bit (x86_64) binary and attempts at emulation on 32 bit have failed to yield any successful results!
    • Added chmod +x bedrock_server to start.sh as updates seem to be removing executable permissions sometimes
    • Fix removing old backup directory context (thanks murkyl, issue #76)
  • April 20th 2021
    • Fully qualified route command with /sbin/route to alleviate network check breaking some servers
    • Added safety check to prevent using the server label 'minecraftbe' which can break the scripts
    • Added libc6 dependency check as several people have reported libns1.so.1 missing
    • Added curl and libcurl3 dependency as a fallback for older distros to avoid missing libcurl.so errors
    • Added libcrypt1 dependency check
  • April 7th 2021
    • If you are updating from an old version make sure you remove the old SetupMinecraft.sh and redownload the new version from scratch. If you are seeing something like userxname in the systemd service you're using an old version of SetupMinecraft.sh and need to download the latest
    • Updated fixpermissions.sh -- can fix issues with permissions if you are seeing them!
    • Fixed a bug with userxname appearing in start.sh and not being updated to the correct username
    • Fixed an issue that could trigger PAM authentication in start.sh
  • March 16th 2021
    • Fixed a incomplete sudo line in start.sh that was throwing an error (thanks /u/zfa from reddit!)
  • February 1st 2021
    • Added fixpermissions.sh utility script to take ownership of Minecraft server files manually (the systemd startup service does this automatically for you if you are using it)
  • January 31st 2021
    • Added .\ in front of the screen -q checks to prevent similar usernames from tripping up window detection
    • Server now takes ownership of server files on each start to prevent folks a whole heap of trouble and heartache when restoring backups/moving files/etc.
  • December 20th 2020
    • Added experimental QEMU support for 32 bit (i386, i686) similar to how the ARM support works
  • December 18th 2020
    • Added safety check to prevent the script from being ran as root or sudo. This would cause the script to be installed to the /root folder.
    • If you know what you are doing and want to override just edit the check out of SetupMinecraft.sh but otherwise just run it as ./SetupMinecraft.sh normally.
    • Fixed a nasty bug that could cause start.sh and stop.sh to disapper (thanks Paul and James). This was related to log pruning and not having a hard path. If you downloaded the SetupMinecraft script in the past 3 days update and try again here and you'll be set!
  • December 15th 2020
  • December 13th 2020
    • RTX beta is now supported as long as you aren't on the "beta" channel anymore. Unenroll from the RTX beta and downgrade to normal Minecraft. RTX is in normal Minecraft now.
    • Fixed ARM support for Raspberry Pi, Tinkerboard, and others. Be warned, it's still very slow on ARM!
    • Updated depends.zip
  • December 10th 2020
    • Cleaned up documentation
    • Added notice that the RTX beta version of Minecraft's dedicated server has not been released yet. Support will be added the moment it is!
    • Added alpha software notice for Bedrock dedicated server per issue 34
  • November 17th 2020
    • Fixed server autoupdating in start.sh
    • Minecraft.net had made a change where the "--spider" parameter would return a 503 -- removed this to fix automatic updates
  • July 24th 2019
    • Fixed Raspberry Pi support
  • July 10th 2019
    • Fixed OpenSSL error in 1.12 (thanks obviator!)
    • Fixed ports not choosing defaultS if nothing is entered (thanks sweavo!)
  • July 2nd 2019
    • Added libcurl4 Bedrock server dependency to installer script to prevent server startup from failing
  • July 1st 2019
    • Added support for multiple servers
    • Choose the folder name and port for the server in SetupMinecraft.sh (must be unique per server instance)
  • May 23rd 2019
    • Fixed typo in restart.sh where there was a space after stop command preventing the server from closing cleanly
    • Added 10 second sleep after a force close to give the server time to fully close before calling start.sh
    • Fixed server not restarting after scheduled nightly reboot (related to restart.sh bug)
    • Removed some direct (for example paths like /bin/sleep) that were harming cross platform compatibility
  • April 26th 2019
    • Tested new Bedrock dedicated server 1.11.1.2
    • Added startup counter to server instead of waiting a flat 4s to reduce unnecessary waiting
    • Fixed ARM support (64 bit required)
  • April 18th 2019
    • Changed StopChecks++ to StopChecks=$((StopChecks+1)) to improve portability (thanks Jason B.)
    • Added TimeoutStartSec=600 to server to prevent it being killed if taking longer than usual to download server
  • March 7th 2019
    • Added Armbian support
    • Tested with Tinkerboard
    • Fixed portability issue with route vs /sbin/route
  • March 2nd 2019
    • Running the SetupMinecraft.sh script after already installing now updates all scripts and reconfigures the minecraftbe service
    • Script now works on any Debian based distribution (Ubuntu, Debian, Raspbian, etc.)
    • Added *very slow* support for ARM platforms such as Raspberry Pi with QEMU emulation of x86_64
    • Renamed service to minecraftbe to avoid confusion with Java version
  • February 15th 2019
    • Backups now compress into .tar.gz format (saved in backups folder)
    • Startup service waits up to 20 seconds for an internet connection to allow time for DHCP to retrieve an IP address
    • Removed unnecessary sleep time on stop.sh script so it returns as soon as the minecraft server closes
  • February 8th 2019
    • Initial release

minecraftbedrockserver's People

Contributors

jordanmajd avatar kmpoppe avatar masayakondo999 avatar omkhar avatar rumyantsevmichael avatar smallsam avatar sparagi avatar sweavo avatar theremote avatar thewilbo avatar titiscan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minecraftbedrockserver's Issues

I can't open server in RasberryPi

ERROR: Id.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/id.so.preload cannot be preloaded (cannot open shared object file): ignored.
NO LOG FILE! - setting up server logging...

Unhandled prefetch abort: unknown 1 (0x001) at 0x604eb1a6

My device is RaspberryPI 3B+

Can't connect to the server as if no ports is open?

Hi.

I used your guide to install on a brand new Digital Ocean instance with Ubuntu 18.04.3(LTS) and the install goes great.
The server starts as well, but I can't connect to the server:

[2020-04-14 10:55:10 INFO] Starting Server
[2020-04-14 10:55:10 INFO] Version 1.14.32.1
[2020-04-14 10:55:10 INFO] Session ID 90c185f8-de4a-4767-ab45-a0dcc3960a6d
[2020-04-14 10:55:10 INFO] Level Name: Emil
[2020-04-14 10:55:10 INFO] Game mode: 1 Creative
[2020-04-14 10:55:10 INFO] Difficulty: 1 EASY
[2020-04-14 10:55:11 INFO] opening worlds/Bedrock/db
[2020-04-14 10:55:13 INFO] IPv4 supported, port: 19132
[2020-04-14 10:55:13 INFO] IPv6 supported, port: 19133
[2020-04-14 10:55:13 INFO] IPv4 supported, port: 51358
[2020-04-14 10:55:13 INFO] IPv6 supported, port: 38329
[2020-04-14 10:55:15 INFO] Server started.

I also tried to telnet localhost 19132on the server and it fails? Do I need to open some ports?

$ telnet localhost 19132
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Is this project dead?

Piles of issues, bunch of PRs. I happen to pass by here due to a problem I have saying that my server is outdated even if im using the latest version with the hopes that there was a change to parse the download correctly.

Is there any active fork for this?

idea: restructure setup script into two parts: sudo commands and non-sudo commands

I like how this tutorial suggests running the bedrock server under a separate, lower-privileged user, to increase security.

Perhaps the same thing could be achieved with MinecraftBedrockServer? Perhaps by separating the parts that require sudo into a separate script? Then, this could be installed in two parts, one script (the sudo commands) by a more privileged user, and the rest of the commands by a less privileged user.

I tried to get this working, but got stuck and gave up for now. But I thought I'd share this idea, in case anyone else wants to give it a shot. And also, to see if y'all think it would actually increase security and be worth the hassle.

Multiple bedrock servers

Hi,

I found a small problem when running 2 servers from startup script.

Config:
minecraft1:

server-port=19132
server-portv6=19133

minecraft2:

server-port=29132
server-portv6=29133

When minecraft2 starts first then:

[2019-11-19 13:49:36 INFO] IPv4 supported, port: 29132
[2019-11-19 13:49:36 INFO] IPv6 supported, port: 29133
[2019-11-19 13:49:36 INFO] IPv4 supported, port: 19132
[2019-11-19 13:49:36 INFO] IPv6 supported, port: 19133

So when minecraft1 starts it writes:

[2019-11-19 13:51:11 INFO] IPv4 supported, port: 0
[2019-11-19 13:51:11 INFO] IPv6 supported, port: 0
[2019-11-19 13:51:11 ERROR] Network port occupied, can't start server.

I've added to minecraft2.service line:
After=network-online.target minecraft1.service

After this modification both servers starts properly on system startup.
But manually I have to control not to start minecraft2 when minecraft1 is not running.
Maybe the better solution is set both server to non-standard port?

Regards,
Mickey

hi i have problem when i start my server on debian 9

Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Network interface not up, will try again in 1 second
Waiting for network interface to come up timed out - starting server without network connection ...
Checking for the latest version of Minecraft Bedrock server ...
--2020-06-29 16:04:02-- https://minecraft.net/en-us/download/server/bedrock/
Resolving minecraft.net (minecraft.net)... 13.249.4.64, 13.249.4.48, 13.249.4.41, ...
Connecting to minecraft.net (minecraft.net)|13.249.4.64|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.minecraft.net/en-us/download/server/bedrock/ [following]
--2020-06-29 16:04:02-- https://www.minecraft.net/en-us/download/server/bedrock/
Resolving www.minecraft.net (www.minecraft.net)... 152.199.21.175, 2606:2800:233:1cb7:261b:1f9c:2074:3c
Connecting to www.minecraft.net (www.minecraft.net)|152.199.21.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 305880 (299K) [text/html]
Saving to: 'downloads/version.html'

downloads/version.h 100%[===================>] 298.71K --.-KB/s in 0.06s

2020-06-29 16:04:03 (4.97 MB/s) - 'downloads/version.html' saved [305880/305880]

Minecraft Bedrock server is up to date...
Starting Minecraft server. To view window type screen -r devbds
To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D
root@omegaserv:~/minecraftbe/devbds# screen -r devbds
There is no screen to be resumed matching devbds.

[Fail to start] Exec Format Error on Pi 4

Latest version throws Exec Format Error and immediately closes screen.

Log of a fresh install:
/bin/bash: /home/pi/minecraftbe/testServer/bedrock_server: cannot execute binary file: Exec format error

End of Setup Script of a fresh install:
Setup is complete. Starting Minecraft testServer server...
There is no screen to be resumed matching testServer.

Possibly missing QEMU libraries?
(There are no other servers running on this device).

Only using one CPU core

Hello, I recently started using this program over one made for the windows environment. It works perfectly except for one issue, which is more than likely my own fault, I just cannot figure it out.

My server.properties file can be found here
https://pastebin.com/raw/vDpsAGTs

As you can see max-threads is set to zero. However, when we open htop we can see that only core 24 is being used, and its being maxed out at 100%.
https://ibb.co/bWw6Hg7

I know its being limited as the server will normally run PERFECTLY and the cores will run at maximum ~15%. The server is also very laggy (server sided lag, ex. mobs move slowly, slow reaction time, blocks take long time to drop entity, etc.)

Bedrock Server is not listening to Ports

I am on Ubuntu Server 18.04 LTS and I used the script here to install an Bedrock Server.
I am hosting this Server on a VPS so all Ports are unblocked by any type of firewall.
I used the ufw to enable TCP / UDP on 19132, 19133 and custom ports.
After startup of the Bedrockserver " lsof -i -P -n | grep LISTEN " run as sudo and local user doesnt show the ports which should be open.
External pings are not working either. But if I setup a java server on any port this port will correctly open and the server will listen.
image
image
image
image
image

Stop script issue

Ran on two brand new Ubuntu VPS, one 18.04, one 19 and had the same issue using stop.sh:

./stop.sh: line 37: syntax error near unexpected token `done'
./stop.sh: line 37: `done'

Looking at the code, looks like the while loop formatting is the issue, updating line 33 from:

while [ $CountdownTime -gt 0 ] do

To:

while [ $CountdownTime -gt 0 ]; do

resolves the issue, I can open a PR.

Fails right after start?

Hi!
I just tried to setup this server on a Ubuntu 18.04.03. Right after the install finished it gives me this:
Server is already started! Press screen -r minecraft to open it

But I cannot jump into the screen:
minecraft@minecraft:~/minecraftbe/minecraft$ screen -r minecraft
There is no screen to be resumed matching minecraft.

Also tried running it manually, but im not getting any errors:
minecraft@minecraft:~/minecraftbe/minecraft$ ./start.sh
Server is already started! Press screen -r minecraft to open it

minecraft@minecraft:~/minecraftbe/minecraft$ screen -r minecraft
There is no screen to be resumed matching minecraft.

Any ideas?

Server failed to start

Hello,

After execute the script, the minecraft server failed to start, here are the logs :

Nov 5 19:23:11 lion systemd[1]: Starting cocoland minecraft server...
Nov 5 19:23:11 lion bash[11224]: Checking for the latest version of Minecraft Bedrock server ...
Nov 5 19:23:12 lion bash[11224]: --2019-11-05 19:23:12-- https://minecraft.net/en-us/download/server/bedrock/
Nov 5 19:23:12 lion bash[11224]: Resolving minecraft.net (minecraft.net)... 54.230.218.164, 54.230.218.111, 54.230.218.87, ...
Nov 5 19:23:12 lion bash[11224]: Connecting to minecraft.net (minecraft.net)|54.230.218.164|:443... connected.
Nov 5 19:23:12 lion bash[11224]: HTTP request sent, awaiting response... 302 Moved Temporarily
Nov 5 19:23:12 lion bash[11224]: Location: https://www.minecraft.net/en-us/download/server/bedrock/ [following]
Nov 5 19:23:12 lion bash[11224]: --2019-11-05 19:23:12-- https://www.minecraft.net/en-us/download/server/bedrock/
Nov 5 19:23:12 lion bash[11224]: Resolving www.minecraft.net (www.minecraft.net)... 2606:2800:233:18f9:1142:8f:20aa:11e2, 152.199.20.92
Nov 5 19:23:12 lion bash[11224]: Connecting to www.minecraft.net (www.minecraft.net)|2606:2800:233:18f9:1142:8f:20aa:11e2|:443... connected.
Nov 5 19:23:12 lion bash[11224]: HTTP request sent, awaiting response... 200 OK
Nov 5 19:23:12 lion bash[11224]: Length: unspecified [text/html]
Nov 5 19:23:12 lion bash[11224]: Saving to: ‘downloads/version.html’
Nov 5 19:23:12 lion bash[11224]: 0K .......... .......... .......... .......... .......... 1.96M
Nov 5 19:23:12 lion bash[11224]: 50K .......... .......... .......... .......... .......... 2.31M
Nov 5 19:23:12 lion bash[11224]: 100K .......... .......... .......... .......... .......... 11.0M
Nov 5 19:23:12 lion bash[11224]: 150K .......... .......... .......... .......... .......... 11.4M
Nov 5 19:23:12 lion bash[11224]: 200K .......... .......... .......... .......... .......... 2.91M
Nov 5 19:23:12 lion bash[11224]: 250K .......... .......... .......... .......... ...... 13.5M=0.07s
Nov 5 19:23:12 lion bash[11224]: 2019-11-05 19:23:12 (3.86 MB/s) - ‘downloads/version.html’ saved [303314]
Nov 5 19:23:12 lion bash[11224]: Minecraft Bedrock server is up to date...
Nov 5 19:23:12 lion bash[11224]: Starting Minecraft server. To view window type screen -r cocoland
Nov 5 19:23:12 lion bash[11224]: To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D
Nov 5 19:23:12 lion systemd[1]: Started cocoland minecraft server.
Nov 5 19:23:12 lion bash[11240]: Server is not currently running!
Nov 5 19:23:12 lion systemd[1]: cocoland.service: Control process exited, code=exited status=1
Nov 5 19:23:12 lion systemd[1]: cocoland.service: Unit entered failed state.
Nov 5 19:23:12 lion systemd[1]: cocoland.service: Failed with result 'exit-code'.

I can't find where is the error, can you help me to resolve it ?

Thanks

Install script forces installation to current users homedir

Hi, why does the install script force itself to install to the executing users homedir? I want the server files to be stored on a different partition than the one my homedir is on, but the script keeps trying to force itself into the homedir folder. II was able to modify the script to use a variable instead of the hardcoded ~ I found all over the place, it puts the files where I want them now. I strongly recommend you remove the default install path and make it the first thing the script asks you for instead

Unable to connect to world error when trying to connect to my server.

Hi.
I have a ubuntu vps. I ran the script and all went well. I was able to start the server. It said server started, however when my friends try to connect to my external IP with the port 19132, it says unable to connect to world. Nothing shows up on the logs. Port 19132 is open on UFW. What am I doing wrong here?

Removing old backups is done in the wrong directory context

The default script does the following for removing old backups:

# Rotate backups -- keep most recent 10
Rotate=$(ls -1tr dirname/minecraftbe/servername/backups | head -n -10 | xargs -d '\n' rm -f --)

The problem is that the 'rm' command that xargs is operating on is just the list of files but rm is performing them in the wrong working directory.

A simple fix for this would be to change to the correct directory first. So the following works:

# Rotate backups -- keep most recent 10
Rotate=$(pushd dirname/minecraftbe/servername/backups; ls -1tr | head -n -10 | xargs -d '\n' rm -f --; popd)

update

plz update server the verison is old

Anyway to edit level.dat?

Can't open in Notepad or popular pre-existing third party editors that usually can edit the file.
I just want to toggle the coords option on.

Server failed to start because there was no screen to be resumed.

I encountered the error message at the end of a server setup. The error went as follows:

Minecraft server failed to start after 20 seconds.
There is no screen to be resumed matching Server.

To reproduce this error I followed the steps listed in the read me file. Once I ran the script I choose the following options.

  1. IPV4 port: 19132
  2. IPV6 port: 19133
  3. Start automatically: y
  4. backup at 4am daily: y

Even though the startup script claims that the set up was not successful, it still creates the file and all of the associated data. When running the start.sh script it throws no error messages but ends immediately.

Invalid user userxname

Permissions=$(sudo chown -R userxname dirname/minecraftbe/servername >/dev/null)

Who is userxname? This (predictably) causes the following error:

terry@os3-354-10066:~/minecraftbe/Bedrock-KIX$ ./start.sh 
[sudo] password for terry: 
chown: invalid user: 'userxname'
Checking for the latest version of Minecraft Bedrock server ...
<SNIP>

OpenSSL

Hello,
Why is OpenSSL being installed ?
Is it needed to run a minecraft bedrock server ?

Thanks

Add plugin support

Hi,
If any of you have ever used Pocketmine, you will know you can get plugins. I understand it may not be possible to do this right now, but it would be great to get plugins for the dedicated server. Thanks!

bedrock_server: Permission denied

Starting from the automatic restart at 0400 JST today (2021-04-06 19:00 UTC), the server suddenly refuses to work, with the single line "bedrock_server: Permission denied" appearing in logs:

tkimura@tower:~/minecraftbe/Bedrock1/logs$ grep -c $ * | tail
Bedrock1.2021.04.02.16.48.30.log:19
Bedrock1.2021.04.02.17.06.47.log:28
Bedrock1.2021.04.03.04.00.56.log:26
Bedrock1.2021.04.04.04.00.55.log:228
Bedrock1.2021.04.05.04.01.10.log:175
Bedrock1.2021.04.06.04.00.55.log:204
Bedrock1.2021.04.07.04.00.57.log:1
Bedrock1.2021.04.07.14.17.02.log:1
Bedrock1.2021.04.07.14.20.07.log:1
Bedrock1.2021.04.07.14.21.32.log:1
tkimura@tower:~/minecraftbe/Bedrock1/logs$ cat Bedrock1.2021.04.07.04.00.57.log
/bin/bash: /home/tkimura/minecraftbe/Bedrock1/bedrock_server: Permission denied
tkimura@tower:~/minecraftbe/Bedrock1/logs$

bedrock_server is owned by me, like (I assume) it has been before 0400 JST:

tkimura@tower:~/minecraftbe/Bedrock1$ ls -l bedrock_server
-rw-r--r-- 1 tkimura tkimura 69192536 Mar 20 06:28 bedrock_server
tkimura@tower:~/minecraftbe/Bedrock1$ whoami
tkimura
tkimura@tower:~/minecraftbe/Bedrock1$

I did a fresh run of the latest SetupMinecraft.sh on another server, and the exact same issue occurs. Anybody else experiencing this issue? Any ideas how to fix?

Rotate backups

Please add backup rotation feature as the backups tend to pile up after some time.

start.sh Auto Update Broken

# Test internet connectivity first wget --spider --quiet https://minecraft.net/en-us/download/server/bedrock/
results in: "HTTP request sent, awaiting response... 503 Service Unavailable
Remote file does not exist -- broken link!!!"

# Download server index.html to check latest version wget -O downloads/version.html https://minecraft.net/en-us/download/server/bedrock/
result in: "downloads/version.html: No such file or directory"

Auto-update fails and although server will restart correctly, clients will be unable to connect to it.

Level Migration

I've setup a new server and attempted to migrate an existing level (local Win10 1909 hosted level, client v1.16.10) to the server (Ubuntu 20 hosted on a vSphere 6.0 server, also using Webmin to easier access settings & services) and although I've got things transitioned, there's a few tricks and caveats to note. This likely should be added to your documentation.

To Migrate World from device to device:

  1. Stop server
  2. Copy world folder from: "C:\Users%username%\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds".
    The world folder will be a scrambled set of characters ending with an "=" sign. I recommend opening world in Minecraft so you know which one it is, then in Windows Explorer, sort by last modified date.
  3. Copy that folder to the server Minecraft folder:
    "minecraftbe[key word specified during setup]\worlds"
  4. Remove the "=" from the name of the folder.
  5. Edit the file "server.properties", changing the field "level-name" (line 55) to the name of the world folder you copied over.
  6. Save file
  7. Start Server

Caveats:

  • All Inventory on player is lost. Recommended to store in a chest first for any players that have played on this world.
  • Any Experience gained on player will be reset to 0 (Is this normal with other migrations??)
  • Your spawn will reset to the World spawn point. Recommend noting your coordinates if possible.
  • Operator status does not follow the world. You will need to reset this once the world is started using the "whitelist.json" & "permissions.json" files.

Multi-Worlds Recommendation:

I would also suggest expanding your documentation to explain how to setup the multi-world servers as well. It took a little bit for me to figure it out since there's no details on the process. Thanks :)

Kudos:

Thanks to those who've contributed to this. Setting up this server was relatively easy to do with the package and instructions that have been provided.

How to add a timestamp to the screen and the log.

Thank you for the great script. I wanted to include a timestamp of all actions to include when people logged in and out. I modified mine in the following way:

Create the script named helper.sh in the server root
#!/bin/bash

LD_LIBRARY_PATH=/Path/ServerName> /Path/ServerName/bedrock_server | awk '{ print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }'

Change last line in start.sh to:
screen -L -Logfile logs/.$(date +%Y.%m.%d.%H.%M.%S).log -dmS /bin/bash -c "/Path/ServerName /Path/ServerName/helper.sh"

Path= the path where the servers are
ServerName = name of the server

Now you get logs like this:
[2021-03-10 04:00:55] NO LOG FILE! - setting up server logging...
[2021-03-10 04:00:55] [2021-03-10 04:00:55 INFO] Starting Server
[2021-03-10 04:00:55] [2021-03-10 04:00:55 INFO] Version 1.16.210.05
[2021-03-10 04:00:55] [2021-03-10 04:00:55 INFO] Session ID 15898e26-8ad4-4ed7-8b6f-eb26f8bd3857
[2021-03-10 04:00:55] [2021-03-10 04:00:55 INFO] Level Name: paradise
[2021-03-10 04:00:55] [2021-03-10 04:00:55 INFO] Game mode: 0 Survival
[2021-03-10 04:00:55] [2021-03-10 04:00:55 INFO] Difficulty: 1 EASY
[2021-03-10 04:00:55] [INFO] opening worlds/paradise/db
[2021-03-10 04:00:58] [INFO] IPv4 supported, port: 19132
[2021-03-10 04:00:58] [INFO] IPv6 supported, port: 19133
[2021-03-10 04:00:58] [INFO] IPv4 supported, port: 56338
[2021-03-10 04:00:58] [INFO] IPv6 supported, port: 55859
[2021-03-10 04:01:00] [INFO] Server started.
[2021-03-10 04:06:55] [INFO] Running AutoCompaction...
[2021-03-10 04:12:55] [INFO] Running AutoCompaction...
[2021-03-10 04:18:55] [INFO] Running AutoCompaction...
[2021-03-10 04:24:55] [INFO] Running AutoCompaction.

raspberry pi 4 missing ld-linux-x86-64 issue

It seems like the raspberry pi setup is broken.
After the setup complete it fails to start on Raspberry Pi 4.

Setup is complete.  Starting Minecraft server...
Minecraft server failed to start after 20 seconds.
There is no screen to be resumed matching test.

tail /logs/xxx.log says

/lib64/ld-linux-x86-64.so.2: No such file or directory

Am I missing something?

Please Help Me Understand.

The install seems pretty straight forward and It seems like it is well built. (as far as i can tell -(.)/- ). I set up my system a while ago. It uses the most basic crontab + screen combo possible to launch my server automatically. (I'm proud of it but i want to improve.) I have herd about systemd but cant figure out how to use it and I want to learn enough to write an auto update similar to what you have. If you can, will you explain in as much detail as you can how lines 37 to the end of start.sh works.

I know this isn't an issue but i didn't know how to ask you otherwise.

Hugh Sparks
(The 15yo wannabe programmer)

Crash restart?

[2020-07-27 15:41:31 INFO] Package: com.mojang.minecraft.dedicatedserver
Version: 1.16.1.2
OS: Linux
Server start: 2020-07-27 13:26:33 EDT
Dmp timestamp: 2020-07-27 15:41:31 EDT
Upload Date: 2020-07-27 15:41:31 EDT
Session ID: 3b8263d5-5875-499b-bc01-8495bca1f81a
Commit hash:
Build id: development
CrashReporter Key: 1ad85b68-eb6c-3af0-b372-46d31a5b7e2f

Crash
[2020-07-27 15:41:31 INFO]      at Mob::baseTick[] (UnknownFile:?)
        at Actor::normalTick[] (UnknownFile:?)
        at Mob::normalTick[] (UnknownFile:?)
        at Monster::normalTick[] (UnknownFile:?)
        at Actor::tick[BlockSource&] (UnknownFile:?)
        at LevelChunk::tick[BlockSource&, Tick const&] (UnknownFile:?)
        at Player::tickWorld[Tick const&] (UnknownFile:?)
        at ServerPlayer::tickWorld[Tick const&] (UnknownFile:?)
        at std::function<bool [Player&]>::operator[][Player&] const (UnknownFile:?)
        at Level::forEachPlayer[std::function<bool [Player&]>] (UnknownFile:?)
        at Level::tick[] (UnknownFile:?)
        at ServerLevel::tick[] (UnknownFile:?)
        at GameSession::tick[] (UnknownFile:?)
        at Minecraft::tickSimtime[int, int] (UnknownFile:?)
        at Minecraft::update[] (UnknownFile:?)
        at ServerInstance::_update[] (UnknownFile:?)
        at clone (UnknownFile:?)
352d2c05-37d8-4fdf-9b82-df19d06df768

screen exited with this error log.

Could you revive the server automatically?

Make it clear the Minecraft Server this installs is in Alpha testing.

Please add to the README or someplace obvious that the server installed is in Alpha.

I installed this several months ago and now I am running into issues with the server failing to save the world properly. Following the trail back, the server this script installs is from Minecraft.net. on Minecraft.net it is made clear that the server is in Alpha. I would not have installed the server (for what I was using it for) if I had known it was in Alpha.

question

hi @TheRemote does the server its self auto update if not is there a way to force update

-r to open server window

Upon starting the server everything works correctly except that when I try -r to open and view the running server it returns an unknown command message and does not open the server in another window. Any ideas?

question

is multiple servers working???

Starting server deletes all start/stop/restart files

I downloaded today (12/16/2020) and whenever the server starts it deletes the following files (to my knowledge):

  • bedrock_server
  • libCrypto.so
  • server.properties
  • stop.sh
  • restart.sh
  • start.sh
  • valid_known_packs.json

There is no screen to be resumed matching minecraft. (Ubuntu 16.04.6 (LTS) x64)

On a brand new Ubuntu 16.04.6 (LTS) x64 instance (on Digital Ocean), the script ends with no screen and no minecraft server has been started:

There is no screen to be resumed matching minecraft.

This is how the install script ends:

Start Minecraft server at startup automatically (y/n)?y
Created symlink from /etc/systemd/system/multi-user.target.wants/minecraft.service to /etc/systemd/system/minecraft.service.
Your time zone is currently set to Etc/UTC. Current system time: Tue Apr 14 11:13:37 UTC 2020
You can adjust/remove the selected reboot time later by typing crontab -e or running SetupMinecraft.sh again.
Automatically restart and backup server at 4am daily (y/n)?y
no crontab for root
Daily restart scheduled. To change time or remove automatic restart type crontab -e
Setup is complete. Starting Minecraft server...
Minecraft server failed to start after 20 seconds.
There is no screen to be resumed matching minecraft.

CPU Usage

Hello,

First of all, your script is simply amazing. I'm running into a very annoying issue though.
When the server idles, it's using about 3-4% cpu, but as soon as one player joins, it spikes to 100% and stays between 75 - 100%.

Maybe htop tells you something more.. I'm not sure if this is an issue with Minecraft Bedrock or your script, so sorry in advance.

Thanks
100cpu

Question

Is the raspberry pi support broken or working

can't run the installer

Hi,

Unfortunately I can not install the server.
I'm always stucked here:
"
Welcome to Ubuntu 20.10 (GNU/Linux 5.4.73-1-pve x86_64)

Thanks in advance,
BL

Server fails to start: OPENSSL_1_1_1 Not found

Love work. Thank you!

Just upgraded to 1.12 from 1.11 using your script and afterwards the server silently failed to start on Ubuntu 18.04.

When I ran bedrock_server manually I got

OPENSSL_1_1_1 Not found

from libCrypto.so

sudo apt install openssl -y upgraded openssl and fixed the issue.

Could I make a couple of feature requests?

  1. Not sure what bedrock_server gives you in the way of return codes but any sort of check to see if it has started correctly would be great.

  2. Include a check for openssl version

Simplified server administration

I'm wondering what you would think about making your script better compatible with cockpit to improve user-friendly server administration. It's already pretty close to there given you went with systemd services.

I was thinking that moving from crontab to systemd timers for the restart would be a good first step. I started working on it but thought I'd get your thoughts on if there was a compelling reason to stick with crontab. If not, I'd like to contribute a little, maybe even eventually offer to install/enable cockpit as part of your script.

Just a thought...

question

is there away to change the info in the consle to time stamps
image

Crashes on start

On a Raspberry Pi 2. Followed installation instructions, Debug_Log.txt shows:
Debug_Log.txt[2019-07-05 19:49:22 INFO] Starting Server
[2019-07-05 19:49:22 INFO] Version 1.11.4.2
[2019-07-05 19:49:22 INFO] Level Name: Bedrock level

Running with "LD_LIBRARY_PATH=/home/pi/minecraftbe/TripleCraft /home/pi/minecraftbe/TripleCraft/bedrock_server" shows a segfault.
NO LOG FILE! - setting up server logging...
[2019-07-05 19:54:23 INFO] Starting Server
[2019-07-05 19:54:23 INFO] Version 1.11.4.2
[2019-07-05 19:54:23 INFO] Level Name: Bedrock level
Segmentation fault

Unable to locate package libcurl4 on debian stretch

During installation it says:
Unable to locate package libcurl4

Tried installing it with apt-get install libcurl4 but that couldn't locate the package.

The installation continues but the server refuses to start.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.