Commands and Permissions
Commands
The main command for the plugin is /nightmarket
, which also has the aliases /nm
and /market
.
/nightmarket
Description: Opens the Night Market GUI for the player.
Permission:
nightmarket.command.use
/nightmarket reload
Description: Reloads all configuration files (
config.yml
,gui.yml
,items.yml
).Permission:
nightmarket.reload
/nightmarket forceopen
Description: Forces the market to open immediately, starting a new cycle and resetting all player data.
Permission:
nightmarket.admin.forceopen
/nightmarket forceclose
Description: Forces the market to close immediately.
Permission:
nightmarket.admin.forceclose
/nightmarket resetplayer <player>
Description: Resets the Night Market data for a specific player for the current cycle.
Permission:
nightmarket.admin.resetplayer
/nightmarket resetall
Description: Resets the Night Market data for ALL players for the current cycle.
Permission:
nightmarket.admin.resetall
/nightmarket give <player> <amount>
Description: Gives a player a specified amount of the Reroll item.
Permission:
nightmarket.command.give
Permissions
Permission Node
Description
Default
nightmarket.command.use
Allows a user to open the Night Market GUI.
true
nightmarket.shop.buy
Allows a user to purchase items from the market.
true
nightmarket.reload
Grants access to /nightmarket reload
.
OP
nightmarket.admin.forceopen
Grants access to /nightmarket forceopen
.
OP
nightmarket.admin.forceclose
Grants access to /nightmarket forceclose
.
OP
nightmarket.admin.resetplayer
Grants access to /nightmarket resetplayer
.
OP
nightmarket.admin.resetall
Grants access to /nightmarket resetall
.
OP
nightmarket.command.give
Grants access to /nightmarket give
.
OP
Last updated