interface playerShopConfig {
    buyShop?: boolean;
    id: `playerShop:${number}:${string}`;
    mainBuyPageBodyText?: string;
    mainPageBodyText?: string;
    mainSellPageBodyText?: string;
    name?: string;
    playerID: `${number}`;
    playerName?: string;
    publicShop?: boolean;
    sellShop?: boolean;
    title?: string;
}

Properties

buyShop?: boolean

Whether or not players can buy items in this shop.

id: `playerShop:${number}:${string}`

The id of the player 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 player 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 player shop. This is displayed on the button for the player shop in the manage player shops menu.

playerID: `${number}`

The ID of the player who owns this player shop.

playerName?: string

The name of the player who owns this player shop.

publicShop?: boolean

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

sellShop?: boolean

Whether or not players can sell items in this shop.

title?: string

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