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

Properties

buyShop?: null | boolean

Whether or not players can buy items in this shop.

id: `shop:${string}`

The id of the server shop.

mainBuyPageBodyText?: null | string

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

mainPageBodyText?: null | string

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

mainSellPageBodyText?: null | string

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

name?: null | 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?: null | boolean

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

sellShop?: null | boolean

Whether or not players can sell items in this shop.

title?: null | string

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