These rules are based on #mcdevs rules. They are pretty straightforward and for the most part are just common etiquette.
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
#include <stdio.h> | |
#include <arpa/inet.h> //INET6_ADDRSTRLEN | |
#include <miniupnpc/miniupnpc.h> | |
#include <miniupnpc/upnpcommands.h> | |
int main(int argc, char *argv[]) { | |
int error = 0; | |
//get a list of upnp devices (asks on the broadcast address and returns the responses) | |
struct UPNPDev *upnp_dev = upnpDiscover(1000, //timeout in milliseconds | |
NULL, //multicast address, default = "239.255.255.250" |
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 | |
#PocketMine automatic analysis tool | |
echo "[*] PocketMine automatic analysis tool" | |
cat > ttyecho.c <<'TTYECHO' | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <fcntl.h> |
ID | Description | Type |
---|---|---|
1 | Air | Short |
2 | Name tag | String |
3 | Name visibility | Byte |
4 | Silent | Byte |
7 | Potion bubbles | Int |
12 | Baby zombies | Byte |
14 | Baby animals, wolf data (angry) | Byte |
16 | Sheep/Villager type, also slime size, and pig saddle | Byte |
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
2016-09-20 18:59:59,577 DEBUG MiNET.Client.MiNetClient - Command JSON: | |
{ | |
"ability": { | |
"versions": [ | |
{ | |
"description": "commands.ability.description", | |
"overloads": { | |
"default": { | |
"input": { | |
"parameters": [ |
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
For advanced users, a syntax highlighter for sublime text and | |
textmate which makes reading the list easier can be found here: | |
https://gist.github.com/jocopa3/e4a35921e4f978572e7f45360d231f37 | |
============ Blocks ============ | |
All blocks as found in the 1.1.0.0 Block::initBlocks function. | |
Block names are the same names used in the /give command. | |
Name Id Data |
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
{ | |
"commandName": "help", | |
"commandOverload": "byPage", | |
"unkown1": 0, | |
"unkown2": 0, | |
"unkown4": false, | |
"unkown5": -1, | |
"commandJson": "null\n", | |
"unkown6": "null\n", | |
"unkown7": 0, |
Metadata id | Object | Description | Type | Checked |
---|---|---|---|---|
1 | Wolf | Tail angle | int | |
Boat | Health | int | ||
Minecart | Health | int | ||
2 | Entity | Variant | int | 👍 |
FallingBlock | fall damage | int | 👍 | |
Slime | size | int | 👍 | |
3 | Entity | Color (for sheep in particular) | byte | 👍 |
4 | Entity | name | string | 👍 |
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
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - > Receive: 14 (0x0e): McpeAddEntity | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - McpeAddEntity Entity ID: -51539607504 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - McpeAddEntity Runtime Entity ID: 56 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Entity Type: 2869 - 0xb35 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Entity Family: 11 - 0x0b | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Entity Type ID: 53 - 0x35 EnderDragon | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - X: 57.99719 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Y: 4.06 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Z: 9.940071 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Yaw: 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
// To subscribe to an event, pass this JSON text to the client through the WebSocket: | |
{ | |
"body": { | |
"eventName": "NameOfEvent" // Replace with an event name listed below | |
}, | |
"header": { | |
"requestId": "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx", // UUID | |
"messagePurpose": "subscribe", | |
"version": 1, // Protocol version (currently 1 as-of 1.0.2) |
OlderNewer