1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-30 20:53:45 +01:00

Add /lua chatcommand to devtest (#16656)

singleplayer-only for security reasons, just in case someone is exposing a devtest server...
This commit is contained in:
Lars Müller
2025-11-27 11:27:01 +01:00
committed by GitHub
parent cd79a91178
commit d30113a70a
2 changed files with 62 additions and 1 deletions

View File

@@ -6044,7 +6044,8 @@ Logging
-------
* `core.debug(...)`
* Equivalent to `core.log(table.concat({...}, "\t"))`
* Calls `core.log` with all arguments converted to string and separated by tabs
(similar to `print`).
* `core.log([level,] text)`
* `level` is one of `"none"`, `"error"`, `"warning"`, `"action"`,
`"info"`, or `"verbose"`. Default is `"none"`.