interface serverShopConfig {
    buyShop?: boolean;
    id: `shop:${string}`;
    mainBuyPageBodyText?: string;
    mainPageBodyText?: string;
    mainSellPageBodyText?: string;
    name?: string;
    publicShop?: boolean;
    sellShop?: boolean;
    title?: string;
}

Properties

buyShop?: boolean

Whether or not players can buy items in this shop.

id: `shop:${string}`

The id of the server shop.

mainBuyPageBodyText?: string

The body text that is displayed on the main buy page of the server shop.

mainPageBodyText?: string

The body text that is displayed on the main page of the server shop.

mainSellPageBodyText?: string

The body text that is displayed on the main sell page of the server shop.

name?: string

The display name of the server shop. This is displayed on the button for the server shop in the manage server shops menu.

publicShop?: boolean

Whether or not this shop can be accessed by any player through the use of the \viewservershops command.

sellShop?: boolean

Whether or not players can sell items in this shop.

title?: string

The title of the server shop. This is the title displayed at the top of the UI for the server shop.