gmcp-outgoing

Route GMCP data from MUD servers to clients as JSON payloads.

8|3|Updated Sep 29, 2021
One-click install
npx skills add https://github.com/gesslar/oxidus-mudlib --skill gmcp-outgoing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmcp-outgoing
Source: https://github.com/gesslar/oxidus-mudlib/tree/main/.claude/skills/gmcp-outgoing
Command: npx skills add https://github.com/gesslar/oxidus-mudlib --skill gmcp-outgoing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GMCP outgoing data requires a robust routing and packaging system to reliably deliver real-time, structured information from the MUD to connected clients. It centralizes the dispatch logic, module handling, and data encoding to support new packages without touching core game code.

Core Features & Use Cases

  • GMCP_D->send_gmcp routing: loads package modules and routes data to the relevant GMCP package
  • Init and broadcast: initializes GMCP on login and supports broadcast_gmcp to rooms or groups
  • Extensible architecture: add new outgoing packages by creating a module and defines, with JSON payloads

Quick Start

Initialize the GMCP outgoing flow by triggering a sample package from the game code and verify it reaches the client.

Frequently Asked Questions about gmcp-outgoing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send GMCP data from a MUD server to connected clients?

To send GMCP data from a MUD server, you route structured payloads through a central dispatch system that manages package modules, stringifies the data to JSON, and transmits it to clients.

What GMCP packages are supported for outgoing MUD communication?

Outgoing GMCP communication supports Char, Core, Comm, Client, and Room packages, managing their specific data formats and routing the JSON payloads reliably to connected clients.

How do I add a new outgoing GMCP package without modifying core game code?

You can add a new outgoing GMCP package by creating a dedicated module and defines file, allowing the routing system to load the package dynamically and stringify its payload to JSON without touching core game code.

Can I broadcast GMCP messages to specific rooms or player groups in a MUD?

Yes, you can broadcast GMCP messages to specific rooms or player groups by using the broadcast routing function to deliver real-time, structured JSON data to targeted connected clients.

Does the server need to check if GMCP is enabled before routing outgoing data?

Yes, the system satisfies runtime checks for gmcp_enabled to verify the connection supports the protocol, ensuring it only stringifies payloads to JSON and transmits data when the client is ready.

What is the best way to structure GMCP payload data for client transmission?

The best way to structure GMCP payload data is to format it within dedicated package modules, allowing the routing system to automatically stringify the payload to JSON before transmission to the client.