This file contains 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 | |
/* | |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
This file contains 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
displayName = "PC -> PE" | |
replaceBlocks = { | |
119: 0, # End portal frame | |
122: 0, # Dragon egg | |
125: 157, # Double wooden slab | |
126: 158, # Wooden slab | |
130: 54, # Enderchest | |
137: 0, # Command block | |
138: 0, # Beacon |
This file contains 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 | |
function compare($old, $new) { | |
$oldNumbers = explode(".", $old); | |
$newNumbers = explode(".", $new); | |
$hasNewVersion = false; | |
for($i = 0; $i < 3; $i++) { | |
if($newNumbers[$i] > $oldNumbers[$i]) { |
This file contains 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
[06:57:52] [Server thread/DEBUG]: Packet pocketmine\network\protocol\LoginPacket 0xfe010000005b008b1478daed9b5b73da4816c753b56ffb15f62d8f5b3553920007ed3e19a11602a931bab4506f6da5001174050c58064ded775f61b5485a696b003be329671efa810ac7529f5fffcfadc33ffff6e1c36f1f67fe24587efcd77f3ece0f7d7faacc8261d00776a637a1a46ed5e582f74cf5468d78d5197b608462d514c489395edfeb32ecd82856cccc00860dbaa66d60cc0130477e6f6ee31694d7aad3c37738b20f16ba6d8e32e0cc223e8132b0ece58c77144f9b665e6623231e3afd951bc54d24c0eea0813853d8d9585e1d500f614ff6561a075653e0cb83c63a9c297c730ee496676f375a06052bdaaf8da587b1006cd8884dc7027796057b06077b7365971a3d039b09af4e7afdae95801436e0e3147492a9b508be8c56bfe6fb8ee7bddb6018cadcb07bdbd22df700b3d9564d50d3ebf57d43019c9bfb20ff5e3419e7b60a68e57f67879ffcb2f65d61379c0ae2012b3e3f19eb8126f5d758410f9e1273f3e3771257183ac8875d97d7ac38d6bbfa4ecfecbd7be05ad07205cdf22398b98f308b1ef5f0f6a01ffa22f53750877793fddae576f1fc1db3c8f7fce0266e850316a5c5af375f1e20f78947c2ae7f73ab6eb5ddd86a089a32731e5280502bbde71fdc417a3707da586a3be24372b3f |
This file contains 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
Usage: | |
Install source: ./github-installer.sh | |
Install compiled server Phar without source: ./github-installer.sh --compile --no-source | |
Install DevTools and compiled server Phar with source: ./githubinstaller.sh --devtools --compile | |
Install DevTools and compiled server Phar without source: ./github-installer.sh --devtools --compile --no-source |
This file contains 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
PocketMine-MP Crash Dump Fri Mar 24 17:54:37 EDT 2017 | |
Error: Call to a member function addEntityMovement() on null | |
File: /src/pocketmine/Player | |
Line: 1468 | |
Type: notice | |
Code: | |
[1459] if(!$isFirst){ | |
[1460] $ev = new PlayerMoveEvent($this, $from, $to); |
This file contains 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
{ | |
"Login": { | |
"protocols": { | |
"107": { | |
"pid": "0x01", | |
"canBatch": false, | |
"canSendBeforeLogin": true, | |
"minecraft-versions": [ | |
"1.0.7.0" | |
], |
This file contains 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 | |
/* | |
* Data in the form of: x y z\nx y z | |
*/ | |
$data = | |
'384 1 -71 | |
383 1 -26 | |
384 1 25 | |
383 1 70 | |
480 1 -71 |
This file contains 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 | |
$flagsTypes = [ // MCPE protocol 120 data flag types | |
0 => "on fire", | |
1 => "sneaking", | |
2 => "riding", | |
3 => "sprinting", | |
4 => "action", | |
5 => "invisible", | |
6 => "tempted", |
This file contains 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 | |
/* | |
* Script to quickly generate the aliases.php stub file | |
*/ | |
$root_path = realpath(__DIR__ . "/../../.."); // path to the project root directory | |
$config = preg_replace("/\s+/", "", file_get_contents($root_path . "/config/app.php")); // get the app config and strip all white space |
OlderNewer