Run commands from server console window?

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

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: 1336
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: 593
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara
Contact:

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: 308
Joined: Tue Dec 06, 2016 05:35
In-game: Joseph16

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: 653
Joined: Mon Dec 29, 2014 08:07
GitHub: ShadMOrdre
In-game: shadmordre
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.
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Lejo and 1 guest