▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
itemshop

itemshop

Sell and buy system with different prices for different people

392
1

Warning! Vault and a Permissions plugin is required! I recommend LuckPerms.

Commands and Syntax

Syntax of the /buy Command

All subcommands explained below require the itemshop.buy permission node.

command syntaxdescriptionpermission node
helpShow help for buy
hand [Integer amount (1)]Buy items of the type you're currently holdingitemshop.buy.hand
<Material material> [Integer amount (1)]Buy items of the type you specifieditemshop.buy.material
multipliersSee active multipliersitemshop.multipliers

Syntax of the /cost Command

All subcommands explained below require the itemshop.buy.cost permission node.

command syntaxdescriptionpermission node
helpShow help for cost
[Material material (*)] [Integer amount (1)]See the buy cost of a materialitemshop.buy.cost
set <Material material> <double cost> or /setcost ...Set the bare buy cost of a materialitemshop.buy.cost.set

*: If omitted and the command issuer is a player, material will be the type of the item the player is currently holding.

Syntax of the /sell Command

All subcommands explained below require the itemshop.sell permission node.

command syntaxdescriptionpermission node
`` or helpShow help for sell
all|inventorySell all sellable items in your inventoryitemshop.sell.inventory
hand [Integer maxAmount (2147483647)]Sell items of the type you're currently holdingitemshop.sell.hand
material <Material material> [Integer maxAmount (2147483647)]Sell items of the type you specifieditemshop.sell.material
multipliersSee active multipliersitemshop.multipliers
<query>Search results for query

Syntax of the /worth Command

All subcommands explained below require the itemshop.sell.worth permission node.

command syntaxdescriptionpermission node
helpShow help for worth
[Material material (*)] [Integer amount (1)]See the sell worth of a materialitemshop.sell.worth
set <Material material> <double worth> or /setworth ...Set the bare sell worth of a materialitemshop.sell.worth.set

*: If omitted and the command issuer is a player, material will be the type of the item the player is currently holding.

Synax of the /itemshop Command

All subcommands explained below require the itemshop.reload permission node.

command syntaxdescriptionpermission node
Reloads the config fileitemshop.reload

Default Configuration Files

Default item-values.yml

# Item values for Itemshop - item-values.yml

# Example: Players can sell stone for 0.8 each and buy it for 1.0 each.
stone:
  sell: 0.8
  buy: 1.0

# Example: Players can sell diorite for 3 but they cannot buy it.
diorite:
  sell: 3.0
  buy:

# Example: Players can buy andesite for 7 each but they cannot sell it.
andesite:
  sell:
  buy: 7.0

# Items not here cannot be sold or bought by default.

Default multipliers.yml

# Multipliers for Itemshop - multipliers.yml

# Example: Players with the permission "itemshop.m.free" will buy everything for free.
# (Item's buy cost is multiplied with "0.0".)
free: # This is the name used in permissions
  name: Communism # This is the name used in human readable texts
  buy: 0.0
  sell: 0.0

# Another example: Player with the permission "itemshop.m.tax" will sell items for 10% less and buy items for 10% more.
# (Item's buy cost is multiplied with "1.1" and sell value is multiplied with "0.9".)
tax:
  name: Tax
  sell: 0.9
  buy: 1.1

# Players without any of these permissions will sell and buy items with the default multiplier of "1.0".
# If you don't add a sell or buy for a modifier it will be assumed to be 1.

Important Note: Using the sell worth set ..., buy cost set ... commands or one of their aliases will remove the comments in the configuration files.

Совместимость

Minecraft: Java Edition

1.16.x1.15.x1.14.x1.13.x1.12.x1.11.x1.10.x1.9.x1.8.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:GPL-3.0-only
Опубликован:2 года назад
Обновлён:2 года назад
Главная