s&bux API
by
s&bux
| Summary | Game monetization. |
|---|---|
| Description |
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.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.
|
| Votes | 👍9 👎2 ❤️8 |
| Error Rate | 0% |
| Reviews |
4 reviews
25% Recommended (1)
50% Promise (2)
25% Needs Work (1)
|
| Usage |
459 players
1,804 sessions
830 hours playtime
28 minutes avg session
Totals captured
|
| Data | {} |
| Version | Created | Size (modified) | Files | Changes |
|---|---|---|---|---|
| 65359 | 101.2 KB (83.6 KB) | 16 ~6 | Fix game pass list sometimes being null. | |
| 65326 | 101.2 KB (88 KB) | 16 +8 ~3 | Added `WaitForLoad();` | |
| 57425 | 15.5 KB (1.4 KB) | 8 ~2 | S&box changed the way screen panels are ordered | |
| 56417 | 15.5 KB (13.5 KB) | 8 +3 ~2 | Release version | |
| 56298 | 4.9 KB (4.9 KB) | 5 +5 -9 | New library system | |
| 46742 | 41.8 KB (39.2 KB) | 9 ~2 | Changes on 2024-02-15 | |
| 46736 | 41.7 KB (39.2 KB) | 9 ~2 | im bad | |
| 46735 | 40.4 KB (28.5 KB) | 9 ~1 | aa | |
| 46724 | 40.4 KB (28.5 KB) | 9 ~1 | Changes on 2024-02-15 | |
| 46723 | 40.4 KB (40.3 KB) | 9 +5 ~2 | Changes on 2024-02-15 | |
| 46486 | 8.7 KB | 4 +4 | Init |
Loading history…