MUME Help
GMCP CORE
These are the messages in the GMCP
Core
module.
Sent by the client
Core.Hello
- Needs to be the first message sent on the initial connection to identify the client
-
Example:
Core.Hello { "client": "Mudlet", "version": "3.0.0" }
Core.Supports.Set
- Sent with the supported packages of the client and overriding previous packages
- Message body is an array of strings, each consisting of the module name and version, separated by a space
- Module version is a positive non-zero integer
-
Example:
Core.Supports.Set [ "Char 1", "External.Discord 1", "Room 1" ]
Core.Supports.Add
- Sent to add modules that are supported by the client
- Message body and behavior is identical to Set if no packages have been sent yet
- Previous packages versions are overridden if they are resubmitted
-
Example:
Core.Supports.Add [ "Char 1" ]
Core.Supports.Remove
- Sent to remove modules that are not desired by the client
-
Message body format is identical to
Set
andAdd
- Module version can be omitted
-
Example:
Core.Supports.Remove [ "Char", "External.Discord" ]
Core.KeepAlive
Core.Ping
-
Causes the server to send a
Core.Ping
back - Message body is an optional number which indicates average ping time from previous requests
-
Example:
Core.Ping 120
Sent by server
Core.Ping
Core.Goodbye
- Sent before closing the connection
- Message body can optionally explain why the connection was terminated
-
Example:
Core.Goodbye "Goodbye!"
Generated on Thu Sep 5 18:09:40 2024