Run commands from server console window?

Post Reply
User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

Run commands from server console window?

by Joseph16 » Post

Is this possible? I'm hosting a server using the --server command on a minetest shortcut in windows 10. Is there any way to type to chat or any commands such as /grant or /priv? It would make it so I don't have to log on to fix things that only require commands.
Testin' mines since 1989

User avatar
sorcerykid
Member
Posts: 1847
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: Run commands from server console window?

by sorcerykid » Post

The minetest server (in headless mode) is non-interactive. There is no standard input recognized. Your only choice is either to login to the server and issue commands as admin or else use one of a few mods or command-line utilities that people have developed for piping commands into the server process via IPC (files, sockets, etc.)

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: Run commands from server console window?

by bosapara » Post

Joseph13, If i understood you correctly - yes, you can use minetest console for Windows


Image

User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

Re: Run commands from server console window?

by Joseph16 » Post

These all seem very complicated and I don’t really think it’s worth setting up. Thanks anyway.
Testin' mines since 1989

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: Run commands from server console window?

by ShadMOrdre » Post

If MT is compiled for Linux with ncurses support, you can run a headless server and issue commands to the console.

If this is possible on Linux, compiling with standard options, then there is probably an equivalent for Windows. However, you may have to either compile it yourself, or find someone who can, if this is possible.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests