ClusterLink
SocketCluster realtime client for Unreal - pub/sub channels, auth engine and JSON codec, usable from Blueprints.
Highlights
ClusterLink is a full SocketCluster client for Unreal Engine. Subscribe to channels, publish JSON payloads and authenticate against your SocketCluster backend in realtime.
ClusterLink implements the full SocketCluster protocol: connect, authenticate through the pluggable auth engine, subscribe to channels and publish JSON payloads, with events for every lifecycle stage. Its six-module architecture separates socket transport, codec, auth, errors and JSON so advanced teams can extend individual layers, while Blueprint users just see clean pub/sub nodes.
SocketCluster backends excel at fan-out messaging, which makes ClusterLink a strong fit for MMO-style world event feeds, cross-server chat, presence and notification systems, and live-ops broadcasts - any design where thousands of clients subscribe to named channels.
ClusterLink is part of the Alpha XP networking collection for Unreal Engine 4.27-5.0+. Every feature is exposed to both Blueprints and C++, ships with styled HTML documentation, and follows one consistent API style across the whole collection. The plugin is compiled and verified against a clean UE 4.27 project, comes with a utility node pack (hashing, GUIDs, timestamps, tokens, validation), and is maintained under the Alpha XP brand with documentation hosted online.
Key Features
- SocketCluster protocol client
- Publish/subscribe channels with events
- Pluggable auth and codec engines
- Complete JSON object/value API
- Modular six-module architecture
- Utility node pack: CRC32/MD5/SHA-1 hashing, GUIDs, timestamps, random tokens and hostname validation
Blueprint & C++ API
The API is organised into these entry points:
| Class | Type | Nodes | Use it for |
|---|---|---|---|
| ClusterLinkJsonObject | Function library | 33 | Static nodes — callable from anywhere, no object needed. |
| ClusterLinkClientSocket | Object | 22 | The SocketCluster Client Socket |
| ClusterLinkJsonValue | Function library | 17 | Static nodes — callable from anywhere, no object needed. |
| ClusterLinkClient | Function library | 16 | The SocketCluster Client This is the root standalone object for the SocketCluster client library You can use it to create socket connections which you can use t… |
| ClusterLinkChannel | Object | 9 | Create with Construct Object or from C++. |
| ClusterLinkResponse | Object | 1 | Create with Construct Object or from C++. |
Callable runs when executed · Pure no exec pin, returns a value
Channel 9
| Node | Type | Available on | Description |
|---|---|---|---|
| Get State() → Socket Cluster Channel State | Callable | Object | Returns the state of the channel as a enum; SUBSCRIBED; PENDING; UNSUBSCRIBED |
| Subscribe(wait For Auth: Boolean, data: Cluster Link Json Value, batch: Boolean) | Callable | Object | Activate this channel so that it will receive all data published to it from the backend.; If waitForAuth is true, the channel will wait for the underlying socke… |
| UnSubscribe | Callable | Object | |
| isSubscribed(include Pending: Boolean) → Boolean | Callable | Object | Check whether or not this channel is active (subscribed to the backend). |
| Publish(data: Cluster Link Json Value, callback: String, callback Target: Object) | Callable | Object | Publish data to this channel. Callback function is in the form :; First Parameter : UClusterLinkJsonValue* (error); Second Parameter : UClusterLinkJsonValue* (ackData) |
| On(event: String, handler: String, handler Target: Object) | Callable | Object | Add a handler for a particular event on this channel. The handler is a function in the form:; First Parameter : UClusterLinkJsonValue* (data) |
| Watch(handler: String, handler Target: Object) | Callable | Object | Capture any data which is published to this channel. |
| UnWatch | Callable | Object | Unbind all handlers from this channel. |
| Destroy | Callable | Object | Destroy the current ClusterLinkChannel object; This makes it unusable and it will allow it to be garbage collected. |
Client 28
| Node | Type | Available on | Description |
|---|---|---|---|
| Clients() → Map String → Cluster Link Client Socket | Callable | Static | An list which holds all current SC clients/sockets. |
| Version() → String | Callable | Static | The SC client version number. |
| Num Clients() → Integer | Pure | Static | The number of currently active SocketCluster client sockets. |
| Is Valid Channel Name(Name: String) → Boolean | Pure | Static | True if Name is usable as a SocketCluster channel name (non-empty, no whitespace). |
| Destroy(code: Integer, data: Cluster Link Json Value) | Callable | Static Object | Completely destroys a socket. You just need to pass the socket object which you want to destroy. This is the same as calling socket.destroy(). |
| Create(Query: Cluster Link Json Object, Auth Engine: Cluster Link Auth Engine, Codec Engine: Cluster Link Codec Engine, Hostname: String, Secure: Boolean, …) → Cluster Link Client Socket | Callable | Static | |
| Get State() → Socket Cluster State | Callable | Object | Returns the state of the socket as a enum.; CLOSED; CONNECTING; OPEN |
| Deauthenticate(callback: String, callback Target: Object) | Callable | Object | Perform client-initiated deauthentication Deauthenticate (logout) the current socket. The callback will receive an error as the first argument if the operation fails. |
| Connect | Callable | Object | Reconnects the client socket to its origin server. Note : You don't need to call Connect manually unless you have unchecked AutoConnect at the creation of the socket |
| Disconnect(code: Integer, data: Cluster Link Json Value) | Callable | Object | Disconnect this socket from the server. |
| Get Auth Token() → Cluster Link Json Value | Callable | Object | Returns the auth token as a plain JavaScript object. |
| Get Signed Auth Token() → String | Callable | Object | Returns the signed auth token as a string in the JWT format. |
| Authenticate(token: String, callback: String, callback Target: Object) | Callable | Object | Perform client-initiated authentication; This is useful if you already have a valid encrypted auth token string and would like to use it to authenticate directl… |
| Send(data: String) | Callable | Object | Send some raw data to the server. This will trigger a 'raw' event on the server which will carry the provided data. |
| Emit(event: String, data: Cluster Link Json Value, callback: String, callback Target: Object) | Callable | Object | Emit the specified event on the corresponding server-side socket. Note that you cannot emit any of the reserved ClusterLinkSocket events. |
| On(event: String, handler: String, handler Target: Object) | Callable | Object | Client Side Event : Add a handler for a particular event (those emitted from the client). |
| Off(event: String) | Callable | Object | Unbind a previously attached event handler. |
| Publish(channel Name: String, data: Cluster Link Json Value, callback: String, callback Target: Object) | Callable | Object | Publish data to the specified channelName. The channelName argument must be a string. The data argument can be any JSON-compatible object/array or primitive. |
| Subscribe(channel Name: String, wait For Auth: Boolean, data: Cluster Link Json Value, batch: Boolean) → Cluster Link Channel | Callable | Object | |
| UnSubscribe(channel Name: String) | Callable | Object | Unsubscribe from the specified channel. This makes any associated ClusterLinkChannel object inactive. |
| Channel(channel Name: String, wait For Auth: Boolean, data: Cluster Link Json Value, batch: Boolean) → Cluster Link Channel | Callable | Object | Returns an ClusterLinkChannel instance. This is different from subscribe() in that it will not try to subscribe to that channel. |
| Destroy Channel(channel Name: String) | Callable | Object | This will cause ClusterLinkSocket to unsubscribe that channel and remove any watchers from it. |
| Subscriptions(include Pending: Boolean) → Array of String | Callable | Object | Returns an array of active channel subscriptions which this socket is bound to. If includePending is true, pending subscriptions will also be included in the list. |
| isSubscribed(channel Name: String, include Pending: Boolean) → Boolean | Callable | Object | Check if socket is subscribed to channelName. If includePending is true, pending subscriptions will also be included in the list. |
| ProcessPendingSubscriptions | Callable | Object | |
| Watch(channel Name: String, handler: String, handler Target: Object) | Callable | Object | Lets you watch a channel directly from the ClusterLinkSocket object. The handler accepts a single data argument which holds the data which was published to the channel. |
| UnWatch(channel Name: String) | Callable | Object | Stop handling data which is published on the specified channel. |
+ 1 more Client nodes — full node reference
ClusterLink › Utility 10
| Node | Type | Available on | Description |
|---|---|---|---|
| CRC32 Of Bytes(Bytes: Array of Byte) → Integer64 | Pure | Static | CRC32 checksum of a byte array. |
| MD5 Of String(Value: String) → String | Pure | Static | MD5 hex digest of a string (UTF-8). |
| SHA1 Of String(Value: String) → String | Pure | Static | SHA-1 hex digest of a string (UTF-8). |
| Make Guid String() → String | Pure | Static | New random GUID as a hyphenated string. |
| Now Unix Seconds() → Integer64 | Pure | Static | Current UTC time as Unix seconds. |
| Unix Seconds To ISO8601(Unix Seconds: Integer64) → String | Pure | Static | Convert Unix seconds to an ISO-8601 UTC timestamp string. |
| Format Byte Size(Bytes: Integer64) → String | Pure | Static | Human-readable size, e.g. 1536 -> "1.5 KB". |
| Random Token(Length: Integer) → String | Pure | Static | Random alphanumeric token (session ids, correlation ids, nonces). |
| XOR Bytes With Key(Bytes: Array of Byte, Key: Array of Byte) → Array of Byte | Pure | Static | XOR a byte array with a repeating key (simple obfuscation/checksums; NOT encryption). |
| Is Valid Hostname(Hostname: String) → Boolean | Pure | Static | RFC-952/1123-style hostname validation (also accepts IPv4 literals). |
Json 49
| Node | Type | Available on | Description |
|---|---|---|---|
| Construct Json Object() → Cluster Link Json Object | Callable | Static | Create new Json object, cannot be pure |
| Reset | Callable | Object | Reset all internal data |
| Encode Json() → String | Callable | Object | Serialize Json to string (formatted with line breaks) |
| Encode Json To Single String() → String | Callable | Object | Serialize Json to string (single string without line breaks) |
| Decode Json(Json String: String) → Boolean | Callable | Object | Construct Json object from string |
| Get Field Names() → Array of String | Pure | Object | Returns a list of field names that exist in the object |
| Has Field(Field Name: String) → Boolean | Callable | Object | Checks to see if the FieldName exists in the object |
| Remove Field(Field Name: String) | Callable | Object | Remove field named FieldName |
| Get Field(Field Name: String) → Cluster Link Json Value | Callable | Object | Get the field named FieldName as a JsonValue |
| Set Field(Field Name: String, Json Value: Cluster Link Json Value) | Callable | Object | Add a field named FieldName with a Value |
| Get Array Field(Field Name: String) → Array of Cluster Link Json Value | Callable | Object | Get the field named FieldName as a Json Array |
| Set Array Field(Field Name: String, In Array: Array of Cluster Link Json Value) | Callable | Object | Set an ObjectField named FieldName and value of Json Array |
| Merge Json Object(In Json Object: Cluster Link Json Object, Overwrite: Boolean) | Callable | Object | Adds all of the fields from one json object to this one |
| Get Number Field(Field Name: String) → Float | Callable | Object | Get the field named FieldName as a number. Ensures that the field is present and is of type Json number. Attn.!! |
| Set Number Field(Field Name: String, Number: Float) | Callable | Object | Add a field named FieldName with Number as value Attn.!! float used instead of double to make the function blueprintable! |
| Get Integer Field(Field Name: String) → Integer | Callable | Object | |
| Set Integer Field(Field Name: String, Number: Integer) | Callable | Object | |
| Get String Field(Field Name: String) → String | Callable | Object | Get the field named FieldName as a string. |
| Set String Field(Field Name: String, String Value: String) | Callable | Object | Add a field named FieldName with value of StringValue |
| Get Bool Field(Field Name: String) → Boolean | Callable | Object | Get the field named FieldName as a boolean. |
| Set Bool Field(Field Name: String, In Value: Boolean) | Callable | Object | Set a boolean field named FieldName and value of InValue |
| Get Object Field(Field Name: String) → Cluster Link Json Object | Callable | Object | Get the field named FieldName as a Json object. |
| Set Object Field(Field Name: String, Json Object: Cluster Link Json Object) | Callable | Object | Set an ObjectField named FieldName and value of JsonObject |
| Get Binary Field(Field Name: String) → Array of Byte | Callable | Object | Get the field named FieldName as a binary buffer array. |
| Set Binary Field(Field Name: String, Bytes: Array of Byte) | Callable | Object | Set an BinaryField named FieldName and binary buffer array |
| Get Number Array Field(Field Name: String) → Array of Float | Callable | Object | Get the field named FieldName as a Number Array. Use it only if you're sure that array is uniform! Attn.!! |
| Set Number Array Field(Field Name: String, Number Array: Array of Float) | Callable | Object | Set an ObjectField named FieldName and value of Number Array Attn.!! float used instead of double to make the function blueprintable! |
| Get String Array Field(Field Name: String) → Array of String | Callable | Object | Get the field named FieldName as a String Array. Use it only if you're sure that array is uniform! |
| Set String Array Field(Field Name: String, String Array: Array of String) | Callable | Object | Set an ObjectField named FieldName and value of String Array |
| Get Bool Array Field(Field Name: String) → Array of Boolean | Callable | Object | Get the field named FieldName as a Bool Array. Use it only if you're sure that array is uniform! |
| Set Bool Array Field(Field Name: String, Bool Array: Array of Boolean) | Callable | Object | Set an ObjectField named FieldName and value of Bool Array |
| Get Object Array Field(Field Name: String) → Array of Cluster Link Json Object | Callable | Object | Get the field named FieldName as an Object Array. Use it only if you're sure that array is uniform! |
| Set Object Array Field(Field Name: String, Object Array: Array of Cluster Link Json Object) | Callable | Object | Set an ObjectField named FieldName and value of Ob Array |
| Construct Json Number Value(Number: Float) → Cluster Link Json Value | Pure | Static | Create new Json Number value Attn.!! float used instead of double to make the function blueprintable! |
| Construct Json String Value(String Value: String) → Cluster Link Json Value | Pure | Static | Create new Json String value |
| Construct Json Bool Value(In Value: Boolean) → Cluster Link Json Value | Pure | Static | Create new Json Bool value |
| Construct Json Array Value(In Array: Array of Cluster Link Json Value) → Cluster Link Json Value | Pure | Static | Create new Json Array value |
| Construct Json Object Value(Json Object: Cluster Link Json Object) → Cluster Link Json Value | Pure | Static | Create new Json Object value |
| Construct Json Binary Value(Byte Array: Array of Byte) → Cluster Link Json Value | Pure | Static | Create new Json Binary value |
| Value From Json String(String Value: String) → Cluster Link Json Value | Pure | Static | Create new Json value from JSON encoded string |
| Get Type() → Cluster Link Json::Type | Callable | Object | Get type of Json value (Enum) |
| Get Type String() → String | Callable | Object | Get type of Json value (String) |
| Is Null() → Boolean | Callable | Object | Returns true if this value is a 'null' |
| As Number() → Float | Callable | Object | Returns this value as a double, throwing an error if this is not an Json Number Attn.!! float used instead of double to make the function blueprintable! |
| As String() → String | Callable | Object | Returns this value as a number, throwing an error if this is not an Json String |
| As Bool() → Boolean | Callable | Object | Returns this value as a boolean, throwing an error if this is not an Json Bool |
+ 3 more Json nodes — full node reference
Options & enums
| Enum | Values |
|---|---|
| Socket Cluster Channel State | SUBSCRIBED PENDING UNSUBSCRIBED |
| Socket Cluster State | CLOSED CONNECTING OPEN |
| Socket Cluster Auth State | AUTHENTICATED UNAUTHENTICATED |
Compatibility
One ready-made build per engine version is included in the download — copy the one that matches your project.
| Platform | Supported in |
|---|---|
| Windows | Editor & packaged |
| Module | Type | Loading phase |
|---|---|---|
| ClusterLinkClient | Runtime | Default |
| ClusterLinkSocket | Runtime | Default |
| ClusterLinkErrors | Runtime | Default |
| ClusterLinkCodecEngine | Runtime | Default |
| ClusterLinkAuthEngine | Runtime | Default |
| ClusterLinkJson | Runtime | Default |
Technical details
| Engine versions | Unreal Engine 4.27 · 5.7 · 5.8 — a build for each is included |
|---|---|
| Code modules | 6 — ClusterLinkClient (Runtime), ClusterLinkSocket (Runtime), ClusterLinkErrors (Runtime), ClusterLinkCodecEngine (Runtime), ClusterLinkAuthEngine (Runtime), ClusterLinkJson (Runtime) |
| C++ classes | 15 |
| Blueprints | 0 (pure C++ — no content assets) |
| Network replicated | No |
| Target platforms | Windows |
| Blueprint nodes | 96 |
| Documentation | Documentation.html (in the download) |
| Download | ClusterLink.zip · 961 KB |
| Version | v1.0.0 |
Code Modules
- ClusterLinkClient (Runtime)
- ClusterLinkSocket (Runtime)
- ClusterLinkErrors (Runtime)
- ClusterLinkCodecEngine (Runtime)
- ClusterLinkAuthEngine (Runtime)
- ClusterLinkJson (Runtime)
| Number of Blueprints | 0 |
|---|---|
| Number of C++ Classes | 16 |
| Network Replicated | No |
Supported Development Platforms
- Windows: Yes
- Mac: No
| Supported Target Build Platforms | Win64 |
|---|---|
| Third Party Software | Yes |
This plugin includes MIT-licensed third-party source code, all of it in Source/ThirdParty/ with its licence at Source/ThirdParty/LICENSE. It ships as source, is compiled statically into the plugin, and sends no data back to its authors; no third-party binaries are redistributed. Full license texts accompany the Third Party Software declaration submitted to Epic.
- Copyright (c) 2018-present ZiiCreater LLC - MIT License
- Copyright (c) 2016-present Jan Kaniewski (Getnamo) & Contributors - MIT License
- Copyright (c) 2014-present Vladimir Alyamkin - MIT License
libWebSockets, OpenSSL and zlib are consumed from Unreal Engine's own bundled copies; nothing additional ships with this plugin.
Important/Additional Notes — Built for Unreal Engine 4.27, 5.7 and 5.8. Developed and maintained by Alpha XP.
What's in the download
| File | What it is |
|---|---|
| ClusterLink 4.27.zip | Plugin build for Unreal Engine 4.27 |
| ClusterLink 5.7.zip | Plugin build for Unreal Engine 5.7 |
| ClusterLink 5.8.zip | Plugin build for Unreal Engine 5.8 |
| ClusterLink_Diagram_1920x1080.png | Diagram / artwork |
| Documentation.html | Documentation (open in a browser) |
Quick start
- Unzip the download and pick the build that matches your engine (4.27 · 5.7 · 5.8).
- Copy the ClusterLink folder into your project's Plugins/ folder (create it if needed).
- Open the project, enable ClusterLink under Edit › Plugins and restart the editor.
- Right-click in any Blueprint graph and search Channel — or include the public headers from C++.
- Package for your target platform (Windows).
Everything included
- SocketCluster protocol client
- Publish/subscribe channels with events
- Pluggable auth and codec engines
- Complete JSON object/value API
- Modular six-module architecture
- Utility node pack: CRC32/MD5/SHA-1 hashing, GUIDs, timestamps, random tokens and…
Platforms
Requirements
- Unreal Engine 4.27 and 5.7, 5.8
- Develop on Windows
- Blueprints and C++
In the download
Personal
One non-commercial project
- 1 activation seat
- 1 year of updates
- One end product
- Non-commercial use
- Community support
- 14-day refund window
Commercial
Ship paid products
- 5 activation seats
- 1 year of updates
- One paid end product
- Unlimited end users
- Priority support
- Source files
- 14-day refund window
Extended
Resell & white-label
- Unlimited activation seats
- Lifetime updates
- Unlimited end products
- White-label & resell
- 1-hour SLA
- Seat-free team use
- 14-day refund window
One purchase per product, no subscription. Each licence comes with a signed key — 1 seat on Personal, 5 seats on Commercial, unlimited seats on Extended. Paid licences can be refunded within 14 days from your order page.
- v1.0.0Latest
- Unreal Engine 4.27 and 5.7, 5.8
- Blueprint and C++ API, HTML documentation
Be the first to review ClusterLink — reviews come from customers who bought it, so every one is a verified purchase.
Frequently asked
How do I get the files after paying?
Straight after checkout you land on your order page with the download button and your licence key. A receipt is emailed to you, and every order stays in My library.
Which licence do I need?
Personal — One non-commercial project. Commercial — Ship paid products. Extended — Resell & white-label. The Licences tab compares them side by side.
On how many devices can I activate it?
1 seat on Personal, 5 seats on Commercial, unlimited seats on Extended.
How long do I get updates?
Personal: 1 year of updates, Commercial: 1 year of updates, Extended: lifetime updates, counted from your purchase.
Can I get a refund?
Yes — paid licences can be refunded within 14 days, straight from your order page.
Is the download safe?
The file was scanned with ClamAV when it was published. Its SHA-256 checksum is listed under Features → In the download, so you can verify the file you receive.
Do I need an account?
No. Checkout only needs your email. Signing in keeps all your purchases, keys and downloads together in My library.
More like this
AudioLens
Real-time audio analysis: FFT spectrum, onset and beat detection, and a full set of time- and frequency-domain descriptors..
★★★★★ No reviews yetTTechHarbour$14.00BlueprintTCP
BlueprintTCP lets you connect to any TCP server and exchange data entirely from Blueprints — no C++ and no networking boilerplate.
★★★★★ No reviews yetTTechHarbour$12.99BluetoothLink
Bluetooth Low Energy for Unreal - scan, connect, read, write and subscribe to BLE devices on Android and iOS.
★★★★★ No reviews yetTTechHarbour$11.99ColyseusMP
Colyseus multiplayer SDK for Unreal - join rooms, sync state and exchange schema messages with your Colyseus server.
★★★★★ No reviews yetTTechHarbour$11.99