Gaming Adapters Framework
Idiomark adapters for extracting personality data from gaming platforms and games.
Overview
The gaming framework provides adapters for analyzing player behavior, communication patterns, and gaming preferences across multiple platforms:
| Platform | Category | Data Sources | Status |
|---|---|---|---|
| Minecraft | Sandbox | Server logs, chat, stats | ✅ Stable |
| Roblox | MMO | User profile, games, friends | ✅ Stable |
| VRChat | VR/Social | Profile, worlds, chat | ✅ Stable |
| Fortnite | Battle Royale | Player stats, match history | ✅ Stable |
Personality Signals Extracted
All gaming adapters extract consistent personality signals:
Gaming Style Analysis
| Style | Description | Platforms |
|---|---|---|
| Builder | Creative construction, design focus | Minecraft, Roblox |
| Fighter | Combat-oriented, competitive | Fortnite, Minecraft (PvP) |
| Explorer | Discovery, adventure focus | Minecraft, VRChat |
| Social | Multiplayer, community-driven | Roblox, VRChat, Minecraft |
| Creator | Content creation, avatars, worlds | Roblox, VRChat, Minecraft |
Values Dimensions
| Value | Indicators | Use Case |
|---|---|---|
| Cooperation | Helping others, teamwork, sharing | Multiplayer gaming behavior |
| Creativity | Building, designing, customizing | Avatar selection, world creation |
| Leadership | Guiding others, organizing | Squad leading, event hosting |
| Exploration | Discovery, variety | New games, world diversity |
| Competitiveness | Win rate, K/D ratio | Performance-focused play |
| Strategic Thinking | Planning, tactics | High placement consistency |
Communication Analysis
- Common phrases - Recurring expressions and terminology
- Emoji usage - Emoji preferences and frequency
- Slang detection - Game-specific terminology (e.g., "oof", "gg", "EZ")
- Message patterns - Initiation rate, response time, average length
Interest Profiling
- Favorite games/modes - Most played content
- Platform preferences - Genre and type preferences
- Social connections - Friends, groups, communities
- Creator interests - Followed developers, creators
Installation
# Install all gaming adapters
npm install @idiomark/adapter-minecraft @idiomark/adapter-roblox @idiomark/adapter-vrchat @idiomark/adapter-fortnite
# Or install individually
npm install @idiomark/adapter-minecraft
Usage Examples
Multi-Platform Analysis
import { createMinecraftAdapter } from '@idiomark/adapter-minecraft'
import { createRobloxAdapter } from '@idiomark/adapter-roblox'
import { createVRChatAdapter } from '@idiomark/adapter-vrchat'
import { createFortniteAdapter } from '@idiomark/adapter-fortnite'
// Extract from multiple gaming platforms
const minecraftAdapter = createMinecraftAdapter('./logs/latest.log')
const robloxAdapter = createRobloxAdapter(process.env.ROBLOX_COOKIE)
const vrchatAdapter = createVRChatAdapter(process.env.VRCHAT_AUTH_TOKEN)
const fortniteAdapter = createFortniteAdapter(apiKey, 'player_username')
const [minecraftData, robloxData, vrchatData, fortniteData] = await Promise.all([
minecraftAdapter.getStructuredOutput({ limit: 500 }),
robloxAdapter.getStructuredOutput({ includeGames: true }),
vrchatAdapter.getStructuredOutput({ includeWorlds: true }),
fortniteAdapter.getStructuredOutput({ includeMatches: true })
])
// Combine for comprehensive gaming personality profile
const allContent = [
...minecraftData.rawContent,
...robloxData.rawContent,
...vrchatData.rawContent,
...fortniteData.rawContent
]
CLI Usage
# Minecraft - Extract from server logs
idiomark extract --minecraft --log-path ./logs/latest.log -o minecraft-idiomark.json
# Roblox - Extract user profile
idiomark extract --roblox --cookie .ROBLOSECURITY=xxx -o roblox-idiomark.json
# VRChat - Extract profile and worlds
idiomark extract --vrchat --auth-token xxx --include-worlds -o vrchat-idiomark.json
# Fortnite - Extract player stats
idiomark extract --fortnite --api-key xxx --account-name player -o fortnite-idiomark.json
Platform-Specific Notes
Minecraft
- Data Source: Server log files (local)
- Authentication: File path access
- Rate Limits: None (local file parsing)
- Unique Signals: Playstyle (builder, fighter, explorer), cooperation, creativity, PvP tendency
Roblox
- Data Source: Roblox Web API
- Authentication:
.ROBLOSECURITYcookie - Rate Limits: 60 requests/minute
- Unique Signals: Game genre preferences, social vs solo, avatar interests
VRChat
- Data Source: VRChat API
- Authentication: Auth token
- Rate Limits: 100 requests/minute
- Unique Signals: World diversity, avatar customization, social preferences
Fortnite
- Data Source: Third-party tracker APIs (Epic doesn't provide public API)
- Authentication: API key from tracker service
- Rate Limits: 60 requests/minute (varies by tracker)
- Unique Signals: K/D analysis, competitiveness, teamwork (duo/squad), playstyle
Idiomark Integration
All gaming adapters follow the Idiomark adapter interface:
interface PlatformAdapter {
readonly name: string
authenticate(): Promise<boolean>
fetchData(options: FetchOptions): Promise<RawContent[]>
normalize(raw: RawContent): NormalizedContent
}
Output is compatible with Idiomark core extraction:
import { IdiomarkExtractor } from '@idiomark/core'
const extractor = new IdiomarkExtractor({
sources: ['minecraft', 'roblox', 'vrchat', 'fortnite'],
sampleSize: allContent.length
})
const result = await extractor.extractFromContent(allContent)
Extending the Gaming Framework
To add a new gaming adapter:
-
Create adapter package
pnpm --filter @idiomark/cli adapter create new-game --template rest -
Implement personality signal extraction
- Gaming style (builder, fighter, explorer, etc.)
- Values (cooperation, competitiveness, etc.)
- Communication patterns
- Interest profiling
-
Follow naming conventions
- Package:
@idiomark/adapter-{game} - Class:
{Game}Adapter - Types:
{Game}Auth,{Game}User, etc.
- Package:
-
Update registry Add entry to
packages/adapters/registry.json
Comparison Matrix
| Feature | Minecraft | Roblox | VRChat | Fortnite |
|---|---|---|---|---|
| Chat Analysis | ✅ | ⚠️ Limited | ✅ | ❌ N/A |
| Game History | ✅ Played worlds | ✅ Game list | ✅ World visits | ✅ Matches |
| Player Stats | ✅ Inferred | ✅ Public | ✅ Public | ✅ Full stats |
| Friend Data | ✅ If logged | ✅ Full | ✅ Full | ❌ N/A |
| Achievement Data | ✅ Log parsing | ⚠️ Limited | ⚠️ Limited | ✅ Season data |
| Real-time | ❌ | ❌ | ✅ Partial | ❌ |
| API Access | ❌ (File-based) | ✅ | ✅ | ✅ (Via tracker) |
Contributing
See contributing.md for general contribution guidelines.
When contributing to gaming adapters:
- Test with real game data where possible
- Respect API rate limits
- Handle authentication failures gracefully
- Document platform-specific quirks
- Include examples in adapter README
License
MIT