Module: Server Shop - Module ID: server-shop

Introduction

The Server Shop module allows servers to provide prices for buying and selling items, as well as commands for players to do so.

/itembuy
Module: server-shop
Allows the user to buy an item from the server for a set price.

Aliases: itembuy buy

Root command aliases: /nitembuy

Usage: /itembuy [-y|-f|-a|--yes|--auto] <item> <amount>

Default Role: USER

Basic Command Permission: nucleus.itembuy.base

Permissions

  • nucleus.itembuy.base - Default Role: USER
    Allows the user to run the command /itembuy

This command is an equivalent to the following command(s) in Essentials: /buy

/itemsell
Module: server-shop
Allows the user to sell an item in their main hand to the server for a set price.

Aliases: itemsell sell

Root command aliases: /nitemsell

Usage: /itemsell

Default Role: USER

Basic Command Permission: nucleus.itemsell.base

Permissions

  • nucleus.itemsell.base - Default Role: USER
    Allows the user to run the command /itemsell

This command is an equivalent to the following command(s) in Essentials: /sell

/itemsellall
Module: server-shop
Allows the user to sell all items of a set type in their inventory to the server for a set price.

Aliases: itemsellall sellall

Root command aliases: /nitemsellall

Usage: /itemsellall [-a|--accept] [<item>]

Default Role: USER

Basic Command Permission: nucleus.itemsellall.base

Permissions

  • nucleus.itemsellall.base - Default Role: USER
    Allows the user to run the command /itemsellall
/setworth
Module: server-shop
Allows the user to set the buy or sell price of an item.

Aliases: setworth setitemworth

Root command aliases: /nsetworth

Usage: /setworth [<item>] <buy|sell> <cost>

Default Role: ADMIN

Basic Command Permission: nucleus.setworth.base

Permissions

  • nucleus.setworth.base - Default Role: ADMIN
    Allows the user to run the command /setworth

This command is an equivalent to the following command(s) in Essentials: /setworth

/worth
Module: server-shop
Allows the user to display the server buy and sell prices for an item.

If no item ID or alias is provided, this command will get the buy/sell prices for the item in the main hand.

Aliases: worth

Root command aliases: /nworth

Usage: /worth [<item>]

Default Role: USER

Basic Command Permission: nucleus.worth.base

Permissions

  • nucleus.worth.base - Default Role: USER
    Allows the user to run the command /worth
  • nucleus.worth.exempt.warmup - Default Role: ADMIN
    Allows the user to bypass the warmup for /worth
  • nucleus.worth.exempt.cost - Default Role: ADMIN
    Allows the user to bypass the cost for /worth
  • nucleus.worth.exempt.cooldown - Default Role: ADMIN
    Allows the user to bypass the cooldown for /worth

This command is an equivalent to the following command(s) in Essentials: /worth, /price

Permission Suggested Role Description
nucleus.itembuy.base USER Allows the user to run the command /itembuy
nucleus.itemsell.base USER Allows the user to run the command /itemsell
nucleus.itemsellall.base USER Allows the user to run the command /itemsellall
nucleus.setworth.base ADMIN Allows the user to run the command /setworth
nucleus.worth.base USER Allows the user to run the command /worth
nucleus.worth.exempt.cooldown ADMIN Allows the user to bypass the cooldown for /worth
nucleus.worth.exempt.cost ADMIN Allows the user to bypass the cost for /worth
nucleus.worth.exempt.warmup ADMIN Allows the user to bypass the warmup for /worth
The following configuration is the default for this module:
# The maximum amount a player can buy in one transaction.
max-purchasable-at-once=64