1
0
Commit Graph

544 Commits

Author SHA1 Message Date
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
1f3f64fccd APIDump: Removed an unneeded global variable. 2015-05-17 22:33:57 +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
66945e4847 APIDump: Added linkification to hook return values. 2015-05-10 23:14:25 +02:00
Mattes D
dd10ffb63a OnExecuteCommand hook can override the command result (crXXX). 2015-05-10 23:11:30 +02:00
Mattes D
693ffb689c Exported cPluginManager:ExecuteConsoleCommand() to Lua API.
Fixes #1999.
2015-05-10 22:51:16 +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
Alexander Harkness
05db1904f9 Fixed syntax error 2015-05-08 15:13:58 +01:00
Alexander Harkness
aa3450808d Properly fix the docs for FindAndDoWithPlayer.
Removed F accidentially added.

Made the two FindAndDoWithPlayers documentation consistent.
2015-05-06 19:59:43 +01:00
Alexander Harkness
68614e7224 Added info about case-sensitivity of FindAndDoWithPlayer 2015-05-06 18:39:03 +01:00
Mattes D
81274b6ee9 APIDump: Added an "apishow" command.
Launches the webbrowser to show the locally exported API docs.
2015-05-02 12:26:19 +02:00
Mattes D
a3c4b7580b Added cBlockArea:CountNonAirBlocks API function. 2015-04-30 23:16:33 +02:00
Mattes D
daacbf4d7b APIDump: Added documentation for cBlockArea:GetNonAirCropRelCoords. 2015-04-30 09:53:10 +02:00
Mattes D
ca90f6d280 Added cBlockArea::msSimpleCompare merge strategy. 2015-04-29 15:45:48 +02:00
Mattes D
a89d5f53fd Refactored ManualBindings' callbacks using templates.
This is a bit easier to read, has better error reporting and fixes a few subtle bugs.
Fixes #1889.
2015-04-23 22:20:31 +02:00
Mattes D
08624348f4 Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
Both functions are exported as static.
2015-04-23 19:41:01 +02:00
Mattes D
de27f66b59 Added URL member to the HTTPRequest API class. 2015-04-21 10:54:43 +02:00
Mattes D
206932b94d APIDump: Documented cPluginManager:IsPluginLoaded(). 2015-04-19 17:23:59 +02:00
Mattes D
a9b5a6c3a6 Split the plugin names and plugin folders to avoid confusing them.
Ref.: http://forum.mc-server.org/showthread.php?tid=1877
2015-04-19 10:57:41 +02:00
Mattes D
29af16143e Removed HOOK_MAX and HOOK_NUM_HOOKS from Lua API. 2015-04-13 12:33:25 +02:00
Mattes D
79e8f8fb20 cFile:ChangeFileExt now accepts extensions with leading dot, too. 2015-04-11 17:42:32 +02:00
Mattes D
c4842cb9aa Added more cFile API functions.
GetLastModificationTime, GetPathSeparator() and GetExecutableExt()
2015-04-11 10:06:08 +02:00
Mattes D
6952f2295a Added cFile:ChangeFileExt() function. 2015-04-06 22:00:54 +02:00
Mattes D
d3838d40d2 APIDump: Linkified eShrapnelLevel. 2015-03-21 22:24:30 +01:00
STRWarrior
785201a6f3 APIDump: Used suggestions 2015-03-21 22:02:24 +01:00
STRWarrior
20a2e36087 APIDump: Improved documentation of cWorld:GetTNTShrapnelLevel
Fixed APIDump loading
2015-03-21 22:02:22 +01:00
STRWarrior
24aad0dc45 APIDump: Gave shrapnellevel it's own constantgroup 2015-03-21 22:02:10 +01:00
STRWarrior
db0da55021 APIDump: Fixed typo in cWorld:BroadcastEntityAnimation documentation 2015-03-21 22:01:20 +01:00
STRWarrior
5a2b38a8b8 APIDump: Improved cWorld:GetMaxViewDistance documentation 2015-03-21 22:01:16 +01:00
STRWarrior
7df58d8b21 APIDump: Improved cBlockArea.msDifference documentation 2015-03-21 22:01:12 +01:00
STRWarrior
6251bee670 APIDump: Documented function in cChunkDesc 2015-03-21 22:01:08 +01:00
STRWarrior
df4959b0f4 APIDump: Documented functions & Variables in cBlockInfo 2015-03-21 22:01:04 +01:00
STRWarrior
37f53d0f78 APIDump: Documented missing constant in cBlockArea 2015-03-21 22:00:58 +01:00
STRWarrior
538cde6bbb APIDump: Documented all undocumented functions in cWorld 2015-03-21 22:00:52 +01:00
Mattes D
abd3f06a76 APIDump: Added inheritance checking. 2015-03-19 21:29:23 +01:00
Mattes D
e301ff48fa APIDump: Removed the tolua.cast() example.
The example was all wrong and the function is normally not needed at all (#1789).
Fixes #1787
2015-03-19 12:57:00 +01:00
Mattes D
f9991c9f92 Merge pull request #1761 from mc-server/NetworkIPEnum
cNetwork: Added EnumLocalIPAddresses() function.
2015-03-12 13:35:45 +01:00
flx5
d130696e95 Fixes #493 and #490 2015-03-11 04:14:17 +01:00
joshi07
3cef52a7f7 Added OnEntityTeleport.lua hook to APIDump 2015-03-05 20:08:32 +01:00
joshi07
a5e1f970a6 Added description to APIDump for OnEntityTeleport 2015-03-05 19:44:15 +01:00
STRWarrior
056b42cb94 Added documentation for CompressStringZLIB
There was no info about the factor.
2015-02-23 18:43:01 +01:00
STRWarrior
174f508021 Documented cStringCompression 2015-02-23 12:53:34 +01:00
STRWarrior
f073636805 Documented CompressString and UncompressString 2015-02-22 17:40:44 +01:00
Mattes D
c758482ece cNetwork: Added EnumLocalIPAddresses() function. 2015-02-22 10:51:16 +01:00
Mattes D
006b1afa9e Merge pull request #1758 from mc-server/CryptoHashAPI
Added cCryptoHash namespace to Lua API
2015-02-21 12:19:07 +01:00
Mattes D
b9e4fe0a3b Added cCryptoHash namespace to Lua API. 2015-02-21 09:41:14 +01:00
Mattes D
e39d2d4605 APIDump: Added the UDP zero port policy. 2015-02-20 16:14:44 +01:00
Mattes D
9c5162041e cNetwork: Added UDP API. 2015-02-20 14:28:05 +01:00