Skip to content

Player Command Reward

Runs a command as the player, parsed by Placeholder Services.

"example_reward": {
"type": "COMMND_PLAYER",
"name": "<aqua>Command Reward",
"display": {
"item": "minecraft:diamond"
},
"weight": 1,
"commands": ["give %player% minecraft:diamond 1"],
"permission_level": 1
}

All Reward Types inherit a base set of reward options. See Reward Options for more information.

A list of commands to be executed by the player when the reward is given. Commands are parsed by Placeholder Services.

"commands": ["give %player% minecraft:diamond 1"]

The permission level the command is executed as. Defaults to the player’s own permission level when not set.

"permission_level": 1