-
Notifications
You must be signed in to change notification settings - Fork 0
Commands & Subcommands
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 |
- | - |
Opens the case menu GUI.
Permissions:
-
case.use(base permission) -
case.mobile(required to open the menu without arguments)
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).
Reloads configs and the database connection.
Permission: case.reload
Adds a certain number of cases to a player.
Permission: case.addcase
Removes a certain number of cases from a player.
Permission: case.removecase
Sets a certain number of cases for a player.
Permission: case.setcase
Checks the number of a specific case that a player has.
Permission: case.getcase
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
Opens the in‑game Rarity Editor (GUI).
Rarities are stored in rarities.yml and can be used by case items.
Permission: case.rarity
Shows information about all /log subcommands
Permission: case.log
Get the case log for a player.
Get the case log for a player filtered by case.
Shows how many cases have been opened in total.
Shows how many cases of a specific type have been opened.