{"action":"created","issue":{"url":"https://api.github.com/repos/thedudeguy/PHP-Minecraft-Rcon/issues/22","repository_url":"https://api.github.com/repos/thedudeguy/PHP-Minecraft-Rcon","labels_url":"https://api.github.com/repos/thedudeguy/PHP-Minecraft-Rcon/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/thedudeguy/PHP-Minecraft-Rcon/issues/22/comments","events_url":"https://api.github.com/repos/thedudeguy/PHP-Minecraft-Rcon/issues/22/events","html_url":"https://github.com/thedudeguy/PHP-Minecraft-Rcon/issues/22","id":339543085,"node_id":"MDU6SXNzdWUzMzk1NDMwODU=","number":22,"title":"Not working ^_^","user":{"login":"ItsTauTvyDas","id":31439275,"node_id":"MDQ6VXNlcjMxNDM5Mjc1","avatar_url":"https://avatars1.githubusercontent.com/u/31439275?v=4","gravatar_id":"","url":"https://api.github.com/users/ItsTauTvyDas","html_url":"https://github.com/ItsTauTvyDas","followers_url":"https://api.github.com/users/ItsTauTvyDas/followers","following_url":"https://api.github.com/users/ItsTauTvyDas/following{/other_user}","gists_url":"https://api.github.com/users/ItsTauTvyDas/gists{/gist_id}","starred_url":"https://api.github.com/users/ItsTauTvyDas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ItsTauTvyDas/subscriptions","organizations_url":"https://api.github.com/users/ItsTauTvyDas/orgs","repos_url":"https://api.github.com/users/ItsTauTvyDas/repos","events_url":"https://api.github.com/users/ItsTauTvyDas/events{/privacy}","received_events_url":"https://api.github.com/users/ItsTauTvyDas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-09T17:37:16Z","updated_at":"2018-07-09T17:43:15Z","closed_at":null,"author_association":"NONE","body":"The script is\r\n```\r\nrequire_once('rcon.php');\r\n\r\n$host = 'my host'; // Server host name or IP\r\n$port = 25575;                      // Port rcon is listening on\r\n$password = 'my password'; // rcon.password setting set in server.properties\r\n$timeout = 3;                       // How long to timeout.\r\n\r\nuse Thedudeguy\\Rcon;\r\n\r\n$rcon = new Rcon($host, $port, $password, $timeout);\r\n\r\nif ($rcon->connect())\r\n{\r\n  $rcon->sendCommand(\"say test\");\r\n  echo $rcon->get_response();\r\n} else {\r\n  echo \"no, lol\";\r\n}\r\n```\r\nAnd I get \"no, lol\" message in index file (without \"else\", I get nothing), what to do? I looked in console, command not sended. No error, no nothing"},"comment":{"url":"https://api.github.com/repos/thedudeguy/PHP-Minecraft-Rcon/issues/comments/403561500","html_url":"https://github.com/thedudeguy/PHP-Minecraft-Rcon/issues/22#issuecomment-403561500","issue_url":"https://api.github.com/repos/thedudeguy/PHP-Minecraft-Rcon/issues/22","id":403561500,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzU2MTUwMA==","user":{"login":"ItsTauTvyDas","id":31439275,"node_id":"MDQ6VXNlcjMxNDM5Mjc1","avatar_url":"https://avatars1.githubusercontent.com/u/31439275?v=4","gravatar_id":"","url":"https://api.github.com/users/ItsTauTvyDas","html_url":"https://github.com/ItsTauTvyDas","followers_url":"https://api.github.com/users/ItsTauTvyDas/followers","following_url":"https://api.github.com/users/ItsTauTvyDas/following{/other_user}","gists_url":"https://api.github.com/users/ItsTauTvyDas/gists{/gist_id}","starred_url":"https://api.github.com/users/ItsTauTvyDas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ItsTauTvyDas/subscriptions","organizations_url":"https://api.github.com/users/ItsTauTvyDas/orgs","repos_url":"https://api.github.com/users/ItsTauTvyDas/repos","events_url":"https://api.github.com/users/ItsTauTvyDas/events{/privacy}","received_events_url":"https://api.github.com/users/ItsTauTvyDas/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T17:43:15Z","updated_at":"2018-07-09T17:43:15Z","author_association":"NONE","body":"You mean in browser? Page/file loads in 1 sec"}}
{"actor":{"display_login":"ItsTauTvyDas"}}