Guide 1 Docs 2 Reference 3

Function of shop

shop.prompt

Asks Minefort to offer product to the player. Returns the request id, or nil when it was not offered.

shop.prompt(player: Player | string, product: string) → string?

Parameters

playerPlayer | stringrequired
productstringrequired

Returns

string?

Used in