Advertisement
Guest User

My file

a guest
Oct 25th, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <?php
  2.     require 'websend.php';
  3.    
  4.     $ws = new Websend("127.0.0.1");
  5.     $ws->password = "cajtikovoserverwebsend";
  6.    
  7.     if($ws->connect()){
  8.         $ws->startPluginOutputListening("PermissionsEx");
  9.         $ws->doCommandAsConsole("pex reload");
  10.         $ws->stopPluginOutputListening("PermissionsEx");
  11.         $ws->disconnect();
  12.         echo "Time set.";
  13.     }else{
  14.         echo "Failed to connect.";
  15.     }
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement