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
<details> | |
<summary>Spoiler Title</summary> | |
Text in spoiler here... | |
Blah... | |
</details> |
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
/******************************************************* | |
* From bukkit/mc-dev. | |
* | |
* THIS CODE IS COPYRIGHT MOJANG AB. | |
* | |
* I have changed some function and method names to | |
* make it more readable. | |
*/ | |
package net.minecraft.server; |
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
/*** #ModPE ***/ // How all mods should start (Or some kind of hashtag, because hastags are lit af) | |
//********** Please comment on this gist with any suggestions or changes ********** | |
// Core apis | |
var block = require('block'); | |
var modpe = require('core'); | |
var level = require('level'); | |
var command = require('command'); | |
var mod = require('mod') |
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
curl -s -X GET -A "MCPE/Android" -H "Connection: Keep-Alive" -H "Client-Version: 1.0.0" -H "Charset: utf-8" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Authorization:XBL3.0 x=179553430866589705;eyJlbmMiOiJBMTI4Q0JDK0hTMjU2IiwiYWxnIjoiUlNBLU9BRVAiLCJjdHkiOiJKV1QiLCJ6aXAiOiJERUYiLCJ4NXQiOiJfd3lzeEV6dHY4UmdGLWl4cjltdy1LTTNaUG8ifQ.0Ab-pEz6JdK5SaqaVRsAjGYwcB9rij5oH4hBTVMGOCCpYrf8NxZzp5eH2Sd4RyTL6PW2gvb5vlqklfcIgZnsv7Aq4feIgSgdExPYluUa5E1ifJgVijX2iO3HN14pVHug2n23bwqj4eE80y-VILWEYCvzf08d7Jj69T7KiaKKI9_VbBCJ4BhhbEtDmDwfi10UZKewVQDbTnqF98vakA69dwkjWcdoIhUNDAfBzF3IkAEAM6BLQVuOxF07_63aaMPGJmEabf0GJCLMDvuvq1FsNOs1Bp_D9pnz8UPivneRegkOYiNcMMrlO49hjwF0L-VQ1e4PKjK5z82zy_qSJBSSdA.1SS8wj9xocMLPRicVC0WkA.qIrIQ38oKQaS2C82J_KabO_lfi3r56ulQ-SzfE2qFQaYrpFuIFeZy9A2wUW4ScXDivDLCzSRLgSEeGkFkSnwr8b0J692BGXbj3KAjjsjcAqYo6yJVJ3t9PGJjzM3iCmsfmSY_WnoHpszoTCsM_7euDucw1ITkZatlalwXVh8hbAZyUzfxFkqVU6ukTyJn21D8E49BblUi-SPV5socBX1tFNGAkLN0iz9DcDoq_3suTTQB11V2NNEv0NG_nS3Po4_WYg0x-gGXifYyTSULU39-XuuQfcSm_2dt4R4lHMKoGp8gjKK |
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 | |
namespace example; | |
use pocketmine\plugin\PluginBase | |
class MyClass extends PluginBase { | |
public function onEnable(){ | |
$version = $this->getServer()->getName(); |