Skip to main content

Settings

Connection of the plugins in plugins.ini

As example we will use a mythical plugin metaPlugin. Installation of other plugins is similar.

  • Create the plugins.ini file in the addons\metamodfolder (in case of absence of this file)
  • Create a folder for the new plugin in the addons folder.For example, meta Plugin folder.
    • Put your plugin metaPlugin.dll (or meta Plugin.so) to the created folder addons\metamod\metaplugins.
  • Open the plugins.ini file from the metamod folder with any text editor.
    • To connect the plugin metaPlugin.dll(or meta Plugin.so) write the following lines to the plugins file.ini:

For Windows versions of your server:

win32 addons\metaPlugin\metaPlugin.dll

For Linux versions of your server:

linux addons/metaPlugin/metaPlugin.so
  • Save your file plugins.ini and launch the server.
  • The installation is completed.

You can check plugin performance via meta list command in the server console .

in case of negative result, apply to Troubbleshouting.

List of console commands

Write command with meta word. For example, meta version.

     version                - information of metamod version
list - list of uploaded plugins
game - information about gamedll (list of registered msg, id and size)
cmds - list of console commands, added from third-party plugins
cvars - cvar list, added from third-party plugins
refresh - reloading of metamod-r
config - configuration from config.ini
load <name> - find and upload plugin on specified path
unload <plugin> - upload the plugin
reload <plugin> - reload the plugin
info <plugin> - information about the plugin
pause <plugin> - pause the plugin
unpause <plugin> - resume the operation of all installed plugins
retry <plugin> - retry download of a failed plugins
clear <plugin> - upload failed plugins from the memory
force_unload <plugin> - forced unloading of plugin
require <plugin> - turn off the server if the specified plugin doesn't work

debuglevel

vardebuglevel
typeint
containsfrom 0 to 42
default0
overridden+localinfo mm_debug <число>
exampledebuglevel 0
descriptionSets the initial debugging level for metamod (same as cvar "meta_debug"). Where <number> is an integer, 0 and up. Default is normally 0. If hlds is run with "-dev", default is 3.

gamedll

vargamedll
typestring
contains<path>
defaultnull
overridden+localinfo mm_gamedll <путь>
examplegamedll dlls/hl.dll, gamedll ../podbot/podbot.dll, gamedll /home/bots/dlls/mybot.dll
descriptionOverrides the auto-detected gamedll, in particular for bots. Where <path> is an absolute path, or a path relative to the gamedir. Default is empty, with gamedll being auto-recognized based on the gamedir.

exec_cfg

varexec_cfg
Типstring
type<file>
defaultaddons/metamod/exec.cfg
overridden+localinfo mm_execcfg <файл>
exampleexec_cfg configs/debugging.cfg, exec_cfg ../clan/match.cfg
descriptionOverrides the default filename containing hlds commands to run just after loading Metamod. Where <file> is a path relative to the gamedir. Note! This CANNOT be an absolute path, as hlds will not "exec" absolute pathnames.

clientmeta

varclientmeta
typebool
contains<yes/no>
defaultyes
overridden+localinfo mm_clientmeta <yes/no>
exampleclientmeta yes, clientmeta no
descriptionSetting to disable or enable Metamod's client commands ('meta list' and 'meta version'). Extra setting for "Metamod+All-Mod-Support Patch".

dynalign_list

varclientmeta
typebool
contains<yes/no>
defaultno
overridden
exampledynalign_list yes, dynalign_list no
descriptionSetting to disable or enable plugins list dynamic alignment into output. NOTE: This option affect's on incorrect parse from HLSW on Tab Metamod Plugins.