s&bux s&bux Library update 1y ago

s&bux API

Game monetization.

favorite8favorites
thumb_up9upvotes
thumb_down2downvotes
hard_drive 0 MB folder 16 files build Engine v17 history Last update 699d ago
open_in_new View on sbox.game

About This Package

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.

Media (4)

s&bux API - Thumbnail 2 s&bux API - Screenshot 3 s&bux API - Screenshot 4
459
Total Users
1,804
Total Sessions
1.2 months
Total Playtime

Global Statistics

29.8K
balance
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
Cs Proj Name: s8bux API
Compiler: Sandbox, SANDBOX;ADDON;DEBUG, 1701;1702;1591;, , 1, Array, Array, Array
Resources:
Code Package References:
new_releases Latest Update Aug 10, 2024
Fix game pass list sometimes being null.
tag v65359 folder 16 files hard_drive 0.1 MB build Engine v17
65359 Aug 10, 2024
Fix game pass list sometimes being null.
folder 16 files hard_drive 101.15 KB build Engine v17
65326 Aug 10, 2024
Added `WaitForLoad();`
folder 16 files hard_drive 101.15 KB build Engine v17
57425 May 27, 2024
S&box changed the way screen panels are ordered
folder 8 files hard_drive 15.53 KB build Engine v17
56417 May 6, 2024
Release version
folder 8 files hard_drive 15.53 KB build Engine v17
56298 May 4, 2024
New library system
folder 5 files hard_drive 4.86 KB build Engine v17
46742 Feb 15, 2024
Changes on 2024-02-15
folder 9 files hard_drive 41.77 KB build Engine v17
46736 Feb 15, 2024
im bad
folder 9 files hard_drive 41.71 KB build Engine v17
46735 Feb 15, 2024
aa
folder 9 files hard_drive 40.37 KB build Engine v17
46724 Feb 15, 2024
Changes on 2024-02-15
folder 9 files hard_drive 40.37 KB build Engine v17
46723 Feb 15, 2024
Changes on 2024-02-15
folder 9 files hard_drive 40.37 KB build Engine v17