[Request] Minetest Web Control Panel
-
- Member
- Posts: 211
- Joined: Thu Sep 27, 2012 15:41
[Request] Minetest Web Control Panel
*
Last edited by markveidemanis on Tue Aug 02, 2016 11:50, edited 2 times in total.
BitCoin: 1Eq4arvykGNa1YC2DbJpWcwGfMvtFGjAoR
-
- Member
- Posts: 104
- Joined: Mon Apr 08, 2013 23:53
- SegFault22
- Member
- Posts: 872
- Joined: Mon May 21, 2012 03:17
- Location: NaN
- BrandonReese
- Member
- Posts: 839
- Joined: Wed Sep 12, 2012 00:44
- GitHub: bremaweb
- IRC: BrandonReese
- In-game: BrandonReese
- Location: USA
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.
My Twitch Channel - https://www.twitch.tv/brandonreese81/profile
- rubenwardy
- Moderator
- Posts: 6972
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
If you run minetest on Linux, you can access the internet.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 windows, you can use wget.exe
Both of these are through the io module.
Last edited by rubenwardy on Sun Jan 12, 2014 13:10, edited 1 time in total.
-
- Member
- Posts: 211
- Joined: Thu Sep 27, 2012 15:41
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.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...
BitCoin: 1Eq4arvykGNa1YC2DbJpWcwGfMvtFGjAoR
Who is online
Users browsing this forum: No registered users and 13 guests