Agents can also search and read this documentation through its MCP server.
Installation
Installation
General Setup
- Extract the resource into your server's
resourcesfolder. - Make sure the folder name is strictly
hkn_medo. - Open your
server.cfg. - Make sure the default FiveM resources are started before this script.
- Add the following line:
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents
ensure hkn_medo
Warning: This script registers the
/meand/docommands. If another resource on your server already uses these commands, remove them from that resource to avoid conflicts.
Usage
Commands
| Command | Description |
|---|---|
/me [text] |
Shows an action performed by your character. |
/do [text] |
Describes the environment or the result of an action. |
/medomenu |
Opens the settings menu to drag the log and change its settings. |
Configuration
Below are all available configuration options for hkn_medo.
Update Check
Enable or disable the version check on resource start.
Config.UpdateCheck = true
Theme Color
Customize the interface theme color.
Config.ThemeColor = "#ff0066"
Distance and Durations
Control how far messages can be read and how long they stay visible.
Config.DrawDistance = 20.0
Config.LogDuration = 7000
Config.TextDuration = 5000
Options
| Setting | Description |
|---|---|
DrawDistance |
Maximum distance at which messages can be seen. |
LogDuration |
Time a message stays in the on-screen log (milliseconds). |
TextDuration |
Time the bubble stays above the player (milliseconds). |
Menu Command
Change the command used to open the settings menu.
Config.LogMenuCommand = "medomenu"
Chat Animation
Play a typing animation when the chat is opened.
Config.ChatAnim = true
Config.ChatKey = 245
Config.AnimDict = "anim@heists@heist_corona@single_team"
Config.AnimName = "single_team_intro_boss"
Options
| Setting | Description |
|---|---|
ChatAnim |
Enable or disable the typing animation. |
ChatKey |
Control ID of the key that opens the chat. |
AnimDict |
Animation dictionary. |
AnimName |
Animation name. |
Colors
Default colors of the /me and /do messages.
Config.Colors = {
me = { r = 255, g = 0, b = 102, hex = "#ff0066" },
do_color = { r = 255, g = 215, b = 0, hex = "#ffd700" }
}
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending
.mdto page URLs; this page is available as Markdown.