feat: log command operations to server console (26.9.4)
This commit is contained in:
1 parent
b464b5ba5e
commit
080b1054b7
7 files changed
+12
-2
No files matched your search
@@ -92,6 +92,8 @@ def do_calc(server: PluginServerInterface, src: CommandSource, context: dict) ->
|
||||
return
|
||||
|
||||
out = _format_result(result)
|
||||
who = src.get_info().player if src.is_player else "console"
|
||||
server.logger.info(f"[Iridium] !!c: {who} {expression} = {out}")
|
||||
# Private reply to avoid flooding public chat
|
||||
src.reply(
|
||||
RTextList(
|
||||
|
||||
Reference in new issue
Block a user