MUME Help
GMCP CHAR
These are messages in the GMCP
Char module.
Sent by client
Char.Login
- Used to log in a character or account; only interpreted when the login prompt is active.
-
Message body is an object with keys
nameandpassword. -
Example:
Char.Login { "name": "gandalf", "password": "mellon" } -
To log in a character with the same name as an
account, prefix the
character name with an exclamation
mark (
!)
Sent by server
Char.Name
- Contains the characters's name and the complete name including title.
- This message is only sent on login.
-
Message body in an object with keys
nameandfullname; the values are strings -
Example:
Char.Name { "name": "Gandalf", "fullname": "Gandalf the Grey"}
Char.Vitals
- Message body is an object containing several variables representing basic character attributes such as health, mana, etc.
-
Example:
Char.Vitals { "hp": 71, "maxhp": 100, "mana": 90, "maxmana": 100, "mp": 121, "maxmp": 121 } -
Possible values:
hpcurrent health points (*) hp-stringhealth points description (*) maxhpmaximum health points manacurrent mana points (*) mana-stringmana points description (*) maxmanamaximum mana points mpcurrent movement points (*) mp-stringmovement points description (*) maxmpmaximum movement points xpcurrent experience points tpcurrent travel points carryingstring describing how heavy load you are carrying riddentrue if currently ridden by someone; otherwise false ridetrue if currently riding; otherwise false climbnull, "c", or"C"sneaknull, "s", or"S"hiddentrue if in a hiding place; otherwise false swimtrue if currently trying to swim; otherwise false light"*","!",")", or"o"fognull, "-"or"="weather" ","~","'","\"","*"; or nullalertness"normal","careful", etc.mood"wimpy","prudent", etc.spell-effort"quick","fast", etc.position"standing","fighting","sitting","resting","sleeping","stunned","incapacitated", or"dying"mount-moves"rested","slow", etc.opponentthe short name of your current fight opponent; or null bufferthe short name of your current fight opponent's opponent; or null opponent-hits"healthy","fine", etc.buffer-hits"healthy","fine", etc.(*) See
help promptandhelp weatherfor explanations on some of the values.
Char.StatusVars
- Sent by server after a successful login, after the module is enabled, or when any contained value changes.
- Message body is an object where each member is a name-caption pair; name is the internal name and caption the user-readable one
-
Example:
Char.StatusVars { "race": "Troll", "subrace": "Cave Troll" } -
Possible values:
fullnamecurrent character name and title levelcharacter's level namecurrent character name next-level-tptravel points needed to reach the next level; or null next-level-xpexperience points needed to reach the next level; or null raceplayer's race subclasscurrent subclass subracesubrace
Generated on Tue Oct 14 20:48:23 2025