Skip to content

/loadcfg

Syntax

/loadcfg <filename>

Description

Loads the specified .cfg file. To use .cfg files, see this guide.

Notes

  • Plugins can use LoadCfgFile(filename)
  • Automatic config loading occurs for:

    • autoexec.cfg - Executed on first initialization

    • charselect.cfg - Runs at character selection screen

    • server_character.cfg (e.g. bertox_lordsoth.cfg) - Character-specific config

    • mapshortname.cfg (e.g. oot.cfg) - Zone-specific config

    • pluginname-autoexec.cfg (e.g. MQ2Map-AutoExec.cfg) - Plugin initialization config

Examples

  • bertox_mycharacter.cfg

Config file that will load for Mycharacter on the Bertox server when she first enters world.

  • oot.cfg, soldungb.cfg, soldunga.cfg, take.cfg

Config file that will load when entering a specific zone