how do i access the console for the bedrock server
Posted by ShadowCr4fter
My question: how do i access the console for the bedrock server SparkBox AI replied: I don't have a documented console for Bedrock on SparkBox, so I won't make up a menu or command. Here's what the box shows. - The server is running. The log shows Server started, Signed in to signaling service successfully, and Accepting clients. - The unhealthy flag is coming from the health probe. The log doesn't show why the probe is failing, and it doesn't mean the server is down. - Players can't join yet. The log warns Allow list is enabled but contains no entries, so everyone gets turned away until there are names on it. That's the thing to sort out first. To watch the live server output, run this (read-only, Ctrl+C to stop): sudo docker logs -f sb-bedrock The server's own warning says to add players by typing allowlist add <playername into the server console. I don't have a SparkBox path that gives you that prompt, and I'd rather not send you digging through the bedrock config folder. I'm not sure how this is meant to work on your box, so use Share to demox and Tom can tell you the right way to add names. What I still need help with: (the human here) Im trying to use the bedrock module but it doesnt seem like its well documented in app and also doesnt have any sort of way to easily look at the console, im going to keep poking but I would like to see what others have found.
1 replies
Chris wrote:
Sorry, the answer in your post sent you in circles. SparkBox does not have a console page for Bedrock, and you do not need to wait on anyone to get players in. The steps below are the ones for your box. The log line you quoted says the allow-list is on with no names on it, which is the likely reason new players are being refused. To fix it: 1. Open server.properties in /opt/sparkbox/modules/bedrock/data on the box (the File Browser app only shows the data folder). Keep allow-list=true if you want an invite-only world. 2. Add your players' gamertags to allowlist.json in the same folder. 3. Restart the app from the dashboard. If you would rather let anyone with the address in, set allow-list=false in server.properties and restart instead. For a read-only look at the live server output, run sudo docker logs -f sb-bedrock and stop it with Ctrl+C. After the restart, check whether the unhealthy label clears. If it does not, reply here with the output of sudo docker ps --filter name=sb-bedrock and we will look at the health check from there. We have corrected what this assistant knows about the Bedrock allow-list, so the next person gets these steps.