Skip to content

Networking

dev-muffin477 edited this page Nov 7, 2026 · 1 revision

Networking

Networking API for client mods.

UniversalProtect offers the networking API for client mods such as Watson or ShadowTrace. Enable it with networking.enabled: true.

Channels

Channel Direction Content
coreprotect:handshake Client → Server Mod version, mod id, protocol
coreprotect:data Server → Client Result packets (types 1 to 4)

Requirements

  • The player needs universalprotect.networking (or coreprotect.networking).
  • The client mod must complete the handshake. Afterwards every lookup sends up to 200 results as packets.

Packet types

Type Content
1 Block and container changes
2 Item changes
3 Chat, commands and signs
4 Sessions and username changes

Note: The selector values FIRST and SECOND in type 1 and 2 packets are implemented on a best-effort basis. If a mod classifies entries incorrectly, please report it.


Related pages: API · Permissions

Clone this wiki locally