Usage: /auth <option> <value>
Description: change your auth settings
Option | Value |
---|
Source: http://www.cprogramming.com/tutorial/lesson12.html
Let's look at these different access restrictions for a moment. Why would you want to declare something private instead of public? The idea is that some parts of the class are intended to be internal to the class--only for the purpose of implementing features. On the other hand, some parts of the class are supposed to be available to anyone using the class--these are the public class functions. Think of a class as though it were an appliance like a microwave: the public parts of the class correspond to the parts of the microwave that you can use on an everyday basis--the keypad, the start button, and so forth. On the other hand, some parts of the microwave are not easily accessible, but they are no less important--it would be hard to get at the microwave generator. These would correspond to the protected or private parts of the class--the things that are necessary for the class to function, but that nobody who uses the class should need to know abo
<?php | |
require_once("readline.php"); | |
$thread = new ConsoleThread; | |
$thread->start(); | |
while(true){ | |
sleep(10); | |
echo "I am still alive!" . PHP_EOL; | |
} | |
class ConsoleThread extends Thread{ | |
public function run(){ |
<?php | |
namespace legionpe\games\spleef; | |
use legionpe\config\Settings; | |
use pocketmine\inventory\PlayerInventory; | |
use pocketmine\item\Item; | |
use pocketmine\item\Snowball; | |
class SpleefArena{ |
<?php | |
@define("STDIN", fopen("php://stdin", "rt")); | |
function query($query){ | |
echo $query; | |
return trim(fgets($query)); | |
} | |
function out($message){ | |
echo date("[H:i:s] ") . $message . PHP_EOL; | |
} | |
function quit($message, $code = 2){ |
# Log generated by PacketLogger 1.1.0 in PocketMine-MP 1.5dev-245 for Minecraft: PE v0.11.0 alpha (protocol #27) | |
Player: pemapmodder, clientId 1697512888 from [/14.199.247.137:51550 | |
Start time: 2015-07-17T07:37:21-04:00 | |
[Server -> Client 0xaa] ContainerSetContentPacket (length 1276) | |
0000 aa 79 00 fe 00 04 01 00 00 00 62 01 00 00 00 62 .y........b....b | |
0010 01 00 01 00 62 01 00 02 00 62 01 00 03 00 30 01 ....b....b....0. | |
0020 00 00 00 05 01 00 00 00 05 01 00 01 00 05 01 00 ................ | |
0030 02 00 05 01 00 03 00 05 01 00 04 00 05 01 00 05 ................ |