QtCraft API C++ classes QML types Handbook

QcHeadlessJoin::Options Struct

struct QcHeadlessJoin::Options

What start() joins with. More...

Public Variables

QString address
QString dataDirectory
QString password
QString playerName
int viewDistance

Detailed Description

Member Variable Documentation

QString Options::address

The server: host, host:port or [v6]:port.

QString Options::dataDirectory

<data>/player.key is the bot's identity on the server (made on first use).

QString Options::password

The server's password; empty for none.

QString Options::playerName

The bot's player name.

int Options::viewDistance

The view distance in chunks the bot asks the server for.