This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
if(!file_exists("plugins")){ | |
echo "This script should be placed in the root of the server." . PHP_EOL; | |
exit; | |
} | |
curl_setopt_array($ch = curl_init("https://raw.githubusercontent.com/pmmp/PocketMine-MP/master/src/pocketmine/PocketMine.php"), [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
interface Color{ | |
const BOLD = "\x1b[1m"; | |
const OBFUSCATED = ""; | |
const ITALIC = "\x1b[3m"; | |
const UNDERLINE = "\x1b[4m"; | |
const STRIKETHROUGH = "\x1b[9m"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace query; | |
class Query{ | |
public const HANDSHAKE = 9; | |
public const STATISTICS = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
`adb devices -l`; | |
header('Content-Type: image/png'); | |
ob_start(); | |
passthru("adb shell screencap -p"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/pmmp/PocketMine-MP.git --recursive | |
cd PocketMine-MP | |
wget https://jenkins.pmmp.io/job/PHP-7.2-Linux-x86_64/lastSuccessfulBuild/artifact/PHP_Linux-x86_64.tar.gz | |
tar -xvzf PHP_Linux-x86_64.tar.gz | |
rm PHP_Linux-x86_64.tar.gz | |
./bin/composer install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
require_once "vendor/autoload.php"; | |
\pocketmine\network\mcpe\protocol\PacketPool::init(); | |
$data = ''; //data from hex dump |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace NS; | |
use pocketmine\nbt\NBTStream; | |
use pocketmine\nbt\NetworkLittleEndianNBTStream; | |
use pocketmine\nbt\tag\NamedTag; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-12-26 11:31:22,560 WARN MiNET.Client.MiNetClient - Connecting to: 192.168.43.1:19132 | |
2017-12-26 11:31:22,674 DEBUG MiNET.Client.MiNetClient - | |
2b 00 00 00 00 00 00 00 +....... | |
2017-12-26 11:31:22,675 INFO MiNET.Client.MiNetClient - Initializing... | |
2017-12-26 11:31:22,763 INFO MiNET.Client.MiNetClient - Server open for business for TheGrey | |
2017-12-26 11:31:22,776 WARN MiNET.Client.MiNetClient - Client listening for connecting on: 0.0.0.0:59760 | |
2017-12-26 11:31:22,875 INFO MiNET.Utils.Config - Trying to load config-file C:\Users\alex\Desktop\minet 1.2 dev\MiNET\src\MiNET\MiNET.Client\bin\Debug\server.alex.conf | |
2017-12-26 11:31:22,875 INFO MiNET.Utils.Config - Trying to load config-file C:\Users\alex\Desktop\minet 1.2 dev\MiNET\src\MiNET\MiNET.Client\bin\Debug\server.conf | |
2017-12-26 11:31:22,875 INFO MiNET.Utils.Config - Loading config-file C:\Users\alex\Desktop\minet 1.2 dev\MiNET\src\MiNET\MiNET.Client\bin\Debug\server.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-12-26 10:30:10,034 DEBUG MiNET.Client.MiNetClient - PlayerEquipment: Entity ID: 19, Selected Slot: 9, Slot: 0, Item ID: 0 | |
2017-12-26 10:30:10,034 DEBUG MiNET.Client.MiNetClient - > Receive: 13 (0x0d): McpeAddEntity | |
2017-12-26 10:30:10,048 DEBUG MiNET.Client.MiNetClient - McpeAddEntity Entity ID: -4294967290 | |
2017-12-26 10:30:10,048 DEBUG MiNET.Client.MiNetClient - McpeAddEntity Runtime Entity ID: 4 | |
2017-12-26 10:30:10,048 DEBUG MiNET.Client.MiNetClient - Entity Type: 2118423 - 0x205317 | |
2017-12-26 10:30:10,048 DEBUG MiNET.Client.MiNetClient - Entity Family: 83 - 0x53 | |
2017-12-26 10:30:10,048 DEBUG MiNET.Client.MiNetClient - Entity Type ID: 23 - 0x17 Horse | |
2017-12-26 10:30:10,048 DEBUG MiNET.Client.MiNetClient - X: 781.3013 | |
2017-12-26 10:30:10,048 DEBUG MiNET.Client.MiNetClient - Y: 4 | |
2017-12-26 10:30:10,048 DEBUG MiNET.Client.MiNetClient - Z: 11.02353 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
/* | |
#include <stdlib.h> | |
#include "HCNetSDK.h" | |
*/ | |
import "C" | |
import( | |
"os" | |
"fmt" |