s&bux API

Library

Game monetization.

s&bux updated 2y ago 0 MB engine 17
thumb_up 9 open_in_new View on sbox.game

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. 😃

While in a supported gamemode, enter into your console to view your balance.

How to use

Create a game pass resource

// It may take a second to get a response from the backend. Use this to ensure everything is loaded.
await Monetization.OnLoad();

// Check if a player owns the game pass.
if ( Monetization.Has( gamePass ) )
{
    // Do things...
}

// 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...
}


Known issues:

First project launch may throw an error due to #5431 - but will still work.

459
Total Users
1,804
Total Sessions
1.2 months
Total Playtime

Global Statistics

29.8K
balance
0 recorded entries
Rank Player Score Recorded
refresh
Discovering package leaderboards...
Package ID: sbux.api
Created: 2024-02-11 11:01 UTC
Updated: 2024-08-10 15:38 UTC
Type: library
Public: Yes
Version: 65359
files: 16
Size: 0.1 MB
Engine Version: 17
Asset Version ID: 65359
Version Created: 2024-08-10 15:38 UTC
Hash: -2739868917125043925
Manifest: Open manifest

more_horiz Additional Properties

Compiler: {"RootNamespace":"Sandbox","DefineConstants":"SANDBOX;ADDON;DEBUG","NoWarn":"1701;1702;1591;","WarningsAsErrors":"","Whitelist":true,"AssemblyReferences":[],"IgnoreFolders":[],"DistinctAssemblyReferences":[]}
new_releases Latest Update Aug 10, 2024
Fix game pass list sometimes being null.
65359 Aug 10, 2024
Fix game pass list sometimes being null.
65326 Aug 10, 2024
Added `WaitForLoad();`
57425 May 27, 2024
S&box changed the way screen panels are ordered
56417 May 6, 2024
Release version
56298 May 4, 2024
New library system
46742 Feb 15, 2024
Changes on 2024-02-15
46736 Feb 15, 2024
im bad
46735 Feb 15, 2024
aa
46724 Feb 15, 2024
Changes on 2024-02-15
46723 Feb 15, 2024
Changes on 2024-02-15
info Live API Passthrough & Removal Notice

This file manifest and asset metadata are retrieved live directly from the official Facepunch s&box public API. s&box Explorer does not host, store, or redistribute any package files. All download links route directly to Facepunch CDN servers.