/shop
: Open shop inventory menu./shop reload
: Reload shop configuration from file.
These commands allow you to add/edit/remove/move categories
and items
from shop configuration.
-
/shopadmin category add [name] [desc] [material] [x] [y]
: Add a new category namedname
, with descriptiondesc
, materialmaterial
, at inventory positionx
andy
. -
/shopadmin category remove [x] [y]
: Remove category at positionx
andy
. -
/shopadmin category edit name [x] [y] [name]
: Change category name withname
at positionx
andy
. -
/shopadmin category edit desc [x] [y] [desc]
: Change category description withdesc
at positionx
andy
. -
/shopadmin category edit material [x] [y] [material]
: Change category material withmaterial
at positionx
andy
. -
/shopadmin category move [from_x] [from_y] [to_x] [to_y]
: Move category fromfrom_x
andfrom_y
toto_x
andto_y
. Send an error if target position is already taken.
Note: Be careful to respect position borders, whether between 0
and 8
for x
and between 0
and 2
for y
.
-
/shopadmin item add [cat_x] [cat_y] [name] [material] [x] [y] [buy] [sell]
: Add a new item in category (atcat_x
,cat_y
) namedname
, with materialmaterial
, at inventory positionx
andy
, and with buying pricebuy
and selling pricesell
. with descriptiondesc
, materialmaterial
, at inventory positionx
andy
. -
/shopadmin item remove [cat_x] [cat_y] [x] [y]
: Remove item in category (atcat_x
,cat_y
) at positionx
andy
. -
/shopadmin item edit name [cat_x] [cat_y] [x] [y] [name]
: Change item name in category (atcat_x
,cat_y
) withname
at positionx
andy
. -
/shopadmin item edit buy [cat_x] [cat_y] [x] [y] [buy]
: Change item buying price in category (atcat_x
,cat_y
) withbuy
at positionx
andy
. -
/shopadmin item edit sell [cat_x] [cat_y] [x] [y] [sell]
: Change item selling price in category (atcat_x
,cat_y
) withsell
at positionx
andy
. -
/shopadmin item edit material [cat_x] [cat_y] [x] [y] [material]
: Change item material in category (atcat_x
,cat_y
) withmaterial
at positionx
andy
. -
/shopadmin item move [cat_x] [cat_y] [from_x] [from_y] [to_x] [to_y]
: Move item in category (atcat_x
,cat_y
) fromfrom_x
andfrom_y
toto_x
andto_y
. Send an error if target position is already taken.
Note: Be careful to respect position borders, whether between 0
and 8
for x
and between 0
and 2
for y
.
- To get a full list of available
MATERIALS
: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html