The player shop system settings.

Accessors

  • get allowSellingKeepOnDeathItems(): boolean

    Whether or not players can sell items that have the keepOnDeath component set to true.

    Dynamic Property ID: andexdbShopSystemSettings:player.allowSellingKeepOnDeathItems

    Returns boolean

    true
    
  • set allowSellingKeepOnDeathItems(allowSellingKeepOnDeathItems: boolean): void

    Parameters

    • allowSellingKeepOnDeathItems: boolean

    Returns void

  • get allowSellingLockInInventoryItems(): boolean

    Whether or not players can sell items that are locked to inventory.

    Dynamic Property ID: andexdbShopSystemSettings:player.allowSellingLockInInventoryItems

    Returns boolean

    false
    
  • set allowSellingLockInInventoryItems(
        allowSellingLockInInventoryItems: boolean,
    ): void

    Parameters

    • allowSellingLockInInventoryItems: boolean

    Returns void

  • get allowSellingLockInSlotItems(): boolean

    Whether or not players can sell items that are locked to a specific slot in their inventory.

    Dynamic Property ID: andexdbShopSystemSettings:player.allowSellingLockInSlotItems

    Returns boolean

    false
    
  • set allowSellingLockInSlotItems(allowSellingLockInSlotItems: boolean): void

    Parameters

    • allowSellingLockInSlotItems: boolean

    Returns void

  • get enabled(): boolean

    Whether or not the player shop system is enabled.

    Dynamic Property ID: andexdbShopSystemSettings:player.enabled

    Returns boolean

    false
    
  • set enabled(enabled: boolean): void

    Parameters

    • enabled: boolean

    Returns void

  • get maxShopsPerPlayer(): number

    The maximum amount of shops a player can have.

    Dynamic Property ID: andexdbShopSystemSettings:player.maxShopsPerPlayer

    Returns number

    5
    
  • set maxShopsPerPlayer(maxShopsPerPlayer: number): void

    Parameters

    • maxShopsPerPlayer: number

    Returns void