Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Console #8

Closed
ArduinoUno17 opened this issue Aug 3, 2019 · 8 comments
Closed

Server Console #8

ArduinoUno17 opened this issue Aug 3, 2019 · 8 comments

Comments

@ArduinoUno17
Copy link

Dear TapeWerm,

So I am very confused or I may just be very tired. Your instructions are quite confusing. I have now been able to get my server up and running finally using your program. My only issue is, 1) How do I know the script is running, 2) How can I view the server terminal/command prompt, 3) What commands are available to use with this software if there are any, and 4) I felt that it would be better to end on an even number of bullets. Thank you for making this software, I just feel like some stuff is missing. This may be completely my fault, but the guide is confusing and there is no good documentation, I may just be missing something.

Sorry for this rather long message, the issue I am having is using this software, I typed in the commands to install the software and to get it working (or so I think), but I don't know what they do or if it worked. Some more documentation would be great.

Thank you for your time.

-ArduinoUno17

@ArduinoUno17
Copy link
Author

ArduinoUno17 commented Aug 3, 2019

Update: It appears that the script was running as I got a "Server is shutting down in 10...." when I typed "sudo service mcbe@MCBE stop" so I know it is doing something. I have to see where the backups are being stored, so I need to look back in the config.

@TapeWerm
Copy link
Owner

TapeWerm commented Aug 3, 2019

systemctl status mcbe@MCBE
This is how you make sure the systemd service worked, and is still working. You can replace mcbe@MCBE with mcbe-backup@MCBE, et cetera.
journalctl -u mcbe@MCBE shows more history.
2)
"How to attach to the systemd service's tmux session (server console)" from the README is what you want.
3)
/gamerule showcoordinates true should enable coordinates if I recall. The Minecraft Wiki has a list of commands. Look at the table and if BE is Yes the command is in Bedrock.

@ArduinoUno17
Copy link
Author

ArduinoUno17 commented Aug 3, 2019

Hello TapeWerm, thank you for getting back to me so quickly.

So I am guessing that I start the server from the tmux session if I am correct? I was able to launch it from a fresh terminal though.

@TapeWerm
Copy link
Owner

TapeWerm commented Aug 3, 2019

~mc/MCBEbackup.sh --help and the README say they're in ~mc by default. If you changed it in the systemd units like the README says you can do, they should be where you specify. nano /etc/systemd/system/mcbe-backup@.service to edit it if you want and press Ctrl-G to save.

@TapeWerm
Copy link
Owner

TapeWerm commented Aug 3, 2019

The sudo systemctl enable mcbe@MCBE --now should've started it in a tmux session. If you aren't using that, make a session with tmux new -s MCBE 'LD_LIBRARY_PATH=. ./bedrock_server'.

Edit: tmux needs '' to set the environment variable LD_LIBRARY_PATH and run ./bedrock_server. Else it thinks they're separate lines, they need to be together as LD_LIBRARY_PATH only gets passed if it's in the same line as ./bedrock_server.

@ArduinoUno17
Copy link
Author

Okay, I will look into that again. As for accessing the command terminal for the server, how do I do that. When I would launch the server like normal, (before I started using this software), there was a terminal that spit out information about the server, aka Ports, versions, etc. It also allowed me to type server commands, such a gamerule commands, gamemode, etc. How do I access that?

Thanks again,

-ArduinoUno17

@TapeWerm
Copy link
Owner

TapeWerm commented Aug 3, 2019

"How to attach to the systemd service's tmux session (server console)" from the README is what you want. That shows how to access the console/command prompt for the server and escape from it.

Edit: https://github.com/TapeWerm/MCscripts#notes
Edit 2: You may already know, press Ctrl-F to search in most web browsers and many programs for that matter.

@ArduinoUno17
Copy link
Author

Now I understand. I am so sorry for bugging you. I think that is all. I might be having some drive issues, probably drive permissions. I have been able to access the server terminal now. Thank you so much and sorry for potentially driving you crazy. Thank you again for your help, and keep up the great work.

Have a great night.

-ArduinoUno17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants