diff options
author | Mattes D <github@xoft.cz> | 2015-05-11 10:39:45 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-11 10:39:45 +0200 |
commit | 7d66162e3c339e82d56e5144d466cab97eca82ab (patch) | |
tree | 5f3f1a00f704c7def6fc18b98c296e964f218815 /MCServer/Plugins/APIDump/Hooks/OnChat.lua | |
parent | Merge pull request #1977 from mc-server/warnings (diff) | |
parent | APIDump: Added linkification to hook return values. (diff) | |
download | cuberite-7d66162e3c339e82d56e5144d466cab97eca82ab.tar cuberite-7d66162e3c339e82d56e5144d466cab97eca82ab.tar.gz cuberite-7d66162e3c339e82d56e5144d466cab97eca82ab.tar.bz2 cuberite-7d66162e3c339e82d56e5144d466cab97eca82ab.tar.lz cuberite-7d66162e3c339e82d56e5144d466cab97eca82ab.tar.xz cuberite-7d66162e3c339e82d56e5144d466cab97eca82ab.tar.zst cuberite-7d66162e3c339e82d56e5144d466cab97eca82ab.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnChat.lua')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnChat.lua | 3 |
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" }, |