Bot
Bot placement, pickup, configuration, and skill assignment.
C→S 1592 - BotPlace
Nitro:
BOT_PLACESource:
BotPlaceEvent,BotPlaceComposer
Places a bot from the user's inventory into the room at the specified tile coordinates.
Body:
readInt: int
x: int
C→S 3323 - BotPickup
Nitro:
BOT_PICKUPSource:
BotPickupEvent,BotRemoveComposer
Picks up a bot from the room and returns it to the user's inventory.
Body: (empty)
C→S 1986 - BotSettings
Nitro:
BOT_CONFIGURATIONSource:
BotSettingsEvent,RequestBotCommandConfigurationComposer
Requests the current command configuration for a bot, sent when the owner opens the bot settings panel.
Body:
botId: int
C→S 2624 - BotSaveSettings
Nitro:
BOT_SKILL_SAVESource:
BotSaveSettingsEvent,BotSkillSaveComposer
Body:
botId: int
settingId: int
messageString: string
name: string
motto: string
Saves updated bot settings (command data, name, motto) for a specific bot skill.
S→C 3684 - AddBot
Nitro:
BOT_RECEIVEDSource:
AddBot,BotReceivedMessageEvent
| Field | Type | Notes |
|---|---|---|
| botId | int | ID of the received bot |
| botName | string | Bot's display name |
| botMotto | string | Bot's motto |
| gender | string | Bot gender character ("m" or "f") |
| figure | string | Bot's Habbo figure string |
| unknown | boolean | Always true |
Notifies the client that a bot has been placed in the room and delivers its display data.
S→C 1352 - AddBotToInventory
Nitro:
ADD_BOT_TO_INVENTORYSource:AddBotComposer,BotAddedToInventoryEvent
| Field | Type | Notes |
|---|---|---|
| bot.id | int | Bot item ID |
| bot.name | string | Bot name |
| bot.motto | string | Bot motto |
| bot.gender | string | Bot gender ("M" or "F") |
| bot.figure | string | Bot figure string |
| openInventory | boolean | Whether to automatically open the bot inventory |
Delivers a bot item to the user's bot inventory after it was picked up from a room.
S→C 233 - UserBotRemove
Nitro:
USER_BOT_REMOVE,REMOVE_BOT_FROM_INVENTORYSource:RemoveBotComposer,BotRemovedFromInventoryEvent
| Field | Type | Notes |
|---|---|---|
| itemId | int | Bot item ID removed from inventory |
Notifies that a bot has been removed from the user's inventory.
S→C 1618 - BotCommandConfiguration
Nitro:
BOT_COMMAND_CONFIGURATIONSource:BotSettingsComposer,BotCommandConfigurationEvent
| Field | Type | Notes |
|---|---|---|
| botId | int | Bot room unit ID |
| commandId | int | Bot command type ID |
| data | string | Command-specific configuration data string |
Delivers bot command configuration data (command type and settings string) for the bot settings panel.
S→C 296 - BotForceOpenContextMenu
Nitro:
BOT_FORCE_OPEN_CONTEXT_MENUSource:BotForceOpenContextMenuComposer,BotForceOpenContextMenuEvent
| Field | Type | Notes |
|---|---|---|
| botId | int | Room unit ID of the bot whose context menu should be opened |
Forces the client to open the context menu for a specific bot.
S→C 639 - BotError
Nitro:
BOT_ERRORSource:BotErrorComposer,BotErrorEvent
| Field | Type | Notes |
|---|---|---|
| errorCode | int | Bot error code |
Notifies the client that a bot operation failed, delivering an error code.