diff options
author | Alexander Harkness <me@bearbin.net> | 2014-09-28 10:29:48 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2014-09-28 10:29:48 +0200 |
commit | 439f07cab5b06d9fce691388646fa7f00dd57703 (patch) | |
tree | fd48dadad5274fcfe7f7136baccb6ce7329b7047 /MCServer/Plugins/APIDump/APIDesc.lua | |
parent | 1.8: Fixed plugin messages. (diff) | |
parent | Add Code example. (diff) | |
download | cuberite-439f07cab5b06d9fce691388646fa7f00dd57703.tar cuberite-439f07cab5b06d9fce691388646fa7f00dd57703.tar.gz cuberite-439f07cab5b06d9fce691388646fa7f00dd57703.tar.bz2 cuberite-439f07cab5b06d9fce691388646fa7f00dd57703.tar.lz cuberite-439f07cab5b06d9fce691388646fa7f00dd57703.tar.xz cuberite-439f07cab5b06d9fce691388646fa7f00dd57703.tar.zst cuberite-439f07cab5b06d9fce691388646fa7f00dd57703.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/APIDesc.lua')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index e6ee4ca10..f903308d1 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -1984,6 +1984,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage); HOOK_PLAYER_USING_ITEM = { Notes = "Called when the player is about to right-click with a usable item in their hand." }, HOOK_POST_CRAFTING = { Notes = "Called after a valid recipe has been chosen for the current contents of the crafting grid. Plugins may modify the recipe." }, HOOK_PRE_CRAFTING = { Notes = "Called before a recipe is searched for the current contents of the crafting grid. Plugins may provide a recipe and cancel the built-in search." }, + HOOK_SERVER_PING = { Notes = "Called when a client pings the server from the server list. Plugins may change the favicon, server description, players online and maximum players values." }, HOOK_SPAWNED_ENTITY = { Notes = "Called after an entity is spawned in a {{cWorld|world}}. The entity is already part of the world." }, HOOK_SPAWNED_MONSTER = { Notes = "Called after a mob is spawned in a {{cWorld|world}}. The mob is already part of the world." }, HOOK_SPAWNING_ENTITY = { Notes = "Called just before an entity is spawned in a {{cWorld|world}}." }, @@ -2814,7 +2815,7 @@ end Globals = { Desc = [[ - These functions are available directly, without a class instance. Any plugin cal call them at any + These functions are available directly, without a class instance. Any plugin can call them at any time. ]], Functions = |