1
0
Commit Graph

1194 Commits

Author SHA1 Message Date
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
jammet
3853db94e2 Corrected hopper recipe 2015-05-08 17:06:39 +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
Alexander Harkness
c0da088dbb Add furnacing recipies for dark oak and acacia.
This should fix #1899, and also acacia logs too.
2015-05-05 11:17:11 +01:00
Lukas Pioch
65ab5c74b6 Crafting - Allow to craft torches with charcoals 2015-05-03 22:27:13 +02:00
Mattes D
e6eeee84e0 Merge pull request #1880 from mc-server/submodules
Update submodules
2015-05-03 00:03:07 +02:00
STRWarrior
63decbe4dc Fixed error in webadmin home page 2015-05-02 19:16:25 +02: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
4bf3b874e3 Merge pull request #1922 from mc-server/BlockAreaExt
cBlockArea extensions
2015-04-30 10:39:15 +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
3fac9beb64 Updated MC versions in readme.txt 2015-04-28 07:57:46 +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
be4ac22b52 WebAdmin: Removed server name, shortened memory report. 2015-04-20 09:41:27 +02:00
Mattes D
db7b3bc888 Fixed a bad recipe. 2015-04-20 09:32:43 +02:00
jammet
60a90b0e7d Fixing dyeing
Getting yellow dye and a lot of dye mixes were not working when it was just called "Flower".
2015-04-20 00:43:54 +02:00
Mattes D
e5e581043f Updated the Core plugin. 2015-04-19 23:38:06 +02:00
Mattes D
ba6f5aea4c Merge pull request #1875 from mc-server/PluginFolders
Split the plugin names and plugin folders to avoid confusing them.
2015-04-19 19:53:14 +02:00
Mattes D
206932b94d APIDump: Documented cPluginManager:IsPluginLoaded(). 2015-04-19 17:23:59 +02:00
Mattes D
3b49a1d250 Merge pull request #1864 from mc-server/StrictRecipeMatching
Recipes match zero DamageValue strictly.
2015-04-19 14:41:35 +02:00
jammet
f0878f31e0 Add StainedClay
For some reason StainedClay was entirely missing, so here it is.
2015-04-19 13:17:08 +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
0b3fd73f90 Recipes match zero DamageValue strictly.
To match any DamageValue for the ingredient, an explicit "-1" as the DamageValue must be specified.
Fixes #1859.
2015-04-16 21:33:42 +02:00
Mattes D
ffe7dae4fc Fixed PolishedGranite et al crafting recipes.
Fixes #1774. Ref.: #1859
2015-04-16 20:59:57 +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
Mattes D
6952f2295a Added cFile:ChangeFileExt() function. 2015-04-06 22:00:54 +02:00
Mattes D
773ac22c30 Merge pull request #1847 from mc-server/DumpInfoFix
Fixed DumpInfo plugin
2015-04-04 15:44:39 +02:00
STRWarrior
5e8630649e Fixed DumpInfo plugin 2015-04-04 13:38:35 +02:00
Anthony Birkett
51891b766c Working as a Windows service. Starts and stops correctly.
Added "/service" switch, to prompt the binary to attempt starting as a service.
Added service* methods, to control service startup.
Split up main() into universalMain(), which contains the startup code for both service and normal start.
Added cRoot::m_RunningAsService bool,
Added cRoot::SetStopping(bool) to allow a stop request to be sent by the service controller.
Added cBlockIDMap::init() to avoid loading items.ini before the working directory has been set.
2015-04-01 00:03:37 +01: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