Author Topic: minercon, a Minecraft remote console in PHP  (Read 10332 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
minercon, a Minecraft remote console in PHP
« 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
« Last Edit: April 15, 2012, 09:56:40 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: minercon, a Minecraft remote console in PHP
« Reply #1 on: April 20, 2012, 11:06:32 pm »
So is that kinda like a gui based minecraft thing? I'm unsure really lol.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: minercon, a Minecraft remote console in PHP
« Reply #2 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.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: minercon, a Minecraft remote console in PHP
« Reply #3 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.

Offline dicamarques

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +0/-0
    • View Profile
Re: minercon, a Minecraft remote console in PHP
« Reply #4 on: April 30, 2012, 05:48:39 pm »
hmm, what about windows'?

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: minercon, a Minecraft remote console in PHP
« Reply #5 on: April 30, 2012, 06:52:10 pm »
That might be doable.

That or a web interface with shellinabox.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: minercon, a Minecraft remote console in PHP
« Reply #6 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
« Last Edit: May 19, 2012, 10:11:54 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline dicamarques

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +0/-0
    • View Profile
Re: minercon, a Minecraft remote console in PHP
« Reply #7 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?)

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: minercon, a Minecraft remote console in PHP
« Reply #8 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

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.