Help Index :: Misc :: GMCP

MUD Client Integration / GMCP Support

Some clients support the ability for a game to send information to the client
that doesn't show up on the screen. This can be used by your client to set
variables that can be used in triggers, scripts, etc. TFE supports the GMCP
standard. This help file outlines the data available to your client via GMCP.

Base Objects:
Char - information about your character
Group - Information about your group
Room - information about the room your character is in
External - information about Discord

Char Object:
Status.flags - burdened, parry, etc.
Status.conditions - hungry, thirsty, etc.
Vitals - hp, maxhp, en, maxen, mv, maxmv
Score - level, xp, xp_needed, xp_level
Fighting - array containing who you are fighting + their condition

Room Object:
Info - name, vnum, weather, wind, area, area_id
Info.flags - safe, pkill, bank, etc.
Info.exits - direction name is key, target room vnum is value
Info.exit_info. - name, vnum, terrain, area, area_id (of target room)

Group Object:
Group - leader, looter, minmv
Group.members - player/pet name is key, will contain hp, en, mv, etc.

External Object:
Discord.Info - inviteurl, applicationid (used by Mudlet)
Discord.Status - details, state (information about your character)

Examples:
Char.Vitals.hp will contain your current hitpoints
Room.Info.area will contain the name of the area you are in
Room.Info.exits.north will contain the vnum of the room to the north
Room.Info.exit_info.north will contain name, vnum, terrain, etc. of the room to the north