mirror of
https://github.com/etlegacy/lua_apidoc.git
synced 2024-11-25 05:11:36 +00:00
24 lines
526 B
ReStructuredText
24 lines
526 B
ReStructuredText
=====
|
|
Cvars
|
|
=====
|
|
|
|
Here is a list of all the Lua cvars of Legacy mod.
|
|
|
|
|
|
.. note:: Changing either cvar will cause all currently loaded modules to quit and be unloaded until the next `map_restart`.
|
|
|
|
|
|
lua_modules
|
|
-----------
|
|
|
|
**Default:** "" (disabled)
|
|
|
|
Space separated list of lua modules for Legacy mod to load. Modules will be run in the order listed.
|
|
|
|
|
|
lua_allowedmodules
|
|
------------------
|
|
|
|
**Default:** "" (disabled)
|
|
|
|
If set, only lua modules with the matching SHA1 signatures listed in this cvar will be allowed to load.
|