summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-07-30 18:31:59 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-27 14:54:40 +0200
commitb0dc89004b43a97eeb4a5ed23644f924de4d7c4c (patch)
tree154d71dfff034a4432cf480328410e7a91e67e20
parentFixed json include (diff)
downloadcuberite-b0dc89004b43a97eeb4a5ed23644f924de4d7c4c.tar
cuberite-b0dc89004b43a97eeb4a5ed23644f924de4d7c4c.tar.gz
cuberite-b0dc89004b43a97eeb4a5ed23644f924de4d7c4c.tar.bz2
cuberite-b0dc89004b43a97eeb4a5ed23644f924de4d7c4c.tar.lz
cuberite-b0dc89004b43a97eeb4a5ed23644f924de4d7c4c.tar.xz
cuberite-b0dc89004b43a97eeb4a5ed23644f924de4d7c4c.tar.zst
cuberite-b0dc89004b43a97eeb4a5ed23644f924de4d7c4c.zip
-rw-r--r--Server/Plugins/APIDump/Classes/Plugins.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/Classes/Plugins.lua b/Server/Plugins/APIDump/Classes/Plugins.lua
index e22f4e3a0..cbaa034ca 100644
--- a/Server/Plugins/APIDump/Classes/Plugins.lua
+++ b/Server/Plugins/APIDump/Classes/Plugins.lua
@@ -816,6 +816,14 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage);
{
Notes = "Called when the player starts eating a held item. Plugins may abort the eating.",
},
+ HOOK_PLAYER_EDITED_BOOK =
+ {
+ Notes = "This hook is called whenever a {{cPlayer|player}} has edited a book.",
+ },
+ HOOK_PLAYER_EDITING_BOOK =
+ {
+ Notes = "This hook is called whenever a {{cPlayer|player}} is editing a book."
+ },
HOOK_PLAYER_FISHED =
{
Notes = "Called when the player reels the fishing rod back in, after the server decides the player's fishing reward.",