Features

GMCP

GMCP (Generic MUD Communication Protocol) in Medievia!

This is a behind the scenes protocol that allows modern MUD clients to receive certain information automatically from the game without the need for writing triggers.

What this means:
Players who have GMCP enabled in Mudlet (Settings->General->Game protocols box, "Enable GMCP") will start receiving character vitals and room information. To see what information we're providing, you can type 'lua gmcp' which will present to you an array of data that you may immediately use in scripts.

For example, the gmcp.Char.Vitals array contains basic character vitals such as current and max hp, mana, movement, and breath.

You can type 'lua gmcp.Char.Vitals' to display just that table.

Char.Vitals variables:
  • gmcp.Char.Vitals.hp
  • gmcp.Char.Vitals.maxHp
  • gmcp.Char.Vitals.mana
  • gmcp.Char.Vitals.maxMana
  • gmcp.Char.Vitals.mv
  • gmcp.Char.Vitals.maxMv
  • gmcp.Char.Vitals.br
You will be provided a full set of these vitals upon login, and partial sets of only the changed values when you receive a prompt. Each minute you will also receive another full set (unless none have changed).

The gmcp.Room.Info array contains your current room name as well as exits that are visible to you. As with the Char.Vitals array you can type 'lua gmcp.Room.Info' to see only the room information.

Room.Info variables:
  • gmcp.Room.Info.name
  • gmcp.Room.Info.exits -- This is an array containing visible exit directions and room names.
The Discord Rich Presence module has also been enabled, allowing you to opt-in to have Discord say "Playing Medievia" instead of simply "Playing Mudlet". This needs to be enabled in both Mudlet (on the Connect dialog for your profile, Options tab, click Discord) and additional options are in Mudlet Settings in the Chat tab. You will also need to enable this option in Discord, click "User Settings" cogwheel at the bottom left of your window, scroll down to Activity Privacy, and enable or disable the option for "Share your detected activities with others" as you prefer.

Please refer to the in-game HELP GMCP for additional information.

Copyright © 1992- Medievia.com, Inc.
All Rights Reserved.
For more information contact: Webmistress: Soleil