1
0
Commit Graph

57 Commits

Author SHA1 Message Date
Mattes D
b0bd1e3907 APIDump: Fixed a forgotten comma. 2015-06-30 22:36:51 +02:00
Nounours Heureux
ee28d71839 Added documentation for HOOK_KILLED 2015-06-13 11:16:44 +02:00
Nounours Heureux
d79f601d5a Added HOOK_KILLED 2015-06-13 10:00:31 +02:00
jan64
82adb0854e Added SendSystemMessage / SendAboveActionBarMessage to the docs
Updated parameters passed to HOOK_KILLING
2015-06-03 18:11:21 +02:00
Lukas Pioch
bc838e5bd2 Renamed hook HOOK_ENTITY_CHANGE_WORLD 2015-05-21 12:27:54 +02:00
Lukas Pioch
9aced8cd85 Added OnEntityChangeWorld.lua and OnEntityChangedWorld.lua hooks to APIDump 2015-05-19 06:34:40 +02:00
Mattes D
f36b00f4d4 All in-game commands go through the OnExecuteCommand hook.
Everything that has a slash at the beginning, doesn't matter if it is a registered command or not.
2015-05-13 18:31:01 +02:00
Mattes D
dd10ffb63a OnExecuteCommand hook can override the command result (crXXX). 2015-05-10 23:11:30 +02:00
Mattes D
6c53abed23 Call HOOK_EXECUTE_COMMAND even for unknown console commands.
This allows plugins such as Aliases to intercept even unknown commands.
2015-05-10 21:46:25 +02:00
Mattes D
cbb1eff17a Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND.
Fixes #1996.
2015-05-10 21:37:46 +02:00
joshi07
3cef52a7f7 Added OnEntityTeleport.lua hook to APIDump 2015-03-05 20:08:32 +01:00
Mattes D
f59740b262 APIDump: Added details about client handle in OnServerPing hook. 2014-12-25 00:36:01 +01:00
Mattes D
5609d76ed7 APIDump: Updated the player block placement documentation.
The hooks now have fewer parameters but are called on all player-placed blocks (#1618).
2014-12-24 20:02:51 +01:00
Alexander Harkness
7c731dbd8a Added parentheses for clarity. 2014-10-01 21:37:20 +01:00
Alexander Harkness
adab829d8f Fixed broken code. 2014-10-01 20:14:28 +01:00
Alexander Harkness
4a4411d4d7 Add Code example. 2014-09-28 09:28:51 +01:00
Alexander Harkness
24275e058b changed description to be more readable. 2014-09-27 21:35:08 +01:00
Alexander Harkness
e5873d4e89 Copy edit. 2014-09-27 21:28:59 +01:00
Alexander Harkness
57e83f7d49 Fixed return value descriptions. 2014-09-27 21:27:48 +01:00
Alexander Harkness
9dccbe7792 Fixed line left in. 2014-09-27 15:40:33 +01:00
Alexander Harkness
400a4d1083 Hopefully fix #1384
Can @madmaxoft comment?
2014-09-27 15:33:35 +01:00
Howaner
0baca1f1d8 Updated SPAWNING_ENTITY hook description. 2014-09-19 14:36:02 +02:00
Howaner
6c8baf66c8 Updated HOOK_PLAYER_MOVING documentation. 2014-08-16 18:49:24 +02:00
Howaner
fc6a5878df Removed special character in APIDump 2014-07-18 01:45:45 +02:00
archshift
554e1c0dd3 OnEntityAddEffect.lua: Removed Originator param 2014-07-13 16:10:01 -07:00
archshift
e824cd09b3 Merge remote-tracking branch 'origin/master' into potions
Conflicts:
	src/Entities/Player.cpp
	src/Entities/ProjectileEntity.cpp
2014-07-09 23:28:27 -07:00
madmaxoft
20afd5d70e APIDump: Updated OnWeatherChanging docs after latest code changes. 2014-07-03 17:53:57 +02:00
Howaner
835d00428c Update documentation 2014-07-02 14:49:08 +02:00
Howaner
5a888f0a51 Change documentation 2014-07-01 20:30:13 +02:00
Howaner
5a152435b3 Add documentation. 2014-06-30 15:22:48 +02:00
madmaxoft
a37d5410b4 APIDump: Added OnEntityAddEffect hook documentation. 2014-06-17 11:39:22 -07:00
STRWarrior
8cf4e806ba APIDump: Fixed crash 2014-06-02 13:49:05 +02:00
STRWarrior
fa78379f5a Updated OnProjectileHitBlock documentation. 2014-06-02 11:45:32 +02:00
madmaxoft
13452d3ab9 APIDump: Updated the OnDisconnect hook docs.
Ref.: #655.
2014-05-02 12:35:35 +02:00
STRWarrior
379d403443 Documented both hooks. 2014-03-29 16:08:39 +01:00
Howaner
327b70e769 Change documentation text 2014-03-27 23:20:28 +01:00
Howaner
9ac3e3405a Change SpreadSource documentation 2014-03-27 23:20:28 +01:00
Howaner
54d55b31ef Add documentation for new Block spread 2014-03-27 23:20:28 +01:00
Tiger Wang
b5e898a608 Server now handles join messages also
* Revised as well hook documentation
2014-02-03 21:12:44 +00:00
Mattes D
33759197e9 Merge pull request #585 from daniel0916/hooks
Added "player destroying" and "player destroyed" hooks
2014-02-01 05:08:08 -08:00
daniel0916
b34ba6be7b Added PlayerDestroyedHook Documentation 2014-02-01 13:58:35 +01:00
madmaxoft
ebc3f6aa28 APIDump: Fixed indent after merge. 2014-01-24 08:59:21 +01:00
Mike Hunsinger
9926ea58e8 Fixed indentation and doxygen comments... For real this time. 2014-01-23 20:01:08 -07:00
Mike Hunsinger
11948b1d4b Fixed spacing and doxycomments. 2014-01-23 19:54:00 -07:00
Mike Hunsinger
41b05416c7 Split TossItem into three Toss functions (Held, Equipped and Pickup) 2014-01-23 00:27:39 -07:00
madmaxoft
f7c691caaa APIDump: Wrapped example code so that it displays well on small screens.
The listing was pushing the resulting webpage too wide on my 19" screen, causing various distortions.
2014-01-13 21:39:21 +01:00
madmaxoft
55e92f056d APIDump: Documented the plugin messaging hook and function. 2014-01-13 19:21:57 +01:00
madmaxoft
d4e29a0d18 Merge branch 'FishingHook' 2014-01-01 15:31:57 +01:00
STRWarrior
d656c253c0 Little more documentation for OnPlayerFishing. 2014-01-01 15:18:12 +01:00
STRWarrior
78a876ace3 Using documentation Xoft recommended. 2014-01-01 15:15:56 +01:00