For Developers
The database layer your Roblox games deserve.
Overview
robase is a complete data layer with built-in SQLite storage, intelligent caching, and rate limiting. Unlike simple API wrappers, robase gives you everything needed to build production-ready Roblox tooling.
The SessionDatabase lets you cache API responses, store custom data, and build stateful applications that remember users, track history, and operate offline.
Production-Ready Features
SessionDatabase
SQLite storage with 4 tables: users, games, sessions (key-value), and log. Zero config, instant persistence.
TTLCache
Thread-safe TTL + LRU cache for GET requests. Reduces rate limits and improves response times.
TokenBucket
Built-in token bucket throttling prevents 429 errors and protects against hitting Roblox rate limits.
Open Cloud
RobaseCloudClient wraps Roblox Open Cloud APIs: DataStores, Ordered DataStores, and MessagingService.
Why External Tooling Matters
Lua scripts in Roblox Studio are great for in-game logic, but external Python tools unlock capabilities that aren't possible inside the platform.
Persistent State
Store user data, game stats, and custom metrics that survive server restarts and scale across instances.
Historical Analytics
Track player counts, visits, revenue, and engagement over time. Build dashboards with real historical data.
Cross-Platform Integration
Connect Roblox data to Discord, Slack, web apps, and other services through a unified Python interface.
Automated Workflows
Run scheduled tasks, automated moderation, rank management, and notification systems 24/7.
Code Examples
Intelligent Caching
Configure TTL and LRU caching to reduce API calls and improve performance.
Rate Limiting
Built-in token bucket throttling prevents 429 errors automatically.
Event-Driven Webhooks
React to Roblox events in real-time with the EventPoller system.