Join
Notification of a new player's arrival in an instance, sent to the existing participants.
The Join message is an automatic notification sent to the players of an instance when a new player successfully joins it.
It provides all the information needed to display and interact with the new player.
Priority
High - This message has a high priority to maintain the consistency of instance state.
The Join message is automatic and sent by the server. Clients cannot send it directly.
Server → Client Notification
Payload Format
[instance_id: byte]
[player_flags: uint]
[player_id: ushort]
[user_id: uint]
[server_address: string]
[display_name: string]
[created_at: DateTime]
[engine: string]
[platform: string]Detailed Structure
| Type | Name | Description |
|---|---|---|
| byte | InstanceID | ID of the instance concerned |
| uint | PlayerFlags | Flags and permissions of the new player |
| ushort | PlayerID | Unique player ID in the instance |
| uint | UserID | Authenticated user ID |
| string | ServerAddress | Player's server address |
| string | DisplayName | Player display name |
| DateTime | CreatedAt | Player creation date and time |
| string | Engine | Engine used (unity, unreal, etc.) |
| string | Platform | Platform (windows, android, etc.) |
Player Flags
| Value | Name | Description |
|---|---|---|
| 0x001 | IsBot | The player is a bot |
| 0x002 | InstanceMaster | Reference player of the instance |
| 0x004 | InstanceModerator | Instance moderator |
| 0x008 | InstanceOwner | Instance owner |
| 0x010 | GuildModerator | Guild moderator |
| 0x020 | MasterModerator | Master moderator |
| 0x040 | WorldOwner | World owner |
| 0x080 | WorldModerator | World moderator |
| 0x100 | AuthUnverified | Authentication unverified |
| 0x200 | HideInList | Hidden from lists |
| 0x400 | HasCustomDisplay | Custom display name |
Notification Example - Regular Player
[0x05] // InstanceID = 5
[0x00, 0x00, 0x00, 0x00] // PlayerFlags = None
[0x00, 0x04] // PlayerID = 4
[0x00, 0x00, 0x04, 0x2A] // UserID = 1066
[0x0A, "nox.server"] // ServerAddress = "nox.server"
[0x0C, "PlayerName123"] // DisplayName = "PlayerName123"
[0x00, 0x00, 0x01, 0x8A, 0x32, 0x1F, 0x80, 0x00] // CreatedAt (timestamp)
[0x05, "unity"] // Engine = "unity"
[0x07, "windows"] // Platform = "windows"Notification Example - Bot
[0x02] // InstanceID = 2
[0x00, 0x00, 0x02, 0x01] // PlayerFlags = IsBot | HideInList
[0x00, 0x08] // PlayerID = 8
[0x00, 0x00, 0x00, 0x00] // UserID = 0 (bot)
[0x0A, "bot.server"] // ServerAddress = "bot.server"
[0x07, "BotName"] // DisplayName = "BotName"
[0x00, 0x00, 0x01, 0x8A, 0x32, 0x1F, 0x80, 0x00] // CreatedAt (timestamp)
[0x04, "node"] // Engine = "node"
[0x05, "linux"] // Platform = "linux"Notification Example - Moderator
[0x01] // InstanceID = 1
[0x00, 0x00, 0x00, 0x04] // PlayerFlags = InstanceModerator
[0x00, 0x01] // PlayerID = 1
[0x00, 0x00, 0x05, 0x39] // UserID = 1337
[0x0A, "nox.server"] // ServerAddress = "nox.server"
[0x0B, "ModeratorX"] // DisplayName = "ModeratorX"
[0x00, 0x00, 0x01, 0x8A, 0x32, 0x1F, 0x80, 0x00] // CreatedAt (timestamp)
[0x06, "unreal"] // Engine = "unreal"
[0x07, "windows"] // Platform = "windows"Automatic Synchronization
Avatar Data
Immediately after the Join message, the server automatically sends an AvatarChanged message if the new player has a configured avatar.
Transform Data
The server also sends all the Transform messages needed to synchronize the new player's position and state.
Message Order
- Join - Basic player information
- AvatarChanged - Avatar configuration (if present)
- Transform - Position and transformations (if configured)
Processing
Client Side
- Reception: Automatic message from the server
- Validation: Check of the instance ID
- Player addition: Creation of the local player object
- User interface: Display of the arrival notification
- Preparation: Waiting for the avatar and transform data
Server Side
- Trigger: On a successful Enter
- Distribution: Sending to all existing players
- Synchronization: Sending of the complementary data
- Logging: Recording of the event
Special Behaviors
Selective Distribution
The Join message is only sent to players with the PlayerStatus.Ready status in the same instance.
Sender Exclusion
The player joining the instance does not receive their own Join message. They instead receive a response to their Enter message.
Bidirectional Synchronization
When a new player joins:
- The existing players receive their
Joinmessage - The new player receives the
Joinmessages of all the existing players
Privilege Handling
Permission Display
The PlayerFlags allow clients to visually display privileges:
- Moderator/owner icons
- Special colors in the interface
- Adapted context menus
Access Control
The flags influence the possible interactions:
- Available moderation commands
- Access to privileged features
- Compliance with the permission hierarchy
Integration with Other Messages
Relation to Enter
The Join message is the notification resulting from a successfully processed Enter message.
Relation to Leave
When a player leaves via Leave, they are removed from the lists but their data remains until full cleanup.
Relation to Avatar/Transform
The Join messages are always followed by the necessary synchronization data.
Error Handling
Invalid Instance
If the instance ID does not match any local instance, the message is silently ignored.
Player Already Present
If the PlayerID already exists, the data is updated rather than duplicated.
Corrupted Data
In case of malformed data, the client must ignore the message and maintain its current state.
Usage Examples
User Interface
"PlayerName123 joined the instance"
"BotName (Bot) joined the instance"
"ModeratorX (Moderator) joined the instance"
"[Hidden Player] joined the instance" // For HideInListResource Initialization
Upon receiving a Join, the client must:
- Create the local player object
- Prepare the avatar rendering system
- Initialize the position data
- Update the instance counters
- Configure the interactions according to privileges
- Notify the user interface
Platform Detection
The Engine and Platform fields allow:
- Platform-specific optimizations
- Adaptation of the user interface
- Feature compatibility
- Usage statistics