Phpcraft
Deprecated List
Member Phpcraft\Connection::$lenient
Set $leniency to LENIENCY_LENIENT, instead.
Member Phpcraft\Phpcraft::chatToText ($chat, int $format=ChatComponent::FORMAT_NONE, ?array $translations=null)
Use ChatComponent::cast($chat)->toString($format), instead.
Member Phpcraft\Phpcraft::FORMAT_AMPERSAND
Use ChatComponent::FORMAT_AMPERSAND, instead.
Member Phpcraft\Phpcraft::FORMAT_ANSI
Use ChatComponent::FORMAT_ANSI, instead.
Member Phpcraft\Phpcraft::FORMAT_HTML
Use ChatComponent::FORMAT_HTML, instead.
Member Phpcraft\Phpcraft::FORMAT_NONE
Use ChatComponent::FORMAT_NONE, instead.
Member Phpcraft\Phpcraft::FORMAT_SILCROW
Use ChatComponent::FORMAT_SILCROW, instead.
Member Phpcraft\Phpcraft::getServerStatus (string $hostname, int $port=25565, float $timeout=3.000, int $method=ServerConnection::METHOD_ALL)
Use ServerConnection::getStatus, instead.
Member Phpcraft\Phpcraft::METHOD_ALL
Use ServerConnection::METHOD_ALL, instead.
Member Phpcraft\Phpcraft::METHOD_LEGACY
Use ServerConnection::METHOD_LEGACY, instead.
Member Phpcraft\Phpcraft::METHOD_MODERN
Use ServerConnection::METHOD_MODERN, instead.
Member Phpcraft\Phpcraft::resolve (string $server)
Use ServerConnection::resolveAddress or even ServerConnection::toAddress.
Member Phpcraft\Phpcraft::textToChat (string $text, bool $allow_amp=false)
Use ChatComponent::text($text, $allow_amp)->toArray(), instead.