Skip to main content
Phone events allow resources to react to phone state changes, data updates, and notification events.

Server Events

Phone:Server:RegisterMiddleware

Fired when the phone registers middleware handlers.

Phone:Server:RegisterCallbacks

Fired when the phone registers server callbacks.

Phone:Server:AliasUpdated

Fired when a player updates an app alias.

Phone:Server:UIReset

Fired when the phone UI resets.

Client Events

Phone:Client:SetData

Sent from server to set phone data on the client.

Phone:Client:AddData

Sent from server to add data to the phone.

Phone:Client:UpdateData

Sent from server to update phone data.

Phone:Client:RemoveData

Sent from server to remove phone data.

Phone:Client:ResetData

Sent from server to reset all phone data.

Phone:Client:Notifications:Add

Sent from server to add a notification.

Phone:Client:Notifications:AddWithId

Sent from server to add a tracked notification.

Phone:Client:Notifications:Update

Sent from server to update an existing notification.

Phone:Client:Notifications:Remove

Sent from server to remove a notification.

Phone:Client:Close

Sent from server to close the phone.

Phone:Client:ReceiveShare

Sent when the player receives shared data (contact, document, etc.).

Server Callbacks

These callbacks are used by the phone UI to communicate with the server.

Middleware Events

Characters:Spawning

The phone hooks into character spawning to initialize phone data.

Characters:Creating

The phone hooks into character creation to set up default phone data.

Next Steps

Phone - Exports

Phone API methods

Phone - Apps

App configuration

Middleware API

Middleware system