[BDS-8531] Bedrock server as systemd unit Created: 26/Aug/20  Updated: 27/Aug/20  Resolved: 27/Aug/20

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.16.20
Fix Version/s: None

Type: Bug
Reporter: Kysput Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: None

Confirmation Status: Unconfirmed

 Description   

Hello! It's not a bug but rather a list of questions since I don't know a better place to ask:

  • Which is the preferred way to stop the server for graceful shutdown? SIGINT or SIGTERM? The server is not logging any hints both ways;
  • Would it be possible to have kernel and server data in separate directories? I would like to keep the server kernel in `/opt` and data in `/var` so it would be more POSIX in general;
  • Can you please make dynamic path creation? I have to define `WorkingDirectory` in `bedrock.service`, took me a while to find the issue. You should also mention that the server has to be run from it's directory;
  • Will it ever be possible to make HTTP requests or connect to a database from addons? I'd really be happy if there were etcd and PostgreSQL so I could integrate the server with another my software. I'm pretty sure huge projects like featured ones may also need Redis, gRPC, Cassandra and stuff;
  • It'd also be cool if the server could run as a daemon to get TPS, number of players and stuff;
  • How backups are managed?
  • How can I make that fancy MotD the one can see on featured servers?
  • It'd also be good if there was an option to execute commands directly from the server rather than entering the game and typing them;
  • How can I see TPS or toggle coordinate display for individual players? Will I have to define a UI addon? Isn't it overly complicated for such a simple task?

I know some of these features are possible with custom kernels like NukkitX, however, I'd like to stick to vanilla kernel if it's possible.



 Comments   
Comment by IonicEcko [ 27/Aug/20 ]

Hi Kysput,

This isn't really the place to ask, in general discussion like this should happen on one of the options more appropriate for discussion (such as the Reddit or Discord Server).

BDS is currently still listed as an alpha (which means its feature incomplete), there is a specific section on the feedback website to provide dedicated server feedback. Some of the issues you mention can be achieved by wrapping the provided executable in a script or similar and there are some already out there.

To answer a couple of them though (numbering it):

  1. The stop command is currently the only way to gracefully stopping the server, there are certain wrappers for linux that resolve this (without modding the server itself). We're tracking this as BDS-203
  2. Not currently, head to https://feedback.minecraft.net to suggest new features.
  3. This sounds like a technical issue rather than a bug with the Minecraft executable, if you think its a bug please log a report but make sure to include all the information we need in a report. BDS-8262 is an example.
  4. Not currently, head to https://feedback.minecraft.net to suggest new features.
  5. Not currently, head to https://feedback.minecraft.net to suggest new features.
  6. No inbuilt method, there are commands you can use (detailed in the how to document provided with the download) that you can use with a custom wrapper.
  7. As far as I know its not possible but someone on the Discord may have a better idea.
  8. You can, from the console? All commands should work from the console unless they rely on a player running them (although I can't think of any that do off the top of my head).
  9. (coords) You can't for individual players, at least not natively. (tps) Not currently, head to https://feedback.minecraft.net to suggest new features
Generated at Sat Jan 11 07:44:44 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.