summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/Hooks/OnChat.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-10 21:46:25 +0200
committerMattes D <github@xoft.cz>2015-05-10 21:46:25 +0200
commit6c53abed23011423e95a30d2ad50bbe95aca365e (patch)
treef454fbd06ecd6c06e772a9a0e3b7f786cf40e8de /MCServer/Plugins/APIDump/Hooks/OnChat.lua
parentStringUtils: Fixed StringSplitWithQuotes(). (diff)
downloadcuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.gz
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.bz2
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.lz
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.xz
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.zst
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnChat.lua')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnChat.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnChat.lua b/MCServer/Plugins/APIDump/Hooks/OnChat.lua
index d98df008a..a15d09cc7 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnChat.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnChat.lua
@@ -7,7 +7,8 @@ return
Desc = [[
A plugin may implement an OnChat() function and register it as a Hook to process chat messages from
the players. The function is then called for every in-game message sent from any player. Note that
- commands are handled separately using a command framework API.
+ registered in-game commands are not sent through this hook. Use the
+ {{OnExecuteCommand|HOOK_EXECUTE_COMMAND}} to intercept registered in-game commands.
]],
Params = {
{ Name = "Player", Type = "{{cPlayer}}", Notes = "The player who sent the message" },