1
0
Commit Graph

962 Commits

Author SHA1 Message Date
Tiger Wang
dd4b415051 Reinstate "Chunk queue collapsing"
This reinstates commit f36acb6835
     and reverts commit adfbc42c02.
2015-06-10 15:16:05 +01:00
Mattes D
db863422b8 cBlockArea: Added CountSpecificBlocks() API function. 2015-06-08 21:52:13 +02:00
worktycho
adfbc42c02 Revert "Chunk queue collapsing" 2015-06-07 20:45:47 +01:00
tycho
bfe52277b4 Rewrote ChunkSending queue for significantly improved performance 2015-06-05 22:31:21 +01:00
worktycho
519fd1d36d Merge pull request #2206 from mc-server/APIDumpTimeStamp
APIDump time stamp
2015-06-05 13:04:28 +01:00
Mattes D
99b182b4be Added Build info to the cRoot API. 2015-06-05 10:34:13 +02:00
Mattes D
620a714196 Debuggers: Added a LineBlockTracer console test command.
Ref.: #2161
2015-06-04 22:22:43 +02:00
Mattes D
f645673bae APIDump: Added timestamp to all generated HTML pages.
Ref.: #2204
2015-06-04 12:23:38 +02:00
jan64
82adb0854e Added SendSystemMessage / SendAboveActionBarMessage to the docs
Updated parameters passed to HOOK_KILLING
2015-06-03 18:11:21 +02:00
Alexander Harkness
4504ec7a67 Updated MagicCarpet submodule. Fixes #2155 2015-05-30 13:06:46 +01:00
STRWarrior
15d49d0cb9 Fixed Info.lua documentation
The AdditionalInformation table is called AdditionalInfo
2015-05-28 22:22:59 +02:00
STRWarrior
e7214dff65 Updated DumpInfo plugin.
cPluginManager:GetAllPlugins is deprecated
2015-05-28 22:12:12 +02:00
Lukas Pioch
c3b872ad93 Added method to get the uptime of the server in seconds. Implements #1650. 2015-05-26 05:36:46 +02:00
Lukas Pioch
bc838e5bd2 Renamed hook HOOK_ENTITY_CHANGE_WORLD 2015-05-21 12:27:54 +02:00
Alexander Harkness
cbb425f027 Merge branch 'master' of github.com:mc-server/MCServer 2015-05-19 18:43:19 +01:00
Alexander Harkness
8fae5fa467 Updated Core. 2015-05-19 18:42:19 +01: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
06506da0b1 Merge pull request #2007 from mc-server/AllCommandsThroughHook
All in-game commands go through the OnExecuteCommand hook.
2015-05-13 21:33:26 +02:00
Mattes D
b34fd9c6d9 InfoDump: Added DownloadLocation to forum post generator. 2015-05-13 19:24:57 +02:00
Mattes D
394192bdaf InfoDump: Added support for links.
Also fixed processing of lists and list items.
2015-05-13 19:20:53 +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
87f1cf5622 InfoReg: Fixed EntireCommand handling for MultiCommandHandler().
The EntireCommand wasn't propagated into the handlers.
2015-05-10 21:39:04 +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
Mattes D
fee690a3d1 Fixed inter-plugin calls.
When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield".
Fixes #1959.
2015-05-07 23:03:04 +02: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
Tiger Wang
2919d08883 Update submodules 2015-05-02 15:57:49 +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
d16ded3aff Updated the Core. 2015-04-25 22:33:07 +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
e5e581043f Updated the Core plugin. 2015-04-19 23:38:06 +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
ec741261f9 HookNotify: Rewritten for generic hooks. 2015-04-13 12:29:16 +02:00
Mattes D
a34aa77641 Debuggers: Renamed conflicting /cs command to /cstay.
/cs caused a conflict with WorldEdit.
2015-04-13 11:24:11 +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
65a1158e40 Added proper implementation of cFile::ChangeFileExt(). 2015-04-10 21:40:45 +02:00