How funlightstudios/lubbacms works
LubbaCMS combines a Habbo hotel CMS/admin surface with LubbaEMU, which serves Flash TCP and Nitro WebSocket clients. The runtime path is client connection, packet parsing/dispatch, authenticated game session, then hotel-domain actions such as rooms, catalog, groups, and moderation, with persistent state in MySQL. The graph emphasizes this emulator workflow and preserves the documented CMS/admin and client capabilities. Some CMS internals and domain handlers were not sampled; those branches are shown only where the README or source index supports them.
Main entry points: Incoming Incoming actions · DatabaseManager.cs MySQL storage · ConnectionHandling.cs TCP and WebSocket · PlusEnvironment.cs Hotel services
Components 19
Client transport
- TCP and WebSocket
#EMULATOR/Communication/ConnectionManager/ConnectionHandling.cs - Socket sessions
#EMULATOR/Communication/ConnectionManager/ConnectionInformation.cs
Emulator runtime
- Game session
#EMULATOR/HabboHotel/GameClients/GameClient.cs - Packet dispatch
#EMULATOR/Communication/Packets/PacketManager.cs - Incoming actions
#EMULATOR/Communication/Packets/Incoming
Hotel features
- Room simulation
#EMULATOR/HabboHotel/Rooms/Room.cs - Room users
#EMULATOR/HabboHotel/Rooms/RoomUserManager.cs - Player profile
#EMULATOR/HabboHotel/Users/Habbo.cs - Catalog and shop
#EMULATOR/HabboHotel/Catalog/CatalogManager.cs - Groups
#EMULATOR/HabboHotel/Groups/GroupManager.cs - Moderation
#EMULATOR/HabboHotel/Moderation/ModerationManager.cs
Platform services
- Hotel services
#EMULATOR/PlusEnvironment.cs - MySQL storage
#EMULATOR/Database/DatabaseManager.cs - Query adapter
#EMULATOR/Database/Adapter/QueryAdapter.cs - Avatar data
#EMULATOR/Core/FigureData/FigureDataManager.cs
CMS and admin
- CMS website
system/brain-config.php - Admin panel
adminpan/index.php
Other components
- Game clients
- Hotel moderators
Connections 20
- Game clients → TCP and WebSocket: connects
- TCP and WebSocket → Socket sessions: accepts sessions
- Socket sessions → Game session: starts session
#EMULATOR/HabboHotel/GameClients/GameClient.cs - Game session → Packet dispatch: parses packets
#EMULATOR/HabboHotel/GameClients/GameClient.cs - Packet dispatch → Incoming actions: dispatches actions
#EMULATOR/Communication/Packets/PacketManager.cs - Incoming actions → Room simulation: handles room actions
- Room simulation → Room users: manages occupants
#EMULATOR/HabboHotel/Rooms/RoomUserManager.cs - Room users → Player profile: uses player state
#EMULATOR/HabboHotel/Rooms/RoomUserManager.cs - Incoming actions → Catalog and shop: handles shop actions
- Incoming actions → Groups: handles group actions
- Incoming actions → Moderation: handles reports
- Hotel services → TCP and WebSocket: starts listeners
#EMULATOR/PlusEnvironment.cs - Hotel services → Avatar data: initializes data
#EMULATOR/PlusEnvironment.cs - MySQL storage → Query adapter: creates adapter
#EMULATOR/Database/DatabaseManager.cs - Catalog and shop → MySQL storage: loads catalog data
#EMULATOR/HabboHotel/Catalog/CatalogManager.cs - Groups → MySQL storage: loads group data
#EMULATOR/HabboHotel/Groups/GroupManager.cs - Moderation → MySQL storage: reads ban data
#EMULATOR/HabboHotel/Moderation/ModerationManager.cs - Game clients → CMS website: registers and logs in
- Hotel moderators → Admin panel: manages hotel
- Admin panel → CMS website: configures content