forked from Mirrorlandia_minetest/minetest
Add note that chat messages can be marked as handled.
This commit is contained in:
parent
8b472fdc05
commit
4eacce5e2f
@ -1833,6 +1833,7 @@ Call these functions only at load time!
|
|||||||
* `dug_too_fast`
|
* `dug_too_fast`
|
||||||
* `minetest.register_on_chat_message(func(name, message))`
|
* `minetest.register_on_chat_message(func(name, message))`
|
||||||
* Called always when a player says something
|
* Called always when a player says something
|
||||||
|
* Return `true` to mark the message as handled, which means that it will not be sent to other players
|
||||||
* `minetest.register_on_player_receive_fields(func(player, formname, fields))`
|
* `minetest.register_on_player_receive_fields(func(player, formname, fields))`
|
||||||
* Called when a button is pressed in player's inventory form
|
* Called when a button is pressed in player's inventory form
|
||||||
* Newest functions are called first
|
* Newest functions are called first
|
||||||
|
Loading…
Reference in New Issue
Block a user