{
  "name": "shopActions",
  "author": "Takaro",
  "supportedGames": [
    "all"
  ],
  "takaroVersion": ">=0.0.1",
  "versions": [
    {
      "tag": "0.0.1",
      "description": "Built-in shop actions for common use cases like granting roles, sending messages, giving items, and executing commands.",
      "configSchema": "{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"type\":\"object\",\"properties\":{\"grantRole\":{\"type\":\"object\",\"title\":\"Grant Role\",\"properties\":{\"roleId\":{\"type\":\"string\",\"x-component\":\"role\",\"title\":\"Role\",\"description\":\"The Takaro role to grant to the player.\"}}},\"sendMessage\":{\"type\":\"object\",\"title\":\"Send Message\",\"properties\":{\"message\":{\"type\":\"string\",\"title\":\"Message\",\"description\":\"The message to send.\",\"default\":\"Thank you for your purchase!\"},\"broadcast\":{\"type\":\"boolean\",\"title\":\"Broadcast\",\"description\":\"If true, sends to all players. Otherwise, only to the buyer.\",\"default\":false}}},\"giveItem\":{\"type\":\"object\",\"title\":\"Give Item\",\"properties\":{\"items\":{\"x-component\":\"item\",\"type\":\"array\",\"title\":\"Bonus Items\",\"description\":\"Additional items to give the player on purchase.\",\"items\":{\"type\":\"object\",\"properties\":{\"item\":{\"type\":\"string\",\"title\":\"Item\"},\"amount\":{\"type\":\"number\",\"title\":\"Amount\",\"default\":1},\"quality\":{\"type\":\"string\",\"title\":\"Quality\"}}}}}},\"executeCommand\":{\"type\":\"object\",\"title\":\"Execute Command\",\"properties\":{\"command\":{\"type\":\"string\",\"title\":\"Command\",\"description\":\"The console command to execute on the game server.\"}}}},\"additionalProperties\":false}",
      "uiSchema": "{\"grantRole\":{\"roleId\":{\"ui:widget\":\"role\"}}}",
      "commands": [],
      "hooks": [],
      "cronJobs": [],
      "functions": [],
      "permissions": []
    }
  ]
}