pocketmine\Server::setConfigBool PHP Method

setConfigBool() public method

public setConfigBool ( string $variable, boolean $value )
$variable string
$value boolean
    public function setConfigBool($variable, $value)
    {
        $this->properties->set($variable, $value == true ? "1" : "0");
    }
Server