tac.lib.shopk_shared

Get the current ShopK configuration

View on GitHub →

Functions

shopk_shared.getConfig(tac)

View source

Get the current ShopK configuration

Parameters:
Returns: table - configuration data

shopk_shared.getShopData(tac)

View source

Get shop status and data

Parameters:
Returns: table - shop status {running, address, tiers}

shopk_shared.isConfigured(tac)

View source

Check if shop is properly configured

Parameters:
Returns: boolean - true if shop has required configuration

shopk_shared.getAvailableSlots(tac, pattern)

View source

Get available slots for a tier pattern

Parameters:
Returns: number - available slots count

shopk_shared.formatPaymentMeta(pattern, tier)

View source

Format payment metadata for a tier

Parameters:
Returns: string - formatted metadata

shopk_shared.clearCache()

View source

Clear cached data (useful for testing or config changes)