mirror of
https://github.com/etlegacy/lua_apidoc.git
synced 2024-11-10 06:31:58 +00:00
25 lines
526 B
ReStructuredText
25 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.
|