WebsimUserManager Plugin Documentation
A unified system for managing user roles, presence, analytics, and chat functionality in Websim applications.
Implementation
const manager = new WebsimUserManager({ enableChat: true, enableAnalytics: true, enablePresence: true, enableVibes: true });
Features & Modules
  • User Role Management (Owner/Admin/Viewer/Visitor)
  • Real-time Presence Tracking
  • Analytics & Visit Tracking
  • Integrated Chat System
  • Vibe Check System
Implementation Steps
  1. Include the WebsimUserManager script in your project
  2. Initialize the manager with desired options
  3. Access modules through manager.modules.{moduleName}
  4. Use manager.state to check current user role and status
  5. Set user vibe with manager.modules.vibes.setVibe(vibeType)
Use Cases
  • User Profiles: Track visitors and manage interactions
  • Games: Implement player roles and real-time presence
  • Interactive Apps: Add chat and user management
  • Educational Platforms: Track student engagement
  • Wellness Platforms: Monitor user vibes and connections
Current Status
Initializing...
Setting Page Ownership

Project implementers can specify ownership in two ways:

  1. Automatic: Uses current page URL structure (@username)
  2. Manual: Specify during initialization
// Manual owner assignment const manager = new WebsimUserManager({ owner: { id: "your-user-id", username: "your-username" } });