Repository navigation
Commands and Permissions
The main command is /lofibox. Available aliases: /mb, /crate, /lbox.
| Command | Permission | Description |
|---|---|---|
/lofibox give <box> <player> [amount] |
lofibox.give |
Give a box item to a player |
/lofibox givekey <tier> <player> [amount] |
lofibox.give |
Give a key item to a player |
/lofibox open <box> |
lofibox.use |
Open a box as a player — admins bypass item and key requirements |
/lofibox preview <box> |
lofibox.use |
Open the reward preview GUI |
/lofibox list |
lofibox.use |
List all loaded box IDs and names |
/lofibox stats [player] |
lofibox.stats |
Open your own stats GUI. Requires lofibox.stats.others to view another player. |
/lofibox redeem |
lofibox.redeem |
Open your pending rewards GUI to claim items saved when your inventory was full |
/lofibox reload |
lofibox.reload |
Reload all configs and box definitions |
/lofibox editor |
lofibox.editor |
Open the in-game box editor GUI |
As a player (normal flow):
- Hold the crate item in your main hand.
- Right-click — the item is consumed and the spin opens.
As an admin:
-
/lofibox open <box>opens the crate without consuming an item. - Requires
lofibox.adminorlofibox.giveto give yourself a box item.
| Permission | Default | Description |
|---|---|---|
lofibox.admin |
op | Grants all permissions |
lofibox.use |
true | Open boxes, preview, and list crates |
lofibox.give |
op | Give box and key items to players |
lofibox.reload |
op | Reload configs |
lofibox.stats |
false | View your own stats GUI via /lofibox stats
|
lofibox.stats.others |
op | View another player's stats; also lets console/NPCs open the GUI on a target player's screen |
lofibox.redeem |
true | Open your own pending rewards GUI via /lofibox redeem
|
lofibox.bypass |
op | Bypass permission-required on rewards — always eligible for every reward |
lofibox.editor |
op | Open the in-game box editor GUI |
lofibox.stats defaults to false so you can grant it selectively — for example, only through a Citizens NPC interaction — rather than giving all players direct command access.
To give all players in the vip group access to VIP-gated rewards:
/lp group vip permission set lofibox.vip true
No further setup is required — LofiBox reads permissions through the standard Bukkit API.
The most common pattern is to have a Citizens NPC open a player's stats GUI when clicked, without giving the player direct /lofibox stats access:
- Grant
lofibox.statsto a group or leave it at the defaultfalse. - Add a console command to the NPC click:
When run as console, this opens the stats GUI directly on
lofibox stats %player_name%%player_name%'s screen — no permission check on the player is needed.
The lofibox.stats.others permission governs the console path, which defaults to op (console always bypasses this in practice).
lofibox give halloween %player_name% 1
Or give the box to the player so they can open it themselves.