QtCraft API C++ classes QML types Handbook

QcBlockCommands Class

Commands that change blocks (decision E-245): /setblock, /fill (optionally only replacing one block), /clear and /regenerate. More...

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

Public Functions

void addTo(QcCommandRegistry &registry)

Static Public Members

const qint64 confirmFillBlocks
const qint64 maxFillBlocks

Detailed Description

Areas are limited in size; large fills and every regeneration wait for /confirm.

Member Function Documentation

void QcBlockCommands::addTo(QcCommandRegistry &registry)

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

Member Variable Documentation

const qint64 QcBlockCommands::confirmFillBlocks

Fills larger than this ask for /confirm first.

const qint64 QcBlockCommands::maxFillBlocks

Largest volume one /fill or /clear changes.