Logo de Roblox Monetization

Roblox Monetization

Comunidade
EL4CTEO
roblox-monetization

Robux monetization - developer products with idempotent ProcessReceipt, passes, pass free trials, subscriptions, rewarded video ads, personalized shops, regional pricing and trade arbitrage, paid random item policy (PolicyService), commerce products, private servers, Roblox Plus, refunds, age checks and the US 18+ rate. Use when adding purchases, shops, game passes, subscriptions, ads, or loot boxes, or debugging lost/duplicated purchases.

Visão geral

Publicado porEL4CTEO
Repositórioroblox-skills
Nome da habilidaderoblox-monetization
Estrelas
170
Forks
18
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por EL4CTEO no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Roblox Monetization no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/EL4CTEO/roblox-skills/tree/main/skills/roblox-monetization
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/roblox-skills.git /tmp/roblox-skills
mkdir -p .claude/skills
cp -r /tmp/roblox-skills/skills/roblox-monetization .claude/skills/roblox-monetization
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Roblox Monetization em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Roblox Monetization automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Roblox Monetization não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Roblox monetization

Product types

TypeBuyUse forGrant via
Developer productRepeatedlyCurrency, consumables, boosts, revivesMarketplaceService.ProcessReceipt (server)
PassOnce, permanent (or a free trial)VIP, permanent perks, extra slotsGetPassOwnershipAsync check on join + purchase-finished event
SubscriptionMonthly, revocableRecurring perks (daily currency, VIP)GetUserSubscriptionStatusAsync + UserSubscriptionStatusChanged
Rewarded video adFree (watch ad)Small rewards (≈3–10 Robux value)Developer product granted through ProcessReceipt
Commerce productReal money (physical goods)Merch with bundled digital benefitsCommerceService; digital benefits via ProcessReceipt
Private serverMonthlyPaid private serversEnable in Creator Dashboard; prompt in-game with MarketplaceService:PromptVIPServerPurchase(player) (no return value; wrap in pcall)

All granting happens on the server. Never grant from client events like PromptProductPurchaseFinished — clients can fake them.

Developer products: ProcessReceipt

