summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-10 21:29:06 +0200
committerMattes D <github@xoft.cz>2015-05-10 21:37:46 +0200
commitcbb1eff17a085f57472f67cbe3682232fb3a4aeb (patch)
tree5081f9c836e6f3419585980d42834b1eec944e67 /MCServer/Plugins
parentMerge pull request #1977 from mc-server/warnings (diff)
downloadcuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.gz
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.bz2
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.lz
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.xz
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.zst
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.zip
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnExecuteCommand.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnExecuteCommand.lua b/MCServer/Plugins/APIDump/Hooks/OnExecuteCommand.lua
index dadc4e94f..d7a5d383d 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnExecuteCommand.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnExecuteCommand.lua
@@ -16,7 +16,8 @@ return
Params =
{
{ Name = "Player", Type = "{{cPlayer}}", Notes = "For in-game commands, the player who has sent the message. For console commands, nil" },
- { Name = "Command", Type = "table of strings", Notes = "The command and its parameters, broken into a table by spaces" },
+ { Name = "CommandSplit", Type = "array-table of strings", Notes = "The command and its parameters, broken into a table by spaces" },
+ { Name = "EntireCommand", Type = "string", Notes = "The entire command as a single string" },
},
Returns = [[
If the plugin returns true, the command will be blocked and none of the remaining hook handlers will