QtCraft API C++ classes QML types Handbook

QcLoginSettings Struct

The login settings of a server open to network players (decision E-252); a single-player world opened to the LAN gets them when it starts listening. More...

Header: #include <common/protocol/QcLoginSettings.h>

Public Variables

QList<QcPackFingerprint> contentPacks
int maxPlayers
QString motd
QString password
QString serverName

Detailed Description

Member Variable Documentation

QList<QcPackFingerprint> QcLoginSettings::contentPacks

The content packs a client must have (QcContentFingerprint, with hashes); empty: id and version of the packs of the loaded content.

int QcLoginSettings::maxPlayers

Players on the server at most, the local player included.

QString QcLoginSettings::motd

The message of the day clients show; may be empty.

QString QcLoginSettings::password

Empty: no password.

QString QcLoginSettings::serverName

The name clients show for the server.