Omnimaga

General Discussion => Gaming Discussion => Technology and Development => Minecraft Discussion => Topic started by: Juju on April 15, 2012, 09:54:02 pm

Title: minercon, a Minecraft remote console in PHP
Post by: Juju on April 15, 2012, 09:54:02 pm
I made a simple script to access the console of Minecraft Server remotely. Pretty useful if you're too lazy to SSH and screen -r in your server. Color support!

Installation: Just follow those simple steps.

On your server, add or modify this in server.properties:
Code: [Select]
enable-rcon=true
rcon.password=<set up a password>

Then on your Linux or Mac OS X desktop:
Code: [Select]
wget https://raw.github.com/xPaw/PHP-Minecraft-Query/master/MinecraftRcon.class.php
wget http://files.julosoft.net/minercon.php.txt -O minercon.php
php minercon.php <your minecraft server IP>

Source: http://files.julosoft.net/minercon.phps
Title: Re: minercon, a Minecraft remote console in PHP
Post by: DJ Omnimaga on April 20, 2012, 11:06:32 pm
So is that kinda like a gui based minecraft thing? I'm unsure really lol.
Title: Re: minercon, a Minecraft remote console in PHP
Post by: Juju on April 20, 2012, 11:09:59 pm
Actually, it's still command-line, but more GUI-ish. You still have to type commands, but you can play with the up/down keys like in bash.
Title: Re: minercon, a Minecraft remote console in PHP
Post by: DJ Omnimaga on April 20, 2012, 11:10:55 pm
Ah ok, that's good I guess. I hate when certain tasks can only be done via command prompt.
Title: Re: minercon, a Minecraft remote console in PHP
Post by: dicamarques on April 30, 2012, 05:48:39 pm
hmm, what about windows'?
Title: Re: minercon, a Minecraft remote console in PHP
Post by: Juju on April 30, 2012, 06:52:10 pm
That might be doable.

That or a web interface with shellinabox.
Title: Re: minercon, a Minecraft remote console in PHP
Post by: Juju on May 19, 2012, 10:10:39 pm
Web interface! Based on JulOS interface (the one who serve as a main page for http://julosoft.net)!

http://julosoft.net/minercon.php
Title: Re: minercon, a Minecraft remote console in PHP
Post by: dicamarques on May 20, 2012, 05:30:58 am
Seems nice, but which comands do i enter?
Server: (server ip?)
password: (obvious)
rcon: (here i enter the commands right?)
Title: Re: minercon, a Minecraft remote console in PHP
Post by: Spyro543 on May 20, 2012, 08:03:31 am
Juju: you said I could get it working over LAN if I had all the files needed by it. Chrome's developer tools are failing me soooo....could I have all the files please? :3
Title: Re: minercon, a Minecraft remote console in PHP
Post by: Juju on May 20, 2012, 04:25:55 pm
Sure.

https://github.com/juju2143/minercon-web