QtCraft API C++ classes QML types Handbook

QcPlayerCommands Class

Player management (decision E-244): the player list, kick, ban and unban, the whitelist, operators and teleporting. More...

Header: #include <server/commands/QcPlayerCommands.h>

Public Functions

void addTo(QcCommandRegistry &registry)

Detailed Description

The lists are QcAccessList, bound to the identity of a player when it is known (decision E-253); the local player (the host of a single player world) cannot be kicked, banned or lose his operator rights.

Member Function Documentation

void QcPlayerCommands::addTo(QcCommandRegistry &registry)

Adds the commands of this group (see the class) to registry.