From aa2ba07c4ff1b3a2e3e862a2bde79f7f132bcca3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 16 Feb 2022 21:42:34 +0000 Subject: [PATCH] Merge docs for 'Carpet Mod 1.4.62 for Minecraft 22w07a' --- docs/scarpet/Full.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index f9208788..fafa58e9 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -4966,6 +4966,9 @@ Triggered when the player has successfully logged in and was placed in the game. ### `__on_player_disconnects(player, reason)` Triggered when a player sends a disconnect package or is forcefully disconnected from the server. +### `__on_player_message(player, message)` +Triggered when a player sends a chat message or runs a command. + ### `__on_statistic(player, category, event, value)` Triggered when a player statistic changes. Doesn't notify on periodic an rhythmic events, i.e. `time_since_death`, `time_since_rest`, and `played_one_minute` since these are triggered every tick. Event @@ -5953,7 +5956,8 @@ it could either mean your input is wrong, or statistic effectively has a value o ### `system_info()`, `system_info(property)` -Fetches the value of a system property or returns all inforation as a map when called without any arguments. It can be used to +Fetches the value of one of the following system properties. If called without arguments, it returns a list of +available system_info options. It can be used to fetch various information, mostly not changing, or only available via low level system calls. In all circumstances, these are only provided as read-only.