Hi guys. I am trying to get this to run on a debian 8 server. I have tried using the LD_LIBRARY_PATH=. ./bedrock_server to start but it does nothing. Am I missing something here?
If anyone gets a server running id like to see if there is some way I can join it from my xbox and my kids switch. I think consoles have a different multiplayer menu and may not be able to join a server, so just wanted to test it out.
It seems a little fickle when using pre-created worlds, particularly with level data errors. I did manage to finally get it running on a pre-created world and connect to it from the same PC to verify it's working.
Has anyone got this to work with a linux distro? If so, what distro and version?
@Prowl84, Mojang has said this will not work with Xbox One and Nintendo Switch at this time.
I have gotten it to run on Windows 10 and connected from Windows 10 client and iOS client and works great compared to realms which are laggy and running on bare minimum specs.
I've got it running on Ubuntu 16.04 64-bit. Here are the quick and dirty steps to get it running:
1. If you had trouble starting the server as stated above, you are likely missing dependencies, and most likely missing libcurl3. Run the following to install it:
sudo apt-get install curl libcurl3
2. Copy the Bedrock server zip file to a folder in your Ubuntu home directory (cp bedrock-server.zip /home/username/bedrock), and unzip the file.
3. From within the directory (/home/username/bedrock), run the following command:
LD_LIBRARY_PATH=. ./bedrock_server
It should just work, you don't need to use sudo, or root. Just ignore whitelist file, and ops file errors, I will get into those later, at a minimum I have copied the format of both files below if you would like to mess with them. If you would like to edit the server settings, use a text editor such as nano and edit server.properties. IMPORTANT: If you close your Linux console session/putty session/cygwin etc. it will kill your bedrock server. You need to run the bedrock server within a screen shell, this will allow you to close the window and leave your server running. (Lookup "linux screen command" on Google for help).
Whitelist.json and permissions.json need to be created to use:
touch whitelist.json permissions.json
Whitelist.json (User1, and User2 should be replaced with usernames/Xbox IDs you want whitelisted). To add more users just copy and paste a new line, make sure you have a comma after the closing brace/curly bracket of each user's line. The last closing curly bracket should not have a comma after it.
Once a whitelisted user has logged into the server, the carriage returns of the whitelist.json file will automatically be removed, and the respective users xuid will be added. The xuid is important for the ops/permissions file. The text in the curly brackets will now look like this:
For whitelisting to work, you need to edit the server.properties file and change the white-list as follow:
white-list=true
Permissions.json. After successfully logging into your Minecraft server from a bedrock client, with a whitelisted user (this is important), open whitelist.json, and copy the xuid of the user whose permissions you would like to change. Open permissions.json, and format as follows:
This will make both whitelisted users operators. The quickest and easiest way at this point to load these files into the server is to just stop the running server (ctrl-c), and then start it up again.
For those interested, it is also very easy to run multiple copies of the bedrock server on a single Linux server. Use screens (google it) to run multiple simultaneous console sessions. Copy the bedrock directory to a new directory name, change the port number in server.properties, and start up as usual. When adding the server to the client, make sure the new server uses the correct corresponding port number.
I have run 2 servers simultaneously on an OpenVZ VPS with 2 CPU cores, and 1 GB of ram, and it seems to run great so far, with no lag. With that being said, I have only tried with 3 simultaneous users.
Working on a fresh install of Ubuntu 18.04 Server. Didn't install any extra packages.
CentOS 7.5.1804 did not work (libcrypt error) but I saw on Reddit that Ubuntu was working so I didn't bother to pursue a fix, since it was a new VM anyway.
Agree completely with Oobedoobenubi, screen is the way to go. Unless someone can figure out how to run it as a service and still be able to get at the console.
You can also stop the server with "stop" instead of Ctrl-C.
Anyone know how to get a log file working? The "NO LOG FILE" message is bugging me and I want one anyway.
Also if anyone (maybe mrobaer) has any pointers on how to get a pre-created world working, I'd love to know. Trying to see if I can download my Realm and run it on the server. A new world on the server works fine, but when I use the downloaded world, I can't connect. The server looks like it's running, nothing showing that would indicate anything different, but it just doesn't work. (This is another reason I was looking for logs.)
By the way, found my answer on Discord. Before copying the saved world to the server, go to the Multiplayer tab and ensure that "Visible on LAN" is checked. Then it works great!
Anyone plan on, or know anyone planning on, running a dedicated invite in my survival server? I've wanted to get into a survival world with someone other than my kids, something a bit bigger and more involved than your typical realms server that has a couple people on at a time, and dies out pretty quickly. Figured someone takes the time to setup a server is more likely to get some long term players, and have more people playing. Not really looking until maybe 2-4 weeks from now, but not me up with the details if you're going to run one.
Thanks for posting these steps, I tried following them to get this running but I get the error when trying to launch:
./bedrock_server: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
I don't really know how to resolve, but I tried to install using:
sudo apt-get install libssl1.0.0
but this gives the error:
Package libssl1.0.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libssl1.0.0' has no installation candidate
I have the Bedrock Alpha Server running on a 4 Core, 2GB Ram and 50GB SSD VPS and let me tell you it runs better than Realms. It runs awesome on my PC and it runs even better on my phone. My phone used to lag on Realms but it wouldn't lag when I was offline. Needless to say my phone doesn't lag online anymore. This server software renewed my Minecraft drive! I use to get so frustrated when I tried to play Realms on my phone that it made me start to hate playing Minecraft. All of that is fixed now I am once again happy to play Minecraft.
Well I have done some testing on 3 different VPS providers and this server ONLY likes 4 cores. Anything under 4 cores and the load is super high. I don't know if its because its not optimized or if it just needs a lot of power to run it. From what I found it runs best on a 4 core, 2gb ram vps from vps.net. To the people running the server above me what kind of vps are you running?
I have tested the server extensively and if you make a brand new world on the server it runs 60%~70% less load then if you use a converted Realms world. My Realms word is super small its 20mb so I know it's not because my Realms world is a big file. So the server will run 14% load with one person online with a new world and 2 person VPS. Right now Digital Ocean is offering a 2 month free trial ($100) in credits if you wanted to make a server and test it out yourself.
After messing with the server some more I wouldn't use it for your main world until it's out of beta. I had some animals disappear and a few other weird things happen to me while running the beta server. I moved my main world back to realms and I put a test world on the beta server.
The title said it. Any thoughts ? https://minecraft.net/en-us/download/server/bedrock
It's about time... The game needs 3rd party servers outside of realms. It's the first step to making the multiplayer as good as java
Find me on YouTube Prowl8413
Find me on Twitter @Prowl8413
Hi guys. I am trying to get this to run on a debian 8 server. I have tried using the LD_LIBRARY_PATH=. ./bedrock_server to start but it does nothing. Am I missing something here?
If anyone gets a server running id like to see if there is some way I can join it from my xbox and my kids switch. I think consoles have a different multiplayer menu and may not be able to join a server, so just wanted to test it out.
Find me on YouTube Prowl8413
Find me on Twitter @Prowl8413
It seems a little fickle when using pre-created worlds, particularly with level data errors. I did manage to finally get it running on a pre-created world and connect to it from the same PC to verify it's working.
Has anyone got this to work with a linux distro? If so, what distro and version?
@Prowl84, Mojang has said this will not work with Xbox One and Nintendo Switch at this time.
You can upvote the suggestion here:
https://feedback.minecraft.net/hc/en-us/community/posts/360011117432-add-server-option-minecraft-xbox-one-and-nintendo-switch-bedrock-edition-?flash_digest=90f5b0527443d1f162473edc6c2cf79ec40b1431
I have gotten it to run on Windows 10 and connected from Windows 10 client and iOS client and works great compared to realms which are laggy and running on bare minimum specs.
I've got it running on Ubuntu 16.04 64-bit. Here are the quick and dirty steps to get it running:
1. If you had trouble starting the server as stated above, you are likely missing dependencies, and most likely missing libcurl3. Run the following to install it:
2. Copy the Bedrock server zip file to a folder in your Ubuntu home directory (cp bedrock-server.zip /home/username/bedrock), and unzip the file.
3. From within the directory (/home/username/bedrock), run the following command:
It should just work, you don't need to use sudo, or root. Just ignore whitelist file, and ops file errors, I will get into those later, at a minimum I have copied the format of both files below if you would like to mess with them. If you would like to edit the server settings, use a text editor such as nano and edit server.properties. IMPORTANT: If you close your Linux console session/putty session/cygwin etc. it will kill your bedrock server. You need to run the bedrock server within a screen shell, this will allow you to close the window and leave your server running. (Lookup "linux screen command" on Google for help).
Whitelist.json and permissions.json need to be created to use:
Whitelist.json (User1, and User2 should be replaced with usernames/Xbox IDs you want whitelisted). To add more users just copy and paste a new line, make sure you have a comma after the closing brace/curly bracket of each user's line. The last closing curly bracket should not have a comma after it.
Once a whitelisted user has logged into the server, the carriage returns of the whitelist.json file will automatically be removed, and the respective users xuid will be added. The xuid is important for the ops/permissions file. The text in the curly brackets will now look like this:
For whitelisting to work, you need to edit the server.properties file and change the white-list as follow:
Permissions.json. After successfully logging into your Minecraft server from a bedrock client, with a whitelisted user (this is important), open whitelist.json, and copy the xuid of the user whose permissions you would like to change. Open permissions.json, and format as follows:
This will make both whitelisted users operators. The quickest and easiest way at this point to load these files into the server is to just stop the running server (ctrl-c), and then start it up again.
For those interested, it is also very easy to run multiple copies of the bedrock server on a single Linux server. Use screens (google it) to run multiple simultaneous console sessions. Copy the bedrock directory to a new directory name, change the port number in server.properties, and start up as usual. When adding the server to the client, make sure the new server uses the correct corresponding port number.
I have run 2 servers simultaneously on an OpenVZ VPS with 2 CPU cores, and 1 GB of ram, and it seems to run great so far, with no lag. With that being said, I have only tried with 3 simultaneous users.
Sorry this was written quickly, I hope it helps.
Working on a fresh install of Ubuntu 18.04 Server. Didn't install any extra packages.
CentOS 7.5.1804 did not work (libcrypt error) but I saw on Reddit that Ubuntu was working so I didn't bother to pursue a fix, since it was a new VM anyway.
Agree completely with Oobedoobenubi, screen is the way to go. Unless someone can figure out how to run it as a service and still be able to get at the console.
You can also stop the server with "stop" instead of Ctrl-C.
Anyone know how to get a log file working? The "NO LOG FILE" message is bugging me and I want one anyway.
Also if anyone (maybe mrobaer) has any pointers on how to get a pre-created world working, I'd love to know. Trying to see if I can download my Realm and run it on the server. A new world on the server works fine, but when I use the downloaded world, I can't connect. The server looks like it's running, nothing showing that would indicate anything different, but it just doesn't work. (This is another reason I was looking for logs.)
By the way, found my answer on Discord. Before copying the saved world to the server, go to the Multiplayer tab and ensure that "Visible on LAN" is checked. Then it works great!
Anyone plan on, or know anyone planning on, running a dedicated invite in my survival server? I've wanted to get into a survival world with someone other than my kids, something a bit bigger and more involved than your typical realms server that has a couple people on at a time, and dies out pretty quickly. Figured someone takes the time to setup a server is more likely to get some long term players, and have more people playing. Not really looking until maybe 2-4 weeks from now, but not me up with the details if you're going to run one.
Find me on YouTube Prowl8413
Find me on Twitter @Prowl8413
Thanks for posting these steps, I tried following them to get this running but I get the error when trying to launch:
I don't really know how to resolve, but I tried to install using:
but this gives the error:
Anyone have any idea how to proceed?
That works a treat, thanks very much
ProfessorValko on Reddit figured out how to add resource packs to the current alpha server, read here:
https://old.reddit.com/user/ProfessorValko/comments/9f438p/bedrock_dedicated_server_tutorial/e61zjs5/
What's the max you can set the simulation distance to in a server?
Find me on YouTube Prowl8413
Find me on Twitter @Prowl8413
I have the Bedrock Alpha Server running on a 4 Core, 2GB Ram and 50GB SSD VPS and let me tell you it runs better than Realms. It runs awesome on my PC and it runs even better on my phone. My phone used to lag on Realms but it wouldn't lag when I was offline. Needless to say my phone doesn't lag online anymore. This server software renewed my Minecraft drive! I use to get so frustrated when I tried to play Realms on my phone that it made me start to hate playing Minecraft. All of that is fixed now I am once again happy to play Minecraft.
I am not 100% sure what your asking but you can set it to 12 chunks and have stuff spawn and run/grow.
That's what I was wondering yes. Thanks for the info
Find me on YouTube Prowl8413
Find me on Twitter @Prowl8413
Well I have done some testing on 3 different VPS providers and this server ONLY likes 4 cores. Anything under 4 cores and the load is super high. I don't know if its because its not optimized or if it just needs a lot of power to run it. From what I found it runs best on a 4 core, 2gb ram vps from vps.net. To the people running the server above me what kind of vps are you running?
I have tested the server extensively and if you make a brand new world on the server it runs 60%~70% less load then if you use a converted Realms world. My Realms word is super small its 20mb so I know it's not because my Realms world is a big file. So the server will run 14% load with one person online with a new world and 2 person VPS. Right now Digital Ocean is offering a 2 month free trial ($100) in credits if you wanted to make a server and test it out yourself.
After messing with the server some more I wouldn't use it for your main world until it's out of beta. I had some animals disappear and a few other weird things happen to me while running the beta server. I moved my main world back to realms and I put a test world on the beta server.