Launch CraftBukkit with PHP on Windows ( exec () )

Discussion in 'Bukkit Help' started by Mafiatoss, Jul 11, 2013.

Thread Status:
Not open for further replies.
  1. Hi,

    I'm actually create a panel for Minecraft Server on Windows.

    But i have a problems for start the server.. When the server start the server seems to don't read the server.properties and others..

    PHP CODE FOR THE COMMAND:

    $command=$command="runas /netonly /user:vps-218\shpv-218 ".chr(34)."E:\Host\Minecraft".chr(92).$_GET['serv']."\java-".$_GET['serv'].".exe -Xmx1024M -jar E:\Host\Minecraft".chr(92).$_GET['serv']."\craftbukkit.jar ".chr(34).'<C:\Users\shpv-218\Desktop\yes.txt';
    $WshShell = new COM("WScript.Shell");
    $oExec = $WshShell->exec($command);

    Who can help me please ?
     
Thread Status:
Not open for further replies.

Share This Page