Guest User

Untitled

a guest
Aug 31st, 2013
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2.     include_once 'Websend.php';
  3.  
  4.     $ws = new Minecraft();
  5.     $ws->host = "10.5.1.2";
  6.     $ws->port = "9081";
  7.     $ws->password = "h6546ebbuvh64ds4g";
  8.    
  9.     if($ws->connect()){
  10.         $ws->doCommandAsConsole("mail send ldrrp hi");
  11.         $ws->disconnect();
  12.     }else{
  13.         echo "Failed to connect";
  14.     }
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment