Package Details: minecraft-bedrock-server 1.21.92.1-1

Git Clone URL: https://aur.archlinux.org/minecraft-bedrock-server.git (read-only, click to copy)
Package Base: minecraft-bedrock-server
Description: Minecraft Bedrock Server compatible with Windows and XBox Minecraft clients
Upstream URL: https://www.minecraft.net/en-us/download/server/bedrock
Keywords: bedrock minecraft server windows xbox
Licenses: custom
Submitter: Abzie
Maintainer: codrcodz (d2_ricci, NukeCode87)
Last Packager: codrcodz
Votes: 14
Popularity: 0.25
First Submitted: 2020-08-09 12:23 (UTC)
Last Updated: 2025-06-20 14:16 (UTC)

Pinned Comments

codrcodz commented on 2025-06-10 02:28 (UTC) (edited on 2025-06-10 02:38 (UTC) by codrcodz)

Self-Hosting a Remotely-Accessible Minecraft Bedrock Server From Your Home Network

@laWiskaPY had a great question.

"It works for local play, but I can't get it to work so others from other networks can connect. This should be able to do it, right?"

Yes and no. This package can be part of a remotely-accessible self-hosted Minecraft Bedrock server solution, but there are some other pieces to the puzzle.

A big piece is a client-side configuration that must be made. Namely, you need a workaround to enable custom servers on remote Bedrock clients, which do not natively support them in the same way that Java Minecraft clients do. If the Bedrock client is natively hosted on or VPNed into the same network as the Bedrock server, and that server is presenting the server on the default port, the client should auto-detect the server automagically, otherwise, you need to perform this client-side configuration.

This Github project outlines a method for presenting your self-hosted Bedrock server to remote clients. The DNS server described in this project can be self-hosted, or you can just leverage the one already being hosted by the project's maintainer. The former is slightly more secure, but either approach requires at least some level of trust in the maintainer.

https://github.com/Pugmatt/BedrockConnect

Once you have made the client-side changes described in the README of that project, you will also need to do some port forwarding on your router (if hosting from a computer inside your home network). This step will be router-specific, so I cannot provide much more than generic help with this part, but the goal will be to forward a port on your router's IP to one on the computer hosting the Minecraft Bedrock server. The default Bedrock port is 19132. You can change this in the server's configuration, but I would not recommend it in most cases. If you are not sure what your router's public IP address is, you can hit this URL from a browser on a machine inside of your network and it will return your router's public IP address.

https://ipv4.icanhazip.com/

If you want, you can make a DNS entry, (if you have a domain name), and you can point a DNS A record at that public IP address. If your router's IP changes frequently, consider using a DNS provider that supports dynamic DNS, and host a daemon on a machine in your home network that will update the record with the DNS provider as your IP changes.

Alternately, you can just reference the server by IP and not worry about the DNS entry at all. You can also host it on a virtual machine in a public cloud if you do not want to worry about configuring port forwarding on your router, but that will cost you a hosting fee, of course.

codrcodz commented on 2024-12-04 19:16 (UTC) (edited on 2024-12-04 21:13 (UTC) by codrcodz)

Package Automation

Starting with version 1.21.50.10, this AUR package uses an automated process for doing the following:

  • Identifying when a new version of the Bedrock Minecraft Server has been released
  • Downloading that new source zip file and getting its new hash plus version number
  • Updating this AUR package PKGBUILD with a new source zip file hash, version, and URL
Disclaimers & Limitations

This automated process does NOT test the functionality of the new source code itself. The upstream vendor (Mojang) may release non-functional software or change how it must be installed.

In either case, this AUR package may successfully install, but the Bedrock Minecraft server may not launch or run properly.

The automation might fail to increment this package to the latest version if there is a major change to the release mechanism used by the upstream vendor of the source zip file (i.e. they move it to a totally new URL, they significantly change the layout of the download page, et cetera).

The current download page is hosted here:

The "Minecraft Dedicated Server software for Ubuntu (Linux)" source zip file is the one that should be referenced in the PKGBUILD file for this AUR package.

Report an Issue

Please report any issues with the AUR package build automation, the AUR package PKGBUILD file contents, or the systemd unit files used to run the server in a comment here.

Issues with the upstream vendor's source code should be reported to the upstream vendor.

Learn More

If you are curious to see how the AUR package build automation works to automatically increment the package version each time there is a new release by the upstream vendor, please visit this page:

Abzie commented on 2022-06-22 21:01 (UTC) (edited on 2022-06-22 21:04 (UTC) by Abzie)

Good ole M$, you will now see the following message in the console log on startup:

================ TELEMETRY MESSAGE ===================
Server Telemetry is currently not enabled.
Enabling this telemetry helps us improve the game.

To enable this feature, add the line 'emit-server-telemetry=true'
to the server.properties file in the handheld/src-server directory
======================================================

If you do wish to enable "telemetry", add the line to /opt/minecraft-bedrock-server/server.properties.

Latest Comments

1 2 3 4 5 Next › Last »

NukeCode87 commented on 2025-06-18 22:49 (UTC)

Done. I sent you a merge request with the code I used to update from 1.21.90.4 to 1.21.91.1. I also opened an issue I ran into with a missing folder/file when trying to run it from a clean environment. I have almost no docker experience and didn't feel confident I know the best solution for that issue, though I suspect its as simple as creating the missing folder & file.

codrcodz commented on 2025-06-18 18:01 (UTC) (edited on 2025-06-18 18:16 (UTC) by codrcodz)

@NukeCode87,

