Roblox Adapter
Idiomark adapter for extracting personality data from Roblox user profiles, games, and activity.
Featuresâ
- đŽ User profiles - Extract user descriptions and bio information
- đšī¸ Game history - Analyze played games and playtime
- đĨ Friend activity - Track friend interactions
- đ Playstyle analysis - Builder, fighter, explorer, social player detection
- đ Achievement tracking - Understand gaming preferences and goals
Installationâ
npm install @idiomark/adapter-roblox
Usageâ
import { createRobloxAdapter, fetchRobloxUser } from '@idiomark/adapter-roblox'
// Basic usage
const adapter = createRobloxAdapter(process.env.ROBLOX_COOKIE)
// Fetch user data
const output = await adapter.getStructuredOutput({
includeGames: true,
includeFriends: true,
includeChat: true,
limit: 100
})
console.log(output.personalitySignals)
Using with CLIâ
# Extract from Roblox profile
idiomark extract --roblox --cookie .ROBLOSECURITY=xxx -o personality.json
# With options
idiomark extract --roblox \
--cookie .ROBLOSECURITY=xxx \
--include-games \
--include-friends \
-o personality.json
Authenticationâ
Cookie (.ROBLOSECURITY)â
- Log into Roblox in your browser
- Open Developer Tools â Application â Cookies
- Find the
.ROBLOSECURITYcookie - Copy the cookie value
const adapter = createRobloxAdapter('your_cookie_value')
Security Noteâ
Warning: Treat your .ROBLOSECURITY cookie like a password. Never commit it to version control.
Personality Signals Extractedâ
Gaming Style Analysisâ
| Style | Indicators |
|---|---|
| Builder | Tycoon, building, city games |
| Fighter | Battle, war, shooter games |
| Explorer | Adventure, survival games |
| Social | Roleplay, hangout, chat games |
| Creator | Studio, design, maker games |
Values Analysisâ
- Sociability - Based on friend count and activity
- Creativity - Building, design, and creation games
- Leadership - Clan, military, and team games
- Competitiveness - PvP and ranking-based games
- Exploration - Adventure and survival tendencies
Interestsâ
- Favorite game genres (e.g., Adventure, Obby, Tycoon)
- Most played games
- Favorite creators/developers
- Group memberships
Configuration Optionsâ
| Option | Type | Default | Description |
|---|---|---|---|
cookie | string | required | .ROBLOSECURITY cookie token |
apiKey | string | undefined | Optional API key |
limit | number | 100 | Max activities to fetch |
includeGames | boolean | true | Include game history |
includeFriends | boolean | false | Include friend activity |
includeChat | boolean | false | Include chat history |
startDate | Date | undefined | Filter activities from this date |
endDate | Date | undefined | Filter activities until this date |
Examplesâ
Analyze Gaming Preferencesâ
const adapter = createRobloxAdapter(process.env.ROBLOX_COOKIE)
const output = await adapter.getStructuredOutput({
includeGames: true,
limit: 50
})
// Get playstyle
console.log('Playstyle:', output.personalitySignals.gaming.playstyle)
// Output: ['builder', 'social']
// Get favorite genres
console.log('Genres:', output.personalitySignals.interests.favoriteGenres)
// Output: ['Tycoon', 'Building', 'Adventure']
Compare Social vs Solo Gamingâ
const adapter = createRobloxAdapter(process.env.ROBLOX_COOKIE)
const output = await adapter.getStructuredOutput({
includeGames: true
})
// 1.0 = fully social, 0.0 = fully solo
const socialVsSolo = output.personalitySignals.gaming.socialVsSolo
console.log(`Social vs Solo: ${(socialVsSolo * 100).toFixed(0)}%`)
Rate Limitsâ
- 60 requests per minute
- Automatic retry with exponential backoff when rate limited
Licenseâ
MIT