interface playerShopConfig {
    buyShop?: null | boolean;
    id: `playerShop:${number}:${string}`;
    mainBuyPageBodyText?: null | string;
    mainPageBodyText?: null | string;
    mainSellPageBodyText?: null | string;
    name?: null | string;
    playerID: `${number}`;
    playerName?: 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: `playerShop:${number}:${string}`

The id of the player 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 player 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 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?: null | boolean

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

sellShop?: null | boolean

Whether or not players can sell items in this shop.

title?: null | string

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