LIVE DATA ACCESSDEVELOPER TOOLS

MOCK PLAYGROUND / PROTOCOL 1.0.0

Real connections.
Simulated interactions.

Build with likes, gifts and comments before going LIVE. No LIVE Studio installation or production credentials needed.

Create a session to begin. Keep this tab open; refreshing clears your test configuration.

01 Connect your game

Not started

One private test session. Expires in 30 minutes.

TIME LEFT—
GAME CONNECTIONS0 / 2
How to connect from H5 / Unity

Use the endpoint above in Mock mode. Wait for SERVER_HELLO, validate its four fields, send AUTH using these test credentials, then process EVENT only after AUTH_RESULT.success is true.

The game must support an explicit Mock endpoint. A client that only scans localhost cannot connect to this service without a small connection-layer change.

Create a session for a JavaScript example.

Unity / Unreal: use your normal WebSocket library and the same JSON exchange. No Socket.IO or subscription command is required.

02 Trigger an interaction

Events go only to authenticated games in this session.

Gift

live.gift

Choose an ID to test your mapping. Mock acceptance does not mean a gift is available in every region.

Chat

live.chat

Synthetic text only. Real event availability depends on the enabled LIVE Studio configuration.

Connection checks

The built-in receiver uses a real WebSocket and counts as one game connection.

Test receiver: offline

03 Inspect messages

“Sent” means forwarded to a socket, not that a game effect ran. “Received” is from the built-in receiver.

Your handshake and event messages will appear here.