Page 1 of 1

[Request] Minetest Web Control Panel

PostPosted: Sun Nov 03, 2013 20:18
by markveidemanis
*

PostPosted: Sat Jan 11, 2014 00:30
by keyxmakerx
Bump?

PostPosted: Sat Jan 11, 2014 00:57
by SegFault22
Awesome idea.
I suggest that you use Photobucket though, because it doesn't add overlays to your photos like the ones visible here.

PostPosted: Sat Jan 11, 2014 02:51
by aldobr
I can do that, but, do minetest export internal variables ?

PostPosted: Sat Jan 11, 2014 03:07
by BrandonReese
First you have to write a mod that would interpret what you have done on the web. Something as simple as the web interface writes to a text file and the server reads the text file periodically. If you directly edit the auth.txt or player file, the server will just overwrite those changes. It would be easiest, obviously, if the web server and minetest are running on the same server.

PostPosted: Sat Jan 11, 2014 21:29
by issa
Well but the problem, with minetest u don't hava acces like web service on it to make acion on minetest u need an API.

and u don't have this on minetest maybe u can do it in lua ?

PostPosted: Sun Jan 12, 2014 13:09
by rubenwardy
issa wrote:Well but the problem, with minetest u don't hava acces like web service on it to make acion on minetest u need an API.

and u don't have this on minetest maybe u can do it in lua ?


If you run minetest on Linux, you can access the internet.

If you run minetest on windows, you can use wget.exe

Both of these are through the io module.

PostPosted: Sun Jan 12, 2014 13:11
by Nore
It could perhaps use the IRC mod, which allows most of these things, and change actions done by the user to a command to the server sent with IRC...

PostPosted: Sun Feb 02, 2014 18:32
by markveidemanis
Nore wrote:It could perhaps use the IRC mod, which allows most of these things, and change actions done by the user to a command to the server sent with IRC...

I think something like this has been done but typing the commands into IRC, i don't think it's too hard to make an IRC client in PHP, or to make an interface to a script in PHP.