/sbux-api

Primary LanguageC#

About S&bux API

s&bux is a parody of in-game currencies and can't be bought with real world money.

You get 25 s&bux for free every day you play a supported gamemode. 😃

How to use

Create a game pass resource.

create.game.pass.mp4

image

// Check if a player owns the game pass.

if ( Monetization.Has( gamePass ) )
{
    // Do things...
}

image

// Prompts the player to purchase the game pass.
// True if the game pass was bought.
// A game pass can be bought multiple times.

if ( await Monetization.Purchase( gamePass ) )
{
    // Do things...
}