Interacting with Server #100
-
|
I am sorry if this is supposed to be common knowledge with NixOS or systemd, but I couldn't find any answers anywhere else. How can I access the server log / run commands as the server? I couldn't find anything on how to do this. When you normally run a Minecraft server (without services), it outputs all sorts of logs as the plugins load and as players join etc. and also allows running Minecraft commands from the terminal. I can't find this interface. Help, please! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Heya! To interact with the server,
Make sure you are in the |
Beta Was this translation helpful? Give feedback.
-
|
Alright, thanks! |
Beta Was this translation helpful? Give feedback.
Heya! To interact with the server,
tmux attach -S /run/minecraft/server-name.sock-If using systemd sockets:
echo some command > /run/minecraft/servername.stdinMake sure you are in the
minecraftgroup (or usesudo), otherwise you won't have the permissions to access the socket!