Jump to content
Main Menu
Main Menu
move to sidebar
hide
Navigation
Main page
Guide
Recent changes
Random page
Getting started
Bconomy
Ranks
Profile modes
Web Client
Gameplay
Actions
Items
Market
Farm
Pets
Relay Network
Prestige
Activities
Bosses
Factions
Museum
Fun House
Coinflip
Burn
Pyre
Bconomy Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Data API/Player Activity
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<small>[[Data API|Data API]] Β· [[Data API/Types|Types]]</small> == <code><nowiki>playerActivity/online</nowiki></code> == Returns game profiles with a connection, reported presence, or interaction signal in the past 90 minutes. A signal keeps a profile Active for 30 minutes, then Idle for 60 minutes before removal. Presence is independent of these sections. Available to everyone while the "Online players" Server Setting is enabled; otherwise moderators only. Also returns the latest Discord community snapshot: linked profiles of members who are online in the Bconomy Discord, plus unlinked members as plain Discord usernames. Bots and offline or invisible members are excluded. <strong>Request</strong> <pre>{ "type": "playerActivity/online" }</pre> <strong>Response</strong> <pre>{ capturedAt: string // ISO 8601, shared membership snapshot time players: Array<PlayerDisplay & { status: "online" | "idle" | "offline" // supplemental presence connectedAt: string | null // ISO 8601, current connection session start lastSignalAt: string // ISO 8601, latest objective signal lastSeenAt: string // ISO 8601, last interaction, or lastSignalAt if unknown }> discord: { // Includes profiles also present in players; rendering deduplicates by BcID. players: Array<PlayerDisplay & { tier: number; rank: number }> guests: Array<{ discordId: string; displayName: string }> // Discord username } } interface PlayerDisplay { id: number name: string type: "main" | "ironman" | "hardcore" role: "developer" | "moderator" | "inactiveModerator" | null showCosmetics: boolean // server-resolved normal cosmetic eligibility custom: { chatEmblemEmoji: string | null chatUsernameColor: string | null chatUsernameStyle: string | null } }</pre> <code><nowiki>connectedAt</nowiki></code> is the start of the player's current connection. It survives reloads and extra tabs, and resets once every tab has disconnected. <small>Generated from the Bconomy source documentation. Edits made on the wiki are overwritten on the next publish; ask the developers to change the source.</small> [[Category:Data API]]
Summary:
Please note that all contributions to Bconomy Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Bconomy Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Data API/Player Activity
Add topic