Skip to main content

Commands & Permissions

Commands

Base command: /zdrawer (alias: /drawer)

General Commands

CommandDescriptionPermission
/zdrawerShow helpzdrawer.use
/zdrawer versionShow plugin versionzdrawer.use
/zdrawer reloadReload configurationzdrawer.reload

Give Commands

CommandDescriptionPermission
/zdrawer giveShow give commandszdrawer.give
/zdrawer give drawer <name> <player> [upgrade] [material] [amount]Give a drawerzdrawer.give.drawer
/zdrawer give craft <name> <player>Give a craft itemzdrawer.give.craft

Management Commands

CommandDescriptionPermission
/zdrawer place <name> <world> <x> <y> <z> <face> [upgrade] [material] [amount]Place a drawerzdrawer.place
/zdrawer purge <world> <break>Remove all drawers in worldzdrawer.purge
/zdrawer clearRemove orphaned display entitieszdrawer.clear
/zdrawer convert <type>Convert storage typezdrawer.convert
/zdrawer debugDebug drawer in current chunkzdrawer.debug

Command Details

Give Drawer

/zdrawer give drawer <name> <player> [upgrade] [material] [amount]
ParameterDescriptionRequired
nameDrawer configuration name (e.g., single, duo)Yes
playerTarget playerYes
upgradeUpgrade name or noneNo
materialPre-fill materialNo
amountPre-fill amountNo

Examples:

# Give empty single drawer
/zdrawer give drawer single Steve

# Give duo drawer with wood upgrade
/zdrawer give drawer duo Steve woodUpgrade

# Give pre-filled drawer
/zdrawer give drawer single Steve none DIAMOND 1000

Give Craft

/zdrawer give craft <name> <player>

Give a custom craft result item to a player.

Example:

/zdrawer give craft upgradeDisplay Steve

Place Drawer

/zdrawer place <name> <world> <x> <y> <z> <face> [upgrade] [material] [amount]
ParameterDescription
nameDrawer configuration name
worldWorld name
x, y, zCoordinates
faceBlock face (NORTH, SOUTH, EAST, WEST, UP, DOWN)
upgradeOptional upgrade name
materialOptional pre-fill material
amountOptional pre-fill amount

Example:

/zdrawer place single world 100 64 200 NORTH

Purge World

/zdrawer purge <world> <break>
ParameterDescription
worldWorld name to purge
breaktrue to break blocks, false to keep them

Example:

/zdrawer purge world_nether true

Clear Entities

/zdrawer clear

Removes all orphaned display entities created by zDrawer. Useful after server crashes that may leave duplicate entities.

Convert Storage

/zdrawer convert <type>
TypeDescription
JSONConvert to JSON file storage
SQLITEConvert to SQLite database
MYSQLConvert to MySQL database

Permissions

PermissionDescriptionDefault
zdrawer.useAccess base commandtrue
zdrawer.reloadReload configurationop
zdrawer.giveAccess give commandsop
zdrawer.give.drawerGive drawersop
zdrawer.give.craftGive craft itemsop
zdrawer.placePlace drawers via commandop
zdrawer.purgePurge drawers from worldop
zdrawer.clearClear orphaned entitiesop
zdrawer.convertConvert storage typeop
zdrawer.debugDebug commandsop

Permission Examples

LuckPerms

# Allow player to use give commands
lp user Steve permission set zdrawer.give.drawer true
lp user Steve permission set zdrawer.give.craft true

# Allow group to reload
lp group admin permission set zdrawer.reload true
Copyright © 2026 GroupeZ|Build #loading...|-