Commands & Permissions
JoyMart exposes a small player command set plus an admin command set. All games and shop items are managed through GUIs, so the command surface stays minimal.
Player Commands (default /gamebox, alias /gb)
| Command | Permission | Description |
|---|---|---|
/gamebox | gamebox.use | Open the main menu |
/gamebox <subcommand> | gamebox.play.<id> | Jump straight into a game (subcommands are defined in games.yml) |
/gamebox token | gamebox.use | View your token balance |
/gamebox info | gamebox.use | View plugin info |
/gamebox help | gamebox.use | View help |
/gamebox accept [player] | gamebox.use | Accept a multiplayer invitation |
/gamebox decline [player] | gamebox.use | Decline a multiplayer invitation |
Admin Commands (default /gameboxadmin, alias /gba)
| Command | Permission | Description |
|---|---|---|
/gba reload | gamebox.admin.reload | Reload all configs |
/gba tokens <player> get | gamebox.admin.tokens | View a player's tokens |
/gba tokens <player> set <amount> | gamebox.admin.tokens | Set a player's tokens |
/gba tokens <player> give <amount> | gamebox.admin.tokens | Give tokens to a player |
/gba tokens <player> take <amount> | gamebox.admin.tokens | Take tokens from a player |
/gba games <game> <enable|disable> | gamebox.admin.games | Enable / disable a game |
/gba games | gamebox.admin.games | Open the game management GUI (toggle games, edit lottery / slot machine prize pools) |
/gba language | gamebox.admin.language | Check language file completeness |
/gba migrate <file|mysql> | gamebox.admin.migrate | Migrate data between YAML / MySQL |
/gba reset <game> | gamebox.admin.reset | Reset a game's high-score table |
/gba shop | gamebox.admin.shop | Open the shop management GUI (list / unlist items) |
Related pages
/gba gamesand/gba shopopen GUIs documented under Configuration Files./gba migrateis documented in detail under Data Storage.
Permissions
| Node | Default | Description |
|---|---|---|
gamebox.use | true | Use the /gamebox main command |
gamebox.play.* | true | Play all games |
gamebox.play.<id> | true | Play a specific game (e.g. gamebox.play.2048) |
gamebox.gamegui.<id> | true | See a specific game's icon in the main menu |
gamebox.admin.* | op | All admin permissions |
gamebox.admin.shop | op | Manage shop items via GUI |
gamebox.shop.<custom> | false | Permission to buy a specific shop item (defined per-item in tokenShop.yml) |
Auto-registration of permissions
Each game auto-registers its corresponding gamebox.play.<id> and gamebox.gamegui.<id> permissions (default true) when loaded. The buyPermission of shop items is not auto-registered — assign it with your permission plugin (e.g. LuckPerms).