-
/ \
/ \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
| .. | .. |
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
$client = new MinecraftClient("127.0.0.1"); | |
$client->event("onTick", "spammer"); | |
$client->connect("troll", "trollpassword"); | |
function spammer($data, $event, $ob){ | |
$ob->say("SPAM!!"); | |
} |
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
//Packet 0x84 compilation | |
//Client -> Server | |
//Server ID ffffffffd7189931 | |
00 00004000 9000000009 ffffffffd7189931 4273a8508fa03694 00 | |
//Server -> Client |
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
protected function _shiftIV($IV, $str){ //Only for CFB | |
if(strlen($str) < 16){ | |
$len = min($this->IVLenght, strlen($str)); | |
return substr($IV, $len).substr($str, -$len); | |
} | |
return substr($str, -$this->IVLenght); | |
} |
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 | |
if(!extension_loaded("pthreads") and @dl((PHP_SHLIB_SUFFIX === "dll" ? "php_":"") . "pthreads." . PHP_SHLIB_SUFFIX) === false){ | |
trigger_error("Unable to find pthreads extension", E_USER_ERROR); | |
exit(1); | |
} | |
function kill($pid){ | |
$uname = strtoupper(php_uname("s")); |
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 | |
/* | |
__PocketMine Plugin__ | |
name=WorldEditor | |
description=World Editor is a port of WorldEdit to PocketMine | |
version=0.4dev | |
author=shoghicp | |
class=WorldEditor | |
apiversion=3 |
This file has been truncated, but you can view the full file.
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
'use strict'; | |
var COMPILED = !0, goog = goog || {}; | |
goog.global = this; | |
goog.DEBUG = !1; | |
goog.LOCALE = "en"; | |
goog.provide = function (a) { | |
if (!COMPILED) { | |
if (goog.isProvided_(a)) | |
throw Error('Namespace "' + a + '" already declared.'); | |
delete goog.implicitNamespaces_[a]; |
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 | |
/* | |
__PocketMine Plugin__ | |
name=MagicCarpet | |
description=MagicCarpet is a plugin that allows the user to fly away on a carpet made of glass (port) | |
version=0.1.2 | |
author=shoghicp | |
class=MagicCarpet | |
apiversion=5,6 |
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
dnl +----------------------------------------------------------------------+ | |
dnl | PHP Version 5 | | |
dnl +----------------------------------------------------------------------+ | |
dnl | Copyrght (C) 1997-2013 The PHP Group | | |
dnl +----------------------------------------------------------------------+ | |
dnl | This source file is subject to version 3.01 of the PHP license, | | |
dnl | that is bundled with this package in the file LICENSE, and is | | |
dnl | available through the world-wide-web at the following url: | | |
dnl | http://www.php.net/license/3_01.txt | | |
dnl | If you did not receive a copy of the PHP license and are unable to | |