Minetest Console for Windows users

User avatar
bosapara
Member
 
Posts: 412
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara
In-game: Jozet

Minetest Console for Windows users

by bosapara » Sat Dec 22, 2018 19:56

Minetest Console for Windows

Image DOWNLOAD

Image

How to install? - Easy
1. Download and install AutoHotkey
2. Add external_cmd mod to your server
3. Download minetest.ahk and edit path at 'minetest.ahk' F:\minetest\worlds\myworld\message >> D:\myserver\worlds\test\message
4. Start server and minetest.ahk

bingo!

P.S. To close script use 'escape' button
Attachments
minetest.zip
(320 Bytes) Downloaded 22 times
 

User avatar
rnd
Member
 
Posts: 217
Joined: Sun Dec 28, 2014 12:24
IRC: ac_minetest
In-game: rnd

Re: Minetest Console for Windows users

by rnd » Sun Dec 23, 2018 18:56

good. another way is to use 'custom web server' software to pass incoming message to minetest (easily written in any language c++, rust,.. or nodejs) using minetest http_api. I made an example using my 'basic_robot' mod - you can write text in browser like: "http://address/your command"
and this almost instantly shows up in game: https://github.com/ac-minetest/basic_robot/tree/master/scripts/http/webcommands
If you want to tell people the truth, make them laugh, otherwise they'll kill you. Oscar Wilde
 

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

Re: Minetest Console for Windows users

by sorcerykid » Fri Dec 28, 2018 21:18

I wonder if it might be possible to use IPC with a named pipe or a non-blocking socket on Linux to communicate with the Minetest mods. That would probably be the most seamless and efficient, since it doesn't require opening and closing temporary files (which works, but is kind of a kludge).
 


Return to Minetest-related projects



Who is online

Users browsing this forum: No registered users and 3 guests