-
Check the comments below for a short overview
-
They will be doing a gameplay video tomorrow
-
They know how to dodge questions on external servers
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 | |
define("COMPARATOR_VERSION", "0.1"); | |
ini_set("memory_limit", "512M"); | |
$node1 = json_decode(@file_get_contents($argv[1]), true); | |
if($node1 == ""){ | |
echo "Provide a valid json file produced by the Extractor".PHP_EOL; | |
exit(1); | |
} | |
$node2 = json_decode(@file_get_contents($argv[2]), true); |
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 | |
MC="/Users/steve/Minecraft" | |
LOG="$MC/server.log" | |
MESSAGE="We are not falling for it. This is not the server you are looking for. Move along." | |
for player in `tail -50 $LOG | grep -i "i'm\|im\|i am" | grep -i from | grep -i planet | grep -i minecraft | cut -f 4 -d " " | cut -f 2 -d \< | cut -f 1 -d \> | sort | uniq` | |
do | |
if [ -n "`tail -100000 $LOG | grep "Kicked $player from the game: '$MESSAGE'"`" ]; then |
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 | |
/* | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2004 Sam Hocevar <[email protected]> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. |
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
displayName = "PC -> PE" | |
replaceBlocks = { | |
28: 0, | |
29: 0, | |
33: 0, | |
34: 0, | |
55: 0, | |
69: 0, | |
70: 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 | |
namespace shoghicp\MinecraftSimulator\task; | |
use pocketmine\Player; | |
use pocketmine\scheduler\PluginTask; | |
use shoghicp\MinecraftSimulator\Loader; | |
class MarqueeTask extends PluginTask{ |
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 | |
/** | |
* @name VirtualInventories | |
* @main VirtualInventories\Loader | |
* @version 1.0.0 | |
* @api 1.12.0 | |
* @description Way to open virtual custom inventories | |
* @author iksaku | |
*/ |
Basically, this file will take in a binary file of skin.dat and export 3 files: image.png is the skin file, face.png is the face in original size, faceLarge.png is the face in 512x512.
Only supports 64x64 skins for now. If you want 32x64 make appropriate checks.
The PocketMine's (MCPE's) Skin Data Format is in RGBA format, when represented as hex strings they are a stream of 8 characters. Each two characters represent the R, G, B A, and this continues until you have enough data for either a 32x64 image or a 64x64 image. You can also check whether 32x or 64x with the isSlimSkin() flag on the Player object.
Note that A only has 2 values: 0 and 255. They are inverted in the script because PHP.
OlderNewer