Looking at the main.go in that Bedrock release repo, it looks like there is actually a Mojang-provided API endpoint (https://net-secondary.web.minecraft-services.net/api/v1.0/download/links) that will respond with only the latest download URLs by default. That makes the process even more simple. With that, the need to scrape the dynamic webpage goes away, as does relying on this extra repository maintained by someone else. I can easily cut the automation over to using that API URL instead.

Here is the current json from that API endpoint, as an example:

{
  "result": {
    "links": [
      {
        "downloadType": "serverBedrockWindows",
        "downloadUrl": "https://www.minecraft.net/bedrockdedicatedserver/bin-win/bedrock-server-1.21.90.4.zip"
      },
      {
        "downloadType": "serverBedrockLinux",
        "downloadUrl": "https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-1.21.90.4.zip"
      },
      {
        "downloadType": "serverBedrockPreviewWindows",
        "downloadUrl": "https://www.minecraft.net/bedrockdedicatedserver/bin-win-preview/bedrock-server-1.21.100.21.zip"
      },
      {
        "downloadType": "serverBedrockPreviewLinux",
        "downloadUrl": "https://www.minecraft.net/bedrockdedicatedserver/bin-linux-preview/bedrock-server-1.21.100.21.zip"
      },
      {
        "downloadType": "serverJar",
        "downloadUrl": "https://piston-data.mojang.com/v1/objects/6e64dcabba3c01a7271b4fa6bd898483b794c59b/server.jar"
      }
    ]
  }
}

codrcodz commented on 2025-06-18 17:40 (UTC)

@NukeCode87,

That looks promising. I can add that into the existing automation to grab the latest version instead of the way I was doing it previously. I will have some free time tomorrow to work on that. Feel free to fork the automation repo and work on it yourself in the meantime if you're comfortable doing so. MRs are always welcome. :-D

NukeCode87 commented on 2025-06-18 11:45 (UTC)

@codrcodz & @d2_ricci, What do you think about using this project (https://github.com/kittizz/bedrock-server-downloads) to retrieve the current version number? They provide a very nice API for retrieving the current version here: https://raw.githubusercontent.com/kittizz/bedrock-server-downloads/main/bedrock-server-downloads.json.

NukeCode87 commented on 2025-06-18 11:33 (UTC)

Manually updated to 1.21.90.4.

NukeCode87 commented on 2025-06-18 11:23 (UTC)

I believe the automated update pipeline is broken because of some changes that MS has made to the download page. The download page from MS previously provided you with a link hidden in the HTML on page load (until you clicked Accept on the license it was disabled, but still present). We were previously able to read that and download it without really interacting with the page. Now, however, the HTML you get is essentially junk unless you have JavaScript enabled. It is going to take some tinkering to get the automated updates working again.

laWiskaPY commented on 2025-06-18 09:05 (UTC)

I'd read that it updated automatically. Maybe something went wrong in that process or it requires some specific configuration? Mine didn't update, even after restarting the service. No errors are seen in the log either.

laWiskaPY commented on 2025-06-11 14:38 (UTC) (edited on 2025-06-11 14:41 (UTC) by laWiskaPY)

@codrcodz Thanks for the reply. I was forwarding ports using the default ones, but the others couldn't connect. I changed the ports to 5773 and 5779 and set up port forwarding to these new ones, and they were able to connect with my public IP and the new port. It works perfectly. 😊

codrcodz commented on 2025-06-10 02:28 (UTC) (edited on 2025-06-10 02:38 (UTC) by codrcodz)

Self-Hosting a Remotely-Accessible Minecraft Bedrock Server From Your Home Network

@laWiskaPY had a great question.

"It works for local play, but I can't get it to work so others from other networks can connect. This should be able to do it, right?"

Yes and no. This package can be part of a remotely-accessible self-hosted Minecraft Bedrock server solution, but there are some other pieces to the puzzle.

A big piece is a client-side configuration that must be made. Namely, you need a workaround to enable custom servers on remote Bedrock clients, which do not natively support them in the same way that Java Minecraft clients do. If the Bedrock client is natively hosted on or VPNed into the same network as the Bedrock server, and that server is presenting the server on the default port, the client should auto-detect the server automagically, otherwise, you need to perform this client-side configuration.

This Github project outlines a method for presenting your self-hosted Bedrock server to remote clients. The DNS server described in this project can be self-hosted, or you can just leverage the one already being hosted by the project's maintainer. The former is slightly more secure, but either approach requires at least some level of trust in the maintainer.

https://github.com/Pugmatt/BedrockConnect

Once you have made the client-side changes described in the README of that project, you will also need to do some port forwarding on your router (if hosting from a computer inside your home network). This step will be router-specific, so I cannot provide much more than generic help with this part, but the goal will be to forward a port on your router's IP to one on the computer hosting the Minecraft Bedrock server. The default Bedrock port is 19132. You can change this in the server's configuration, but I would not recommend it in most cases. If you are not sure what your router's public IP address is, you can hit this URL from a browser on a machine inside of your network and it will return your router's public IP address.

https://ipv4.icanhazip.com/

If you want, you can make a DNS entry, (if you have a domain name), and you can point a DNS A record at that public IP address. If your router's IP changes frequently, consider using a DNS provider that supports dynamic DNS, and host a daemon on a machine in your home network that will update the record with the DNS provider as your IP changes.

Alternately, you can just reference the server by IP and not worry about the DNS entry at all. You can also host it on a virtual machine in a public cloud if you do not want to worry about configuring port forwarding on your router, but that will cost you a hosting fee, of course.

laWiskaPY commented on 2025-06-10 00:55 (UTC)

It works for local play, but I can't get it to work so others from other networks can connect. This should be able to do it, right?