Rules:

  • Exactly one server script sets MarketplaceService.ProcessReceipt.
  • Return PurchaseGranted only after the grant is persisted. Otherwise return NotProcessedYet; Roblox retries later (including on the player's next join) with the same PurchaseId.
  • Handlers must be idempotent: record handled PurchaseIds in the player's saved data so a retry never grants twice.
  • Receipts arrive for players who may not be loaded yet or may have left: wait for their data, or return NotProcessedYet.
luau
--!strict
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")

type PlayerData = { coins: number, purchaseIds: { string } }
type ReceiptInfo = {
	PlayerId: number,
	ProductId: number,
	PurchaseId: string,
	CurrencySpent: number,
	CurrencyType: Enum.CurrencyType,
	PlaceIdWherePurchased: number,
}

local MAX_REMEMBERED_PURCHASES = 100

-- Provided by your data layer (ProfileStore profile.Data, etc.).
local function getLoadedData(_player: Player): PlayerData?
	return nil
end
local function saveNow(_player: Player): boolean
	return true
end

local PRODUCTS: { [number]: (Player, PlayerData) -> () } = {
	[1234567] = function(_player, data) -- 100 coins
		data.coins += 100
	end,
}

local function processReceipt(receipt: ReceiptInfo): Enum.ProductPurchaseDecision
	local player = Players:GetPlayerByUserId(receipt.PlayerId)
	if not player then
		return Enum.ProductPurchaseDecision.NotProcessedYet -- granted on their next visit
	end

	local data = getLoadedData(player)
	local deadline = os.clock() + 20
	while not data and player.Parent == Players and os.clock() < deadline do
		task.wait(0.5)
		data = getLoadedData(player)
	end
	if not data then
		return Enum.ProductPurchaseDecision.NotProcessedYet
	end

	if table.find(data.purchaseIds, receipt.PurchaseId) then
		return Enum.ProductPurchaseDecision.PurchaseGranted -- already granted earlier
	end

	local handler = PRODUCTS[receipt.ProductId]
	if not handler then
		warn(`No handler for product {receipt.ProductId}`)
		return Enum.ProductPurchaseDecision.NotProcessedYet
	end

	local ok, err = pcall(handler, player, data)
	if not ok then
		warn(`Grant failed for {receipt.PurchaseId}: {err}`)
		return Enum.ProductPurchaseDecision.NotProcessedYet
	end

	table.insert(data.purchaseIds, receipt.PurchaseId)
	while #data.purchaseIds > MAX_REMEMBERED_PURCHASES do
		table.remove(data.purchaseIds, 1)
	end

	if not saveNow(player) then
		return Enum.ProductPurchaseDecision.NotProcessedYet -- the idempotency list prevents a double grant
	end
	return Enum.ProductPurchaseDecision.PurchaseGranted
end

MarketplaceService.ProcessReceipt = processReceipt :: any

With ProfileStore, "persisted" means waiting until the PurchaseId appears in profile.LastSavedData (or calling profile:Save() and waiting); see ProfileStore's developer products guide.

Prompt from the client (UI) — the server still grants: MarketplaceService:PromptProductPurchase(Players.LocalPlayer, productId).

Passes

luau
--!strict
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")

local VIP_PASS_ID = 987654

local function grantVip(player: Player)
	player:SetAttribute("VIP", true) -- apply perks from one place
end

local function checkPass(player: Player)
	-- { Owned, Active, StartTime?, EndTime? }: Active = owned OR in a free trial right now.
	local ok, status = pcall(MarketplaceService.GetPassOwnershipAsync, MarketplaceService, player, VIP_PASS_ID)
	if ok and status.Active then
		grantVip(player) -- session perks only; grant permanent items/currency only when status.Owned
	end
end

Players.PlayerAdded:Connect(checkPass)
for _, player in Players:GetPlayers() do
	task.spawn(checkPass, player)
end

-- Fires on the server too (also when a free trial starts); re-verify rather than trusting `purchased`.
MarketplaceService.PromptGamePassPurchaseFinished:Connect(function(player, passId, purchased)
	if purchased and passId == VIP_PASS_ID then
		checkPass(player)
	end
end)

GetPassOwnershipAsync replaces UserOwnsGamePassAsync (which still works and returns Active). On the client it can only query LocalPlayer.

Pass free trials (live December 2, 2026; opt in per pass in Creator Hub → Monetization → Shop → Free Trials, or via Open Cloud): players get a pass's benefits for one session. Starting a trial fires PromptGamePassPurchaseFinished(player, passId, true), and no event fires when it ends. So:

  • Grant anything permanent (currency, items, saved data) only when GetPassOwnershipAsync(...).Owned is true.
  • Don't cache ownership for the whole session; re-check Active when it matters.
  • Trials work in Studio playtests (≥ 10 minutes, redeemable repeatedly).

Subscriptions

  • Check with MarketplaceService:GetUserSubscriptionStatusAsync(player, "EXP-...") → { IsSubscribed, IsRenewing } on join and on Players.UserSubscriptionStatusChanged(player, subscriptionId).
  • Benefits must be revocable: when IsSubscribed is false, remove perks you persisted.
  • Prompt with MarketplaceService:PromptSubscriptionPurchase(player, subscriptionId).
  • Replacing a pass with a subscription: keep honoring existing pass owners, take the pass off sale.

Shops that sell

  • Personalize order with MarketplaceService:RankProductsAsync(identifiers) (call once on join — strict rate limit) and "Top picks" with RecommendTopProductsAsync({ Enum.InfoType.Product, Enum.InfoType.GamePass }) (needs a sale in the last 28 days; call in task.spawn).
  • Show live prices from GetProductInfoAsync(id, Enum.InfoType.Product) / GetDeveloperProductsAsync() — never hardcode Robux prices: managed pricing (regional pricing + price optimization) shows different users different prices. receipt.CurrencySpent has what the user actually paid.
  • Contextual offers (revive on death, boost when stuck) outperform static menus. Also list items in the game's Shop tab in Creator Hub.
  • Open the Roblox Shop overlay from your own buttons, NPCs, or zones with MarketplaceService:OpenShop(player).
  • Listed passes and developer products can also be sold outside the game (Home, search, after Robux purchases); the player joins with the item already bought. Developer products qualify only with a correct ProcessReceipt — Creator Hub → Monetization → Shop flags products that need a fix.

Refunds and chargebacks

Refunded passes (and avatar items) lose ownership automatically — re-check ownership instead of caching it forever. Developer product grants live in your data, so revoke them yourself: subscribe to the Transaction Refunded webhook (covers developer products, passes, private servers, Paid Access) and match it by the transaction/receipt ID in the payload (see roblox-open-cloud). Keep handled PurchaseIds with what each granted so a refund can be reversed.

Compliance

  • Paid random items (loot boxes, gacha, spins bought with Robux or Robux-bought currency): disclose odds before purchase, and check PolicyService:GetPolicyInfoForPlayerAsync(player):
    • ArePaidRandomItemsRestricted → offer a free earnable path, a disclosed fixed sequence, or direct purchase.
    • IsPaidItemTradingAllowed → disable trading of paid items when false.
  • Regional pricing arbitrage: gate gifting/trading of purchased items using MarketplaceService:GetUsersPriceLevelsAsync(userIds) (1–1000, % of global price); fetch at join, don't cache across sessions.
  • Rewarded video rewards must be developer products, not random, and must not harm the player's character while the ad plays.
  • Respect age/region restrictions returned by PolicyService for ads, social links, and trading.
  • Timed options for avatar items are being retired: PromptBulkPurchase rejects Enum.PurchaseOption.TimedOption line items and SearchCatalog errors on Enum.SalesTypeFilter.TimedOptions.

Rewarded video ads, commerce products, Premium/Roblox Plus hooks, US 18+ DevEx rate and age checks: references/ads-and-extras.md.

Related skills

roblox-data-stores (persisting grants), roblox-security (economy exploits), roblox-ui (shop UI), roblox-analytics-liveops (economy events, funnels, experiments).

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Roblox Monetization faz?

Robux monetization - developer products with idempotent ProcessReceipt, passes, pass free trials, subscriptions, rewarded video ads, personalized shops, regional pricing and trade arbitrage, paid random item policy (PolicyService), commerce products, private servers, Roblox Plus, refunds, age checks and the US 18+ rate. Use when adding purchases, shops, game passes, subscriptions, ads, or loot boxes, or debugging lost/duplicated purchases.

Por que usar Roblox Monetization no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Roblox Monetization é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Roblox Monetization no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/EL4CTEO/roblox-skills/tree/main/skills/roblox-monetization. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Roblox Monetization?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Roblox Monetization?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Roblox Monetization com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Roblox Monetization é gratuita?

Sim. A habilidade é publicada no GitHub por EL4CTEO sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