QtCraft API C++ classes QML types Handbook

QcAdventureCommands Class

/adventure (decision E-735), for operators: shows and changes the world's allow-lists of adventure mode, which item kinds may break which blocks (canBreak) and act on which blocks (canPlaceOn). More...

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

Public Functions

void addTo(QcCommandRegistry &registry)

Detailed Description

Items and blocks are checked against the content; "*" stands for every item and the empty hand. Adventure players get the changed lists at once.

Member Function Documentation

void QcAdventureCommands::addTo(QcCommandRegistry &registry)

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