Datapack

/datapack

Manage installed datapacks.

Syntax

Parameters

action
literal
enable / disable / list.
nameoptional
string
Pack name (with file extension).

Command builder

Configure the options below to generate a ready-to-paste /datapack command.

Folder/zip name inside the world's datapacks/.
/datapack enable "file/mypack"

Examples

  • Show enabled + available datapacks.

  • Enable a datapack.

Permission level

/datapack requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.