szutilpack-cd2025/szutil_consocket
Aaron Suen 87bc5b180f Attempt to disable mod security
This doesn't actually work yet.  Apparently MT does not
provide the same package.cpath that Lua5.1 natively
does on debian, so when mod security is enabled, we
have no way to find the correct package.cpath value
aside from hard-coding in every possible quirk of
every OS/distro...
2020-06-23 20:32:59 -04:00
..
2020-06-23 20:32:59 -04:00

------------------------------------------------------------------------

This mod exposes a console for running administrative commands on a
UNIX-domain socket.  Multiple clients can connect and issue commands
independently.  You can use OpenBSD's netcat (nc -U) to connect to
the console from a regular command line.

Commands issued will be run as the CONSOLE "virtual player," who is
granted ALL permissions.  Ordinary clients cannot connect as the
CONSOLE player name.

Only immediate responses to command input are output to the socket.
Delayed responses, other gameplay action, and chat are not sent to
the client, and can only be seen in server logs or in-game.

 *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *

WARNING: For this mod to work, LuaSockets must be installed, and this
mod must be listed in the "secure.trusted_mods" setting.

------------------------------------------------------------------------