{"sha":"c2de8094b25f213b29861894bbdedf9e144103db","node_id":"MDY6Q29tbWl0NjI4NzU4NTpjMmRlODA5NGIyNWYyMTNiMjk4NjE4OTRiYmRlZGY5ZTE0NDEwM2Ri","commit":{"author":{"name":"Shoghi Cervantes Pueyo","email":"shoghicp@gmail.com","date":"2012-10-19T00:21:54Z"},"committer":{"name":"Shoghi Cervantes Pueyo","email":"shoghicp@gmail.com","date":"2012-10-19T00:21:54Z"},"message":"First commit","tree":{"sha":"34b09d0ac336c95338b7db2337533a6d5ce93f05","url":"https://api.github.com/repos/PocketMine/PocketMine-MP/git/trees/34b09d0ac336c95338b7db2337533a6d5ce93f05"},"url":"https://api.github.com/repos/PocketMine/PocketMine-MP/git/commits/c2de8094b25f213b29861894bbdedf9e144103db","comment_count":1,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PocketMine/PocketMine-MP/commits/c2de8094b25f213b29861894bbdedf9e144103db","html_url":"https://github.com/PocketMine/PocketMine-MP/commit/c2de8094b25f213b29861894bbdedf9e144103db","comments_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/commits/c2de8094b25f213b29861894bbdedf9e144103db/comments","author":{"login":"shoghicp","id":516482,"node_id":"MDQ6VXNlcjUxNjQ4Mg==","avatar_url":"https://avatars.githubusercontent.com/u/516482?v=4","gravatar_id":"","url":"https://api.github.com/users/shoghicp","html_url":"https://github.com/shoghicp","followers_url":"https://api.github.com/users/shoghicp/followers","following_url":"https://api.github.com/users/shoghicp/following{/other_user}","gists_url":"https://api.github.com/users/shoghicp/gists{/gist_id}","starred_url":"https://api.github.com/users/shoghicp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoghicp/subscriptions","organizations_url":"https://api.github.com/users/shoghicp/orgs","repos_url":"https://api.github.com/users/shoghicp/repos","events_url":"https://api.github.com/users/shoghicp/events{/privacy}","received_events_url":"https://api.github.com/users/shoghicp/received_events","type":"User","site_admin":false},"committer":{"login":"shoghicp","id":516482,"node_id":"MDQ6VXNlcjUxNjQ4Mg==","avatar_url":"https://avatars.githubusercontent.com/u/516482?v=4","gravatar_id":"","url":"https://api.github.com/users/shoghicp","html_url":"https://github.com/shoghicp","followers_url":"https://api.github.com/users/shoghicp/followers","following_url":"https://api.github.com/users/shoghicp/following{/other_user}","gists_url":"https://api.github.com/users/shoghicp/gists{/gist_id}","starred_url":"https://api.github.com/users/shoghicp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoghicp/subscriptions","organizations_url":"https://api.github.com/users/shoghicp/orgs","repos_url":"https://api.github.com/users/shoghicp/repos","events_url":"https://api.github.com/users/shoghicp/events{/privacy}","received_events_url":"https://api.github.com/users/shoghicp/received_events","type":"User","site_admin":false},"parents":[],"stats":{"total":1778,"additions":1778,"deletions":0},"files":[{"sha":"412eeda78dc9de1186c2e0e1526764af82ab3431","filename":".gitattributes","status":"added","additions":22,"deletions":0,"changes":22,"blob_url":"https://github.com/PocketMine/PocketMine-MP/blob/c2de8094b25f213b29861894bbdedf9e144103db/.gitattributes","raw_url":"https://github.com/PocketMine/PocketMine-MP/raw/c2de8094b25f213b29861894bbdedf9e144103db/.gitattributes","contents_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/contents/.gitattributes?ref=c2de8094b25f213b29861894bbdedf9e144103db","patch":"@@ -0,0 +1,22 @@\n+# Auto detect text files and perform LF normalization\n+* text=auto\n+\n+# Custom for Visual Studio\n+*.cs diff=csharp\n+*.sln merge=union\n+*.csproj merge=union\n+*.vbproj merge=union\n+*.fsproj merge=union\n+*.dbproj merge=union\n+\n+# Standard to msysgit\n+*.doc\t diff=astextplain\n+*.DOC\t diff=astextplain\n+*.docx diff=astextplain\n+*.DOCX diff=astextplain\n+*.dot diff=astextplain\n+*.DOT diff=astextplain\n+*.pdf diff=astextplain\n+*.PDF\t diff=astextplain\n+*.rtf\t diff=astextplain\n+*.RTF\t diff=astextplain"},{"sha":"159d6c9750728e65e24945462fcffe94dd25072f","filename":".gitignore","status":"added","additions":169,"deletions":0,"changes":169,"blob_url":"https://github.com/PocketMine/PocketMine-MP/blob/c2de8094b25f213b29861894bbdedf9e144103db/.gitignore","raw_url":"https://github.com/PocketMine/PocketMine-MP/raw/c2de8094b25f213b29861894bbdedf9e144103db/.gitignore","contents_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/contents/.gitignore?ref=c2de8094b25f213b29861894bbdedf9e144103db","patch":"@@ -0,0 +1,169 @@\n+*.log\n+*.ini\n+test.php\n+*.bat\n+raknet/*\n+\n+#################\n+## Eclipse\n+#################\n+\n+*.pydevproject\n+.project\n+.metadata\n+bin/\n+tmp/\n+*.tmp\n+*.bak\n+*.swp\n+*~.nib\n+local.properties\n+.classpath\n+.settings/\n+.loadpath\n+\n+# External tool builders\n+.externalToolBuilders/\n+\n+# Locally stored \"Eclipse launch configurations\"\n+*.launch\n+\n+# CDT-specific\n+.cproject\n+\n+# PDT-specific\n+.buildpath\n+\n+\n+#################\n+## Visual Studio\n+#################\n+\n+## Ignore Visual Studio temporary files, build results, and\n+## files generated by popular Visual Studio add-ons.\n+\n+# User-specific files\n+*.suo\n+*.user\n+*.sln.docstates\n+\n+# Build results\n+[Dd]ebug/\n+[Rr]elease/\n+*_i.c\n+*_p.c\n+*.ilk\n+*.meta\n+*.obj\n+*.pch\n+*.pdb\n+*.pgc\n+*.pgd\n+*.rsp\n+*.sbr\n+*.tlb\n+*.tli\n+*.tlh\n+*.tmp\n+*.vspscc\n+.builds\n+*.dotCover\n+\n+## TODO: If you have NuGet Package Restore enabled, uncomment this\n+#packages/\n+\n+# Visual C++ cache files\n+ipch/\n+*.aps\n+*.ncb\n+*.opensdf\n+*.sdf\n+\n+# Visual Studio profiler\n+*.psess\n+*.vsp\n+\n+# ReSharper is a .NET coding add-in\n+_ReSharper*\n+\n+# Installshield output folder\n+[Ee]xpress\n+\n+# DocProject is a documentation generator add-in\n+DocProject/buildhelp/\n+DocProject/Help/*.HxT\n+DocProject/Help/*.HxC\n+DocProject/Help/*.hhc\n+DocProject/Help/*.hhk\n+DocProject/Help/*.hhp\n+DocProject/Help/Html2\n+DocProject/Help/html\n+\n+# Click-Once directory\n+publish\n+\n+# Others\n+[Bb]in\n+[Oo]bj\n+sql\n+TestResults\n+*.Cache\n+ClientBin\n+stylecop.*\n+~$*\n+*.dbmdl\n+Generated_Code #added for RIA/Silverlight projects\n+\n+# Backup & report files from converting an old project file to a newer\n+# Visual Studio version. Backup files are not needed, because we have git ;-)\n+_UpgradeReport_Files/\n+Backup*/\n+UpgradeLog*.XML\n+\n+\n+\n+############\n+## Windows\n+############\n+\n+# Windows image file caches\n+Thumbs.db\n+\n+# Folder config file\n+Desktop.ini\n+\n+\n+#############\n+## Python\n+#############\n+\n+*.py[co]\n+\n+# Packages\n+*.egg\n+*.egg-info\n+dist\n+build\n+eggs\n+parts\n+bin\n+var\n+sdist\n+develop-eggs\n+.installed.cfg\n+\n+# Installer logs\n+pip-log.txt\n+\n+# Unit test / coverage reports\n+.coverage\n+.tox\n+\n+#Translations\n+*.mo\n+\n+#Mr Developer\n+.mr.developer.cfg\n+\n+# Mac crap\n+.DS_Store"},{"sha":"02bbb60bc49afc2d6a1bedf96288eab236d80fbd","filename":"LICENSE","status":"added","additions":165,"deletions":0,"changes":165,"blob_url":"https://github.com/PocketMine/PocketMine-MP/blob/c2de8094b25f213b29861894bbdedf9e144103db/LICENSE","raw_url":"https://github.com/PocketMine/PocketMine-MP/raw/c2de8094b25f213b29861894bbdedf9e144103db/LICENSE","contents_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/contents/LICENSE?ref=c2de8094b25f213b29861894bbdedf9e144103db","patch":"@@ -0,0 +1,165 @@\n+ GNU LESSER GENERAL PUBLIC LICENSE\n+ Version 3, 29 June 2007\n+\n+ Copyright (C) 2007 Free Software Foundation, Inc.
' : '';\n+ $offset = 0;\n+ $len = strlen($data);\n+ \n+ // Upper or lower case hexadecimal\n+ $x = ($uppercase === false) ? 'x' : 'X';\n+ \n+ // Iterate string\n+ for ($i = $j = 0; $i < $len; $i++)\n+ {\n+ // Convert to hexidecimal\n+ $hexi .= Utils::strToHex($data[$i]);\n+ \n+ // Replace non-viewable bytes with '.'\n+ if (ord($data[$i]) >= 0x20 and ord($data[$i]) < 0x80) {\n+ $ascii .= ($htmloutput === true) ?\n+ htmlentities($data[$i]) :\n+ $data[$i];\n+ } else {\n+ $ascii .= '.';\n+ }\n+ \n+ // Add extra column spacing\n+ if ($j === 7) {\n+ $hexi .= ' ';\n+ $ascii .= ' ';\n+ }\n+ \n+ // Add row\n+ if (++$j === 16 || $i === $len - 1) {\n+ // Join the hexi / ascii output\n+ $dump .= sprintf(\"%04$x %-49s %s\", $offset, $hexi, $ascii);\n+ \n+ // Reset vars\n+ $hexi = $ascii = '';\n+ $offset += 16;\n+ $j = 0;\n+ \n+ // Add newline\n+ if ($i !== $len - 1) {\n+ $dump .= \"\\n\";\n+ }\n+ }\n+ }\n+ \n+ // Finish dump\n+ $dump .= $htmloutput === true ?\n+ '' :\n+ '';\n+ $dump .= \"\\n\";\n+\t\n+\t$dump = preg_replace(\"/[^[:print:]\\\\r\\\\n]/\", \".\", $dump);\n+ \n+ // Output method\n+ if ($return === false) {\n+ echo $dump;\n+ } else {\n+ return $dump;\n+ }\n+}\n\\ No newline at end of file"},{"sha":"3ef187ccc2888dcc98ee29dd2885a40f28b1a113","filename":"pstruct/RakNet.php","status":"added","additions":90,"deletions":0,"changes":90,"blob_url":"https://github.com/PocketMine/PocketMine-MP/blob/c2de8094b25f213b29861894bbdedf9e144103db/pstruct%2FRakNet.php","raw_url":"https://github.com/PocketMine/PocketMine-MP/raw/c2de8094b25f213b29861894bbdedf9e144103db/pstruct%2FRakNet.php","contents_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/contents/pstruct%2FRakNet.php?ref=c2de8094b25f213b29861894bbdedf9e144103db","patch":"@@ -0,0 +1,90 @@\n+ array(\n+\t\t\"double\",\n+\t\t\"magic\",\n+\t),\n+\t\n+\t0x05 => array(\n+\t\t\"magic\",\n+\t\t\"byte\",\n+\t\t\"special1\",\n+\t),\n+\t\n+\t0x06 => array(\n+\t\t\"magic\",\n+\t\t\"double\",\n+\t\t\"byte\",\n+\t\t\"short\",\n+\t),\n+\t\n+\t0x07 => array(\n+\t\t\"magic\",\n+\t\t5,\n+\t\t\"short\",\n+\t\t\"short\",\n+\t\t\"int\",\n+\t\t\"int\",\n+\t),\n+\t\n+\t0x08 => array(\n+\t\t\"magic\",\n+\t\t\"int\",\n+\t\t\"int\",\n+\t\t5,\n+\t\t\"short\",\n+\t\t\"short\",\n+\t\t\"byte\",\n+\t),\n+\t\n+\t0x1c => array(\n+\t\t\"double\",\n+\t\t\"double\",\n+\t\t\"magic\",\n+\t\t\"string\",\n+\t),\n+\t\n+\t0x1d => array(\n+\t\t\"double\",\n+\t\t\"double\",\n+\t\t\"magic\",\n+\t\t\"string\",\n+\t),\n+\t\n+\t0x84 => array(\n+\t\t\"byte\",\n+\t\t9,\n+\t\t\"int\",\n+\t\t\"int\",\n+\t\t5,\n+\t\t3,\n+\t\t\"byte\",\n+\t),\n+\n+);\n\\ No newline at end of file"},{"sha":"b06215082ab2f5ef41c937ddfbbb0f87a8329e53","filename":"pstruct/packetName.php","status":"added","additions":37,"deletions":0,"changes":37,"blob_url":"https://github.com/PocketMine/PocketMine-MP/blob/c2de8094b25f213b29861894bbdedf9e144103db/pstruct%2FpacketName.php","raw_url":"https://github.com/PocketMine/PocketMine-MP/raw/c2de8094b25f213b29861894bbdedf9e144103db/pstruct%2FpacketName.php","contents_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/contents/pstruct%2FpacketName.php?ref=c2de8094b25f213b29861894bbdedf9e144103db","patch":"@@ -0,0 +1,37 @@\n+ \"ID_UNCONNECTED_PING_OPEN_CONNECTIONS\",\n+\t0x05 => \"ID_OPEN_CONNECTION_REQUEST_1\",\n+\t0x06 => \"ID_OPEN_CONNECTION_REPLY_1\",\n+\t0x07 => \"ID_OPEN_CONNECTION_REQUEST_2\",\n+\t0x08 => \"ID_OPEN_CONNECTION_REPLY_2\",\n+\t0x1c => \"ID_UNCONNECTED_PONG\",\n+\t0x1d => \"ID_ADVERTISE_SYSTEM\",\n+\t\n+);\n\\ No newline at end of file"},{"sha":"256faa32fb2a7746ecff4facebdc3377faf3ec2f","filename":"server.php","status":"added","additions":33,"deletions":0,"changes":33,"blob_url":"https://github.com/PocketMine/PocketMine-MP/blob/c2de8094b25f213b29861894bbdedf9e144103db/server.php","raw_url":"https://github.com/PocketMine/PocketMine-MP/raw/c2de8094b25f213b29861894bbdedf9e144103db/server.php","contents_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/contents/server.php?ref=c2de8094b25f213b29861894bbdedf9e144103db","patch":"@@ -0,0 +1,33 @@\n+start();\n\\ No newline at end of file"}]}