Team Hub is a powerful Decentraland SDK7 library that provides a complete set of interactive tools for hosting events, managing participants, and creating engaging experiences in your Decentraland scenes.
Originally a standalone scene, Team Hub has been adapted as a reusable library to help content creators quickly add event management and interactive features to their projects.
Team Hub includes everything you need to create interactive events and manage audiences:
- Polls & Voting - Create live polls with real-time results
- Zone-based Polls - Physical voting zones where players walk to vote
- Surveys - Multi-question surveys with result analytics
- Q&A Sessions - Live question and answer management
- Timer System - Countdown timers for timed activities
- Stage & Podium - Pre-built stage setup for presentations
- Host Controls - Comprehensive host toolbar and permissions
- Moderation Panel - Kick/ban functionality and player management
- Activity Dashboard - Centralized control panel for all activities
- Host Indicators - Visual indicators showing who has host permissions
- Theme Customization - Customize colors and branding
- Auditorium Setup - Ready-to-use auditorium layout
- Asset Packs - Pre-made 3D models and UI components
Start by creating a new scene using the Decentraland Creator Hub (use the Empty Scene template).
Inside your scene folder, install the library:
npm install @dcl-regenesislabs/teamhub-lib@latestCopy the required 3D models and images to your project:
node node_modules/@dcl-regenesislabs/teamhub-lib/scripts/copy-assets.cjsThis copies all assets (models, textures, etc.) to your assets/ folder.
In your src/index.ts, import and initialize Team Hub:
import { TeamHub } from '@dcl-regenesislabs/teamhub-lib'
export function main(): void {
const hub = new TeamHub()
}That's it! Your scene now includes all Team Hub features.
When you install Team Hub, you get:
GameController- Main game logic coordinatorPlayerController- Player state and permissions managementUIController- UI state and visibility management
- Poll creation and voting systems
- Survey builder and response collector
- Q&A queue and moderation
- Zone-based voting areas
- Activity selection panels
- Main menu and navigation
- Host toolbar
- Moderation panel
- Results dashboards
- Timer displays
- Customization interface
- Pre-built 3D models (stage, podium, voting zones)
- UI textures and icons
- Asset pack integrations
import { TeamHub } from '@dcl-regenesislabs/teamhub-lib'
export function main(): void {
const hub = new TeamHub()
// Team Hub is now running with all features enabled
}import { TeamHub } from '@dcl-regenesislabs/teamhub-lib'
export function main(): void {
const hub = new TeamHub()
// Access the game controller for advanced customization
const game = hub.gameController
// Example: Access player controller
const playerController = game.playerController
// Example: Show/hide specific UI
game.mainMenuUI.show()
}Team Hub includes a built-in customization UI that allows hosts to:
- Change theme colors
- Customize branding
- Configure stage layout
- Adjust activity settings
Access customization through the host menu once Team Hub is running.
- Node.js: >= 18.0.0
- npm: >= 8.0.0
- Decentraland SDK: 7.x (latest)
For detailed API documentation, see the source code in src/controllers/.
This library can also be executed directly as a Decentraland scene for testing or development purposes.
The entry point (index.ts) is ignored in the npm package (.npmignore) so it won’t be included when the library is installed in other projects — but it allows you to run this repo standalone as a scene.
To run it locally:
# Install dependencies
npm install
# Start the scene in the Decentraland Explorer (alpha)
npm run start -- --explorer-alphaYour local index.ts should look like this:
import { TeamHub } from './start'
export function main(): void {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const hub = new TeamHub()
}This will launch the TeamHub environment as a standalone scene for quick iteration and visual testing before publishing or packaging as a library.
If 3D models or images aren't visible, manually run the asset copy script:
node node_modules/@dcl-regenesislabs/teamhub-lib/scripts/copy-assets.cjsMake sure you've called new TeamHub() in your main() function.
Ensure you're using compatible versions:
- Decentraland SDK 7.x (latest)
- Node.js >= 18.0.0
Try updating the SDK:
npm install --save-dev @dcl/sdk@latestThis project is open source. See the original Team Hub Scene Repository for license details.
Contributions are welcome! This library is maintained as part of the Decentraland community ecosystem.
For bugs or feature requests, please open an issue on the original repository.
- Documentation: Decentraland SDK7 Docs
- Community: Decentraland Discord
- Original Scene: Team Hub Repository
Built with ❤️ for the Decentraland community
Powered by DCL Regenesis Labs