Skip to content

Commands and Permissions

DeDet edited this page Jun 8, 2026 · 1 revision

Commands

Player Commands

Command Description Permission
/questbook Give yourself the quest book item spcontentquests.questbook

Admin Commands

All /spcontentquests subcommands require the spcontentquests.admin permission.

The main command has these aliases: /contentquests, /contentquest, /cquests, /cquest, /spcq, /cq

Command Description
/spcontentquests help Show the help menu
/spcontentquests reload Reload config, categories, and quests
/spcontentquests open <category> [player] Open a category GUI for yourself or another player
/spcontentquests objective add <quest> <player> [amount] Add objective progress for a player
/spcontentquests objective subtract <quest> <player> [amount] Subtract objective progress from a player
/spcontentquests objective set <quest> <player> [amount] Set objective progress for a player
/spcontentquests quest reset <quest> <player> Reset a quest's progress for a player
/spcontentquests quest completed <quest> <player> Mark a quest as completed for a player
/spcontentquests quest claimed <quest> <player> Mark a quest as claimed for a player
/spcontentquests resetall <player|all> Reset all progress for a specific player or everyone
/spcontentquests resetcategory <category> <player|all> Reset progress in a specific category

Note: resetall all and resetcategory <category> all require console use — players cannot reset all players.

Permissions

Permission Default Description
spcontentquests.admin op Access to all admin commands
spcontentquests.questbook true Allows use of /questbook command

Command Prefixes

These prefixes are used in quest and GUI command fields to control how commands execute:

Prefix Description
[console] <cmd> Runs the command as the server console
[player] <cmd> Runs the command as the player who clicked
[close] Closes the current GUI
[redirect] Reopens the quest objective GUI after the current GUI closes
%player% Replaced with the clicking player's name

Usage Examples

# Give diamonds via console
reward-command:
  - '[console] give %player% diamond 5'

# Teleport the player to a warp
objective-command:
  - '[player] warp mine'
  - '[close]'

# Open a recipe then redirect back to objective GUI
command:
  - '[player] recipe bread'
  - '[redirect]'

# Open another category GUI via console
item-custom:
  mybutton:
    slot: 9
    item: GRASS_BLOCK
    name: '&aOverworld'
    commands:
      - '[console] spcontentquests open overworld %player%'

Clone this wiki locally