Skip to content

Commands & Subcommands

Justin_SGD edited this page Feb 1, 2026 · 22 revisions

Note:

  • Required arguments are marked with angle brackets - e.g. <required>.
  • Optional arguments are marked with square brackets - e.g. [optional].
Command Description Permission Required arguments Optional arguments
/case Opens the case menu (GUI) case.use + case.mobile - -
/case setcaseblock <material> Places a CaseBlock at your position (faces your direction) case.setblock <material> -
/case reload Reloads configs and reconnects storage case.reload - -
/case add <player> <case> <amount> Adds cases to a player case.addcase <player> <case> <amount> -
/case remove <player> <case> <amount> Removes cases from a player case.removecase <player> <case> <amount> -
/case set <player> <case> <amount> Sets a player’s case amount case.setcase <player> <case> <amount> -
/case get <player> <case> Shows a player’s case amount case.getcase <player> <case> -
/case log ... Case opening logs case.log see below see below
/case edit Opens the in-game Case Editor case.edit - -
/case rarity Opens the in-game Rarity Editor case.rarity - -

/case

Opens the case menu GUI.

Permissions:

  • case.use (base permission)
  • case.mobile (required to open the menu without arguments)

/case setcaseblock <material>

Places a CaseBlock at the player's position (faces the direction in which the player is looking).
The CaseBlock location is stored in the database.

Permission: case.setblock

Required arguments:

  • <material>: Any valid block material (e.g. CHEST, ENDER_CHEST, BARREL, ...)

Removing a CaseBlock:
Break the block with permission case.destroy (internally: Command.Case.RemoveCaseBlockPermission).


/case reload

Reloads configs and the database connection.

Permission: case.reload


/case add <player> <case> <amount>

Adds a certain number of cases to a player.

Permission: case.addcase


/case remove <player> <case> <amount>

Removes a certain number of cases from a player.

Permission: case.removecase


/case set <player> <case> <amount>

Sets a certain number of cases for a player.

Permission: case.setcase


/case get <player> <case>

Checks the number of a specific case that a player has.

Permission: case.getcase


/case edit

Opens the in‑game Case Editor (GUI). This replaces the old “add items via command” approach and is the recommended way to manage cases.

Permission: case.edit


/case rarity

Opens the in‑game Rarity Editor (GUI).
Rarities are stored in rarities.yml and can be used by case items.

Permission: case.rarity


/case log

Shows information about all /log subcommands

Permission: case.log

/case log player <player> [page]

Get the case log for a player.

/case log player <player> <case> [page]

Get the case log for a player filtered by case.

/case log opened total

Shows how many cases have been opened in total.

/case log opened <case>

Shows how many cases of a specific type have been opened.

JuByteCase Wiki

Plugin Usage

Setup

API

Clone this wiki locally