Skip to main content

Commands & Permissions

Scope

FioBlackMarket keeps one root command and branches from it into player status, reload, admin control, hologram management, and NPC management.

Root command

Main command:

/blackmarket

Aliases from plugin.yml:

/bm
/fioblackmarket

Player commands

CommandPermissionBehavior
/blackmarketfioblackmarket.useOpens the main market menu for players.
/blackmarket statusfioblackmarket.useSends the current market schedule status.
/blackmarket reloadfioblackmarket.reloadReloads the plugin and its split configuration files.

Admin commands

The current handleAdmin(...) flow supports:

CommandPermissionBehavior
/blackmarket admin helpfioblackmarket.adminShows the admin help lines.
/blackmarket admin statusfioblackmarket.adminShows schedule mode and whether the market is active.
/blackmarket admin reloadfioblackmarket.adminReloads the full plugin.
/blackmarket admin refreshfioblackmarket.adminRerolls and refreshes the market items now.
/blackmarket admin openfioblackmarket.adminForces the market open.
/blackmarket admin closefioblackmarket.adminForces the market closed.
/blackmarket admin autofioblackmarket.adminClears manual override and returns the schedule to automatic mode.
/blackmarket admin listfioblackmarket.adminLists loaded market item ids.
/blackmarket admin info [item]fioblackmarket.adminShows stock, material, prices, and probability for one market item.
/blackmarket admin stock [item] set|add|remove [amount]fioblackmarket.adminChanges runtime stock for one item.
/blackmarket admin give [player] [item] [amount]fioblackmarket.adminGives a market item to an online player.
/blackmarket admin resetdata confirmfioblackmarket.adminResets stock, limits, history, and scheduled items.

Hologram commands

The current handleHologram(...) flow supports:

/blackmarket hologram create [name]
/blackmarket hologram remove [name]
/blackmarket hologram info [name]
/blackmarket hologram center [name]
/blackmarket hologram move_here [name]
/blackmarket hologram teleport [name]
/blackmarket hologram setType [name] [FIXED|VERTICAL|HORIZONTAL|CENTER]
/blackmarket hologram freeze [name] [true|false]
/blackmarket hologram face [name] [NORTH|SOUTH|WEST|EAST]
/blackmarket hologram rotate [name] [yaw]
/blackmarket hologram scale [name] [size]
/blackmarket hologram list

Permission:

fioblackmarket.hologram

NPC commands

The current handleNpc(...) flow supports:

/blackmarket npc create [name]
/blackmarket npc remove [name]
/blackmarket npc center [name]
/blackmarket npc move_here [name]
/blackmarket npc teleport [name]
/blackmarket npc scale [name] [size]
/blackmarket npc type [name] [entity-type]
/blackmarket npc save
/blackmarket npc attributes [name] set|clear|list ...
/blackmarket npc turn_to_player [name] [true|false]
/blackmarket npc turn_to_player_distance [name] [distance]
/blackmarket npc gravity [name] [true|false]
/blackmarket npc collideable [name] [true|false]
/blackmarket npc equipment [name] [slot] [material]
/blackmarket npc actions [name] add|remove|list ...
/blackmarket npc list
/blackmarket npc info [name]

Permission:

fioblackmarket.npc

Permission table

PermissionDefaultDescription
fioblackmarket.usetrueOpens the market and uses the status command.
fioblackmarket.reloadopReloads the plugin.
fioblackmarket.adminopUses admin market commands.
fioblackmarket.hologramopUses hologram management commands.
fioblackmarket.npcopUses NPC management commands.

Access bypass node from config

The main config also reads this bypass permission:

fioblackmarket.access.bypass

That node is separate from the command permissions. It bypasses access restrictions such as blocked worlds or blocked WorldGuard regions.

Practical distinction

Use command permissions to control who can run market commands.

Use fioblackmarket.access.bypass to control who can still access the market in protected or blocked locations.