SocketPlugin
by Vaediam
SocketPlugin, a Fabric add-on for Figura, lets avatar scripts open raw TCP and WebSocket connections to other hosts.
What it does
Figura scripts normally cannot reach the network directly. SocketPlugin adds a socket API to avatar code, with functions that open a TCP socket or a WebSocket to a given host and port, and print or log any errors instead of throwing a virtual machine error into the avatar. Sockets can be closed for the current avatar, either one at a time or all at once, so an avatar leaves no connections open when it is removed.
The mod is a Figura addon, so it requires Figura to run. It is installed on the client only, and it is published for Fabric alone, with files covering 1.20.1 – 1.21.4 across seven release versions. The latest Fabric file, 1.2.5+1.21.4, targets 1.21.4 and is on the beta channel. The code is not open source, and the mod is released under All rights reserved.
Key features
Open TCP sockets
SocketAPI:newSocket takes a host and a port and opens a TCP connection from the avatar.
Open WebSockets
SocketAPI:newWebsocket takes a host and a port and opens a WebSocket connection from the avatar.
Socket status checks
Functions report whether a socket has received data, how much data was sent, and whether it is still open or has closed.
Clean closing
Sockets and WebSockets can be closed for the current avatar, and a LuaSocket is closed cleanly instead of dropping the connection abruptly.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
Figura GoofyPlugin is open source under the MIT License, is client-side only, and covers the same 1.20.1 – 1.21.4 range for Fabric. PythonConnectMod is also client-side only and under the MIT License, but its files are for 1.21.4 alone and it is not open source. HttpInfoServer is client-side only and open source under the Apache License 2.0, with files for 1.20.4 – 1.20.6.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| SocketPlugin | Fabric | 1.20.1 – 1.21.4 | Client-side only | 2026-07-01 |
| Figura GoofyPlugin | Fabric | 1.20.1 – 1.21.4 | Client-side only | 2025-02-17 |
| PythonConnectMod | Fabric | 1.21.4 | Client-side only | 2025-01-23 |
| HttpInfoServer | Fabric | 1.20.4 – 1.20.6 | Client-side only | 2024-05-28 |
Questions
Does SocketPlugin need Figura?
Which game versions does SocketPlugin support?
Does SocketPlugin need to be installed on the server?
In the catalog
SocketPlugin is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 17,979 mods support Minecraft 1.21.4.
Similar mods
What the author says
(archived for security concerns i should have listened to a long time ago) A figura addon that allows you to open and use TCP sockets.
Official listing
- Modrinth page
- modrinth.com/mod/figurasocketplugin
- Owner
- Vaediam
- Published
- 2026-04-11
- Updated on Modrinth
- 2026-07-01
- Facts verified
- 2026-10-15
