Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once 'Websend.php';
- $ws = new Minecraft();
- $ws->host = "10.5.1.2";
- $ws->port = "9081";
- $ws->password = "h6546ebbuvh64ds4g";
- if($ws->connect()){
- $ws->doCommandAsConsole("mail send ldrrp hi");
- $ws->disconnect();
- }else{
- echo "Failed to connect";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment