Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-08-07 | Refactored code to use cLuaState | Samuel Barney | 1 | -7/+11 | |
Fixes #2377. | |||||
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -1/+1 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -58/+58 | |
2015-06-05 | Added Build info to the cRoot API. | Mattes D | 1 | -4/+54 | |
2015-05-19 | Added LuaState support for all integral types | tycho | 1 | -2/+2 | |
All so added error handling for out of range values | |||||
2015-05-14 | Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand() | Mattes D | 1 | -93/+54 | |
The functions would leak one value on the Lua stack for each enumerated command. Fixes #2017. | |||||
2015-05-13 | Moved cWorld manual bindings out into a separate file. | Mattes D | 1 | -1196/+110 | |
2015-05-10 | Exported cPluginManager:ExecuteConsoleCommand() to Lua API. | Mattes D | 1 | -1/+38 | |
Fixes #1999. | |||||
2015-05-09 | CheckBasicStyle: checks spaces around * and &. | Mattes D | 1 | -6/+6 | |
2015-05-09 | Fixed some Visual Studio warnings | Tiger Wang | 1 | -2/+2 | |
2015-05-07 | Fixed inter-plugin calls. | Mattes D | 1 | -0/+5 | |
When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield". Fixes #1959. | |||||
2015-05-07 | Added support for additional data in the ParticleEffect Packet | tycho | 1 | -1/+57 | |
Also started refactoring how broadcasts are handled | |||||
2015-04-30 | Fixed bindings for cFile:ReadWholeFile(). | Mattes D | 1 | -7/+38 | |
Fixes #1914 | |||||
2015-04-29 | Added cBlockArea:GetNonAirCropRelCoords() API function. | Mattes D | 1 | -0/+39 | |
Fixes #1915. | |||||
2015-04-25 | cPlayer now checks restrictions. | Mattes D | 1 | -0/+32 | |
Fixes #1331. | |||||
2015-04-23 | Refactored ManualBindings' callbacks using templates. | Mattes D | 1 | -365/+238 | |
This is a bit easier to read, has better error reporting and fixes a few subtle bugs. Fixes #1889. | |||||
2015-04-23 | Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin(). | Mattes D | 1 | -112/+169 | |
Both functions are exported as static. | |||||
2015-04-19 | Refactored cWebPlugin for C++11 style and proper WebTab clearing. | Mattes D | 1 | -13/+7 | |
2015-04-19 | Split the plugin names and plugin folders to avoid confusing them. | Mattes D | 1 | -95/+117 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1877 | |||||
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 1 | -1/+5 | |
2015-03-20 | Added cPluginLua::cResettable interface, used for scheduled tasks. | Mattes D | 1 | -10/+22 | |
This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data. Fixes #1556. | |||||
2015-03-19 | Improved DoWithID bindings. | Mattes D | 1 | -3/+3 | |
2015-03-19 | AllToLua: Removed an unneeded class declaration. | Mattes D | 1 | -0/+2 | |
It's perfectly possible to declare a class in ManualBindings without the need for declaration in AllToLua.pkg. | |||||
2015-03-11 | Fixed coding conventions for Pull Request #1807 | flx5 | 1 | -15/+18 | |
2015-03-11 | Fixes #493 and #490 | flx5 | 1 | -0/+16 | |
2015-03-03 | Lua API: Fixed md5 and sha1 hex formatting. | Mattes D | 1 | -4/+4 | |
std::setw() is only valid for one output operation and needs to be set again in each loop repetition. | |||||
2015-02-23 | Fixed operators | STRWarrior | 1 | -6/+6 | |
2015-02-23 | Added forgotten indent | STRWarrior | 1 | -2/+2 | |
2015-02-23 | Replaced lua_isXYZ with cLuaState::CheckParamXYZ | STRWarrior | 1 | -12/+13 | |
2015-02-23 | Exported all compression functions in a new class. | STRWarrior | 1 | -16/+129 | |
2015-02-22 | Exported CompressString and UncompressString to Lua | STRWarrior | 1 | -0/+37 | |
2015-02-21 | Added cCryptoHash namespace to Lua API. | Mattes D | 1 | -2/+107 | |
2015-02-20 | Fixed crash when logging nil values. | Matyas Dolak | 1 | -0/+32 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1798 | |||||
2015-02-04 | cNetwork: Exported the Connect() method and cTCPLink class to Lua. | Mattes D | 1 | -1/+2 | |
2014-12-12 | Exported cWorld:PrepareChunk to Lua API, test in Debuggers. | Mattes D | 1 | -0/+67 | |
2014-11-17 | Added UpdateSign() method to DeprecatedBindings.cpp | Howaner | 1 | -3/+2 | |
2014-11-15 | Fixed a security problem with signs. | Howaner | 1 | -1/+1 | |
2014-11-05 | renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump | Lukas Pioch | 1 | -2/+2 | |
2014-11-02 | Added FindAndDoWithUUID | Lukas Pioch | 1 | -0/+2 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -135/+135 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -135/+135 | |
2014-10-10 | Moved a few objects to unique_ptr | tycho | 1 | -1/+1 | |
2014-10-06 | Fixed crash in ForEachEntityInBox API. | madmaxoft | 1 | -2/+6 | |
Fixes #1511. | |||||
2014-10-01 | Bindings: Fixed binding for cPlayer::PermissionMatches(). | madmaxoft | 1 | -10/+4 | |
2014-09-26 | Removed a few unnessicary includes | Tycho | 1 | -2/+0 | |
2014-09-03 | Exported ForEachEntityInBox() to Lua API. | madmaxoft | 1 | -0/+70 | |
2014-08-31 | Rewrited furnace.txt loading. | Howaner | 1 | -1/+1 | |
2014-08-28 | Fixed spaces after "template" keyword. | Mattes D | 1 | -6/+6 | |
2014-08-21 | cMojangAPI: Fixed MakeUUID___() bindings. | Mattes D | 1 | -0/+58 | |
ToLua would generate a shadow return value for the input strings. | |||||
2014-08-19 | cPlayer reads ranks from cRankManager. | Mattes D | 1 | -39/+54 | |
2014-08-12 | Renamed Loggers | Tycho | 1 | -5/+5 | |
2014-08-10 | First Implementatation of new Loggin framework | Tycho | 1 | -5/+5 | |
2014-08-09 | WebAdmin: Manually exported string conversion functions. | madmaxoft | 1 | -1/+59 | |
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | |||||
2014-08-09 | WebAdmin: Manually exported string conversion functions. | madmaxoft | 1 | -1/+59 | |
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | |||||
2014-08-08 | Exported cRankManager to LuaAPI. | madmaxoft | 1 | -0/+2 | |
2014-08-07 | Removed debug message. | Howaner | 1 | -1/+0 | |
2014-08-05 | Made lua clamp() compatible with all number types. | Howaner | 1 | -4/+4 | |
2014-08-05 | Added api documentation for Clamp() | Howaner | 1 | -2/+2 | |
2014-08-05 | Added Clamp() function to the lua api. | Howaner | 1 | -0/+28 | |
2014-08-03 | cMojangAPI: Added UUID-to-Name lookup. | madmaxoft | 1 | -1/+97 | |
Also fixed the bindings, now all functions are static-like. | |||||
2014-07-31 | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). | madmaxoft | 1 | -5/+14 | |
2014-07-30 | Exported the beacon. | Howaner | 1 | -0/+2 | |
2014-07-30 | ManualBindings: Fixed alignment. | madmaxoft | 1 | -3/+3 | |
2014-07-30 | Exported cMojangAPI to Lua. | madmaxoft | 1 | -3/+6 | |
2014-07-30 | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 1 | -1/+1 | |
The cache is persisted into a SQLite DB file on server shutdown. | |||||
2014-07-28 | Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API. | madmaxoft | 1 | -3/+62 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -30/+30 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 1 | -11/+11 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 1 | -13/+13 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -14/+13 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -2/+2 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-06-28 | Fixed a silly path error in #include. | Mattes D | 1 | -1/+1 | |
2014-06-27 | Removed the md5 library, obsoleted by PolarSSL. | Mattes D | 1 | -5/+6 | |
Fixes #1130. | |||||
2014-06-19 | Nullify deleted pointers. | archshift | 1 | -0/+1 | |
2014-06-11 | Added cBlockArea:GetCoordRange to Lua API. | madmaxoft | 1 | -0/+32 | |
2014-05-30 | Fixed bindings for cCompositeChat:SetMessageType(). | madmaxoft | 1 | -2/+2 | |
2014-05-01 | Fixed warnings in ManualBindings. | madmaxoft | 1 | -20/+20 | |
2014-04-26 | Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618) | jfhumann | 1 | -1/+4 | |
2014-04-01 | Exported the Base64 encoding and decoding functions to Lua API. | madmaxoft | 1 | -0/+46 | |
2014-04-01 | LOG() API reads the LogLevel from the cCompositeChat's MessageType. | madmaxoft | 1 | -4/+13 | |
2014-03-31 | Console logging supports cCompositeChat as its parameters. | madmaxoft | 1 | -12/+34 | |
2014-03-25 | More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future. | Samuel Barney | 1 | -0/+1 | |
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | |||||
2014-03-14 | cPlugin:BindConsoleCommand can be called statically. | madmaxoft | 1 | -1/+4 | |
This has been documented before it was written. | |||||
2014-03-14 | cPluginManager:Bind[Console]Command returns true on success. | madmaxoft | 1 | -2/+4 | |
Fixes #801. | |||||
2014-03-07 | Fixed cBlockArea schematic string saving signature. | madmaxoft | 1 | -3/+7 | |
2014-03-07 | Fixed a typo. | madmaxoft | 1 | -4/+4 | |
2014-03-07 | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 1 | -1/+1 | |
2014-03-07 | Added cBlockArea serialization to string. | madmaxoft | 1 | -6/+67 | |
Fixes #665. | |||||
2014-03-07 | Add Flower Pots | Howaner | 1 | -0/+2 | |
2014-03-04 | Manually exported cCompositeChat modifiers. | madmaxoft | 1 | -0/+258 | |
This adds chaining support to them. Fixes #755. | |||||
2014-03-01 | Exported cScoreboard::ForEachTeam | andrew | 1 | -0/+1 | |
2014-03-01 | Exported cScoreboard::ForEachObjective | andrew | 1 | -0/+4 | |
2014-02-26 | Attempted fix for several GCC warnings. | madmaxoft | 1 | -2/+7 | |
2014-02-23 | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 1 | -29/+104 | |
They no longer require the ghost output params. | |||||
2014-02-23 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -2/+2 | |
2014-02-23 | Add Heads completely | Howaner | 1 | -0/+2 | |
2014-02-23 | Added cBlockArea:GetSize() and :GetOrigin() to Lua API. | madmaxoft | 1 | -0/+64 | |
These don't have a direct C++ equivalent, but are rather useful for the plugins. | |||||
2014-02-23 | Manually exported DoWithMap | andrew | 1 | -0/+4 | |
2014-02-20 | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 1 | -29/+104 | |
They no longer require the ghost output params. | |||||
2014-02-19 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -2/+2 | |
2014-02-18 | Add Heads completely | Howaner | 1 | -0/+2 | |
2014-02-11 | cWorld:ChunkStay() accepts nils as callbacks. | madmaxoft | 1 | -5/+3 | |
Also removed leftover debug logging. | |||||
2014-02-10 | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 1 | -16/+24 | |
This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready. | |||||
2014-02-09 | First working version of cLuaChunkStay. | madmaxoft | 1 | -0/+41 | |
It works, but has random failures, probably due to threading issues. | |||||
2014-02-08 | Fixed cWorld:TryGetHeight() API. | madmaxoft | 1 | -1/+5 | |
2014-02-05 | Fixed most of the reordering warnings | Tycho | 1 | -2/+2 | |
2014-02-05 | Added cPluginManager:LogStackTrace() to the Lua API. | madmaxoft | 1 | -0/+11 | |
Fixes #637. | |||||
2014-02-04 | Fixed a gcc warning in ManualBindings. | madmaxoft | 1 | -2/+2 | |
Constructor member order... | |||||
2014-01-31 | Fixed cLineBlockTracer:Trace() signature. | madmaxoft | 1 | -13/+27 | |
2014-01-31 | Added cPluginManager:BindCommand() form to the API. | madmaxoft | 1 | -1/+4 | |
That's the canonical way to call static functions. | |||||
2014-01-25 | Stupid Mistake fixed | Tycho | 1 | -2/+2 | |
2014-01-25 | Fixed exports | Tycho | 1 | -2/+0 | |
2014-01-22 | Fixed spelling error | Tycho | 1 | -1/+1 | |
2014-01-22 | Added manual bindings for moved functions | Tycho | 1 | -0/+66 | |
2014-01-21 | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 1 | -100/+96 | |
This function supersedes cPlugin:Call(), is safer to use in regards to multithreading and once again removes the need for the cPlugin class being exported at all. | |||||
2014-01-19 | Changed the cWorld::ScheduleTask() signature. | madmaxoft | 1 | -10/+14 | |
Now it takes the delay in ticks as an argument, and a cTask descendant as the task to run. Lua API has been updated similarly. | |||||
2014-01-18 | Command blocks: Execute() | andrew | 1 | -10/+12 | |
2014-01-16 | Fixed whitespace in previous commit. | madmaxoft | 1 | -1/+1 | |
2014-01-16 | Finished exporting cWorld:ScheduleTask() to Lua API. | madmaxoft | 1 | -1/+15 | |
2014-01-14 | added cWorld::ScheduleTask Function | Tycho | 1 | -4/+58 | |
ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150 | |||||
2014-01-11 | Removed internal methods from public cLuaState interface. | madmaxoft | 1 | -72/+26 | |
PushFunction(), CallFunction() and GetReturn() are not to be called independently, but rather only by using the Call() templated overrides. Push() needs to be left in the public part, it is used for pushing results in the ManualBindings. Preparation for #418. | |||||
2014-01-11 | Removed unused variables. | madmaxoft | 1 | -2/+0 | |
The Lua API calls had no side-effects, either. | |||||
2014-01-09 | Exported cClientHandle::SendPluginMessage() to Lua. | madmaxoft | 1 | -0/+30 | |
2014-01-07 | Removed a debugging log output in cPluginManager:AddHook(). | madmaxoft | 1 | -1/+0 | |
2014-01-05 | Fixed cPluginManager:AddHook() binding. | madmaxoft | 1 | -6/+13 | |
Fixes #401. Old formats are still accepted, for compatibility reasons. | |||||
2013-12-14 | Implemented note block playing and fixed wire | Tiger Wang | 1 | -0/+2 | |
Game of Thrones music in Minecraft, here I come! | |||||
2013-12-08 | Fixed tolua++ compilation. | madmaxoft | 1 | -1/+1 | |
Duplicate files, wrong includes, const-incorrect code... | |||||
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -12/+12 | |
Ref.: #407 | |||||
2013-12-05 | Added cPluginManager:GetCurrentPlugin() to Lua API. | madmaxoft | 1 | -7/+22 | |
2013-11-27 | Fixed some of tiger's derpyness. | Alexander Harkness | 1 | -1/+1 | |
2013-11-24 | Attempt to fix compilation | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-23 | Fixed Lua bindings for cFile:GetFolderContents(). | madmaxoft | 1 | -1/+1 | |
2013-11-22 | Added cFile:GetFolderContents(). | madmaxoft | 1 | -0/+27 | |
Fix 162. | |||||
2013-11-22 | Fixed cRoot:GetFurnaceRecipe() Lua binding. | madmaxoft | 1 | -3/+4 | |
2013-11-22 | Changed cRoot:GetFurnaceRecipe() Lua binding signature. | madmaxoft | 1 | -0/+40 | |
Fix #364. | |||||
2013-11-20 | Added cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt() functions. | madmaxoft | 1 | -20/+22 | |
Also exported them to the Lua API. | |||||
2013-11-13 | cPluginManager:BindCommand() and :BindConsoleComman() now report full Lua stacktrace on failure. | madmaxoft | 1 | -2/+6 | |
2013-11-09 | Removed cStringMap. | madmaxoft | 1 | -1/+0 | |
It wasn't used for anything anymore. | |||||
2013-10-23 | Fixed bindings for cHopperEntity:GetOutputBlockPos(). | madmaxoft | 1 | -0/+44 | |
2013-10-13 | Re-added the cWorld:GetSignLines() to the API. | madmaxoft | 1 | -0/+1 | |
Somehow this got lost somewhere. | |||||
2013-10-12 | Fixed and exported cWorld:QueueTask(). | madmaxoft | 1 | -0/+65 | |
This implements #220. | |||||
2013-09-18 | Improved error message in cPlugin:AddWebTab() API. | madmaxoft | 1 | -4/+6 | |
2013-09-18 | cPluginManager:BindConsoleCommand can be called with the dot operator, too. | madmaxoft | 1 | -15/+20 | |
2013-09-18 | cPluginManager:BindCommand can be called with the dot operator, too. | madmaxoft | 1 | -12/+19 | |
2013-09-15 | Fixed previous commit. | madmaxoft | 1 | -1/+1 | |
2013-09-15 | Fixed API bindings of cWorld:GetSignLines(), exported cWorld:UseBlockEntity(). | madmaxoft | 1 | -2/+55 | |
2013-09-15 | Fixed cWorld bindings for GetBlockInfo() and GetBlockTypeMeta(). | madmaxoft | 1 | -0/+110 | |
They no longer require the superficial arguments. | |||||
2013-09-11 | Added StringSplitAndTrim() to Lua API | madmaxoft | 1 | -6/+22 | |
2013-08-27 | Implemented basic physics for projectiles. | madmaxoft | 1 | -2/+4 | |
2013-08-21 | cPluginManager.AddHook old-style API usage prints the stack trace. | madmaxoft | 1 | -0/+1 | |
This eases migration to #121 API. | |||||
2013-08-21 | Added a deprecation warning to the old style API. | madmaxoft | 1 | -0/+1 | |
This completes #121. | |||||
2013-08-21 | Hook adding uses the new API. | madmaxoft | 1 | -0/+152 | |
Multiple hooks per plugin can be added. The cPluginManager.AddHook() has four available signatures, the recommended one is cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) | |||||
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-08-19 | Finished renaming cPlugin_NewLua to cPluginLua. | madmaxoft | 1 | -17/+17 | |
2013-08-10 | Renamed Plugin_NewLua to PluginLua. | madmaxoft | 1 | -2/+1 | |
2013-08-09 | Renamed Plugin_NewLua to PluginLua. | madmaxoft | 1 | -2/+1 | |
2013-08-08 | LuaState refactoring: using templates for hook function calls. | madmaxoft | 1 | -15/+15 | |
This simplifies calling Lua functions considerably, it's almost like calling a C++ function, only with an extra argument to delimit args from returned values. | |||||
2013-08-07 | Added cLineBlockTracer to the API | madmaxoft | 1 | -4/+176 | |
2013-08-06 | Fixed compilation in ManualBindings | madmaxoft | 1 | -1/+1 | |
2013-08-06 | cLuaState is used for pushing splits in ManualBindings | madmaxoft | 1 | -23/+8 | |
2013-08-05 | Exported the cWorld:TryGetHeight() function | madmaxoft | 1 | -0/+47 | |
2013-08-05 | Exported cWorld:DoWithEntityByID() to Lua API | madmaxoft | 1 | -202/+293 | |
2013-08-05 | Alpha-sorted the manual bindings' functions. | madmaxoft | 1 | -13/+13 | |
2013-08-04 | LuaState refactoring: initial part. | madmaxoft | 1 | -9/+10 | |
The cLuaState class is a wrapper for the lua_State * and for the common functions on it. The cPlugin_NewLua has been rewritten to use it instead of the raw pointer. Part of #33 | |||||
2013-07-29 | WebAdmin templates can use Lua | FakeTruth | 1 | -0/+61 | |
New WebAdmin templates can use Lua to completely compose the pages themselves. This should allow infinite WebAdmin design possibilities. | |||||
2013-06-12 | Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return values | madmaxoft@gmail.com | 1 | -0/+55 | |
FS #364 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-05 | Added LOGWARNING() function to Lua API, as a synonym to LOGWARN() | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1558 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-04 | ToLuaDoxy: initial import | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1544 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-31 | Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slots | madmaxoft@gmail.com | 1 | -7/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1535 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-30 | Added the OnClosing callback to cLuaWindow API | madmaxoft@gmail.com | 1 | -0/+39 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1534 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-30 | LuaWindow: Initial code, the window can be opened, but not much manipulated | madmaxoft@gmail.com | 1 | -7/+73 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-28 | Moved BlockEntities to a separate folder | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-26 | Implemented droppers | madmaxoft@gmail.com | 1 | -2/+6 | |
Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-25 | Fixed the cWorld:DoWithChestAt(), DoWithDispenserAt() and DoWithFurnaceAt() callbacks binding. | madmaxoft@gmail.com | 1 | -5/+21 | |
They are now doing what the comment said they are doing. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1506 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-24 | Slight cleanup in the cInventory / cItemGrid API | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-10 | Fixed gcc build | madmaxoft@gmail.com | 1 | -10/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1382 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-10 | Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid. | madmaxoft@gmail.com | 1 | -0/+42 | |
http://forum.mc-server.org/showthread.php?tid=831 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1380 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-15 | Plugins can now bind console commands | madmaxoft@gmail.com | 1 | -86/+159 | |
FS #300 Most console commands are now implemented in the Core plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1214 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-10 | Fixed ASSERT / VERIFY mismatch in ManualBindings' error handling | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1206 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-03 | Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorld | faketruth | 1 | -377/+392 | |
Using templates to generate ForEach* functions instead of MACROS Better error reporting in ForEach* functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@1191 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-02 | Fixed GCC error in ManualBindings | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1189 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-01 | Moved command API into cPluginManager. | madmaxoft@gmail.com | 1 | -16/+126 | |
As specified in http://forum.mc-server.org/showthread.php?tid=765 , commands are now bound using a single function, cPluginManager:BindCommand(). git-svn-id: http://mc-server.googlecode.com/svn/trunk@1183 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-27 | Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups. | madmaxoft@gmail.com | 1 | -1/+1 | |
Note that cItems is used in the function signature but not yet exported in the API, TODO! git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -13/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Fixed manual bindings' ForEachXXX mapping not checking the object instance for validity. | madmaxoft@gmail.com | 1 | -0/+5 | |
( http://forum.mc-server.org/showthread.php?tid=591&pid=5007#pid5007 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@996 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-14 | Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) | faketruth | 1 | -6/+16 | |
Removed cPlugin_Lua, obviously cPluginManager stores plugins by their (folder)name cPluginManager now scans the Plugins folder for potential plugins and adds them as non-loaded plugins Added a DisablePlugin and LoadPlugin to disable and load plugins on a per-plugin basis instead of all at once cPluginManager::FindPlugins refreshes the plugin list by removing non-existing plugins and adding new plugins Made it incredibly easy to use new plugins from the WebAdmin Exposed some food/hunger related functions in cPlayer to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@959 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-11 | Got rid of "self" in plugins, which is deprecated anyway | faketruth | 1 | -1/+1 | |
Fixed bug in many On* hooks that did not pop the return values from the stack Fixed Plugin:Call() that removed one too many items from the stack git-svn-id: http://mc-server.googlecode.com/svn/trunk@950 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-11 | Can now send usertypes (cPlayer, cEntity, cCuboid) along with a plugin:Call() | faketruth | 1 | -2/+25 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@946 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-10 | Added functionality so one plugin can call functions on another plugin :D | faketruth | 1 | -0/+85 | |
Fixed Core plugin file addresses in the VS2008 project git-svn-id: http://mc-server.googlecode.com/svn/trunk@945 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -10/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-02 | Exported cWorld::DoWithChestAt to Lua | faketruth | 1 | -0/+93 | |
Exported cChestEntity to Lua for handling in DoWithChestAt git-svn-id: http://mc-server.googlecode.com/svn/trunk@820 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-23 | Added plugin name to deprecation messages | madmaxoft@gmail.com | 1 | -1/+4 | |
Removed duplicate inheritance of m_Name in cPlugin_NewLua by making cWebPlugin interface-only git-svn-id: http://mc-server.googlecode.com/svn/trunk@782 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-23 | Added a RateCompareString function to StringUtils | faketruth | 1 | -82/+94 | |
Created a preprocessor template (define) for DoWith* functions Exported cWorld::FindAndDoWithPlayer(), cRoot::FindAndDoWithPlayer() and cRoot::ForEachPlayer() to Lua Added a function FindAndDoWithPlayer to cRoot and cWorld. It takes a part of a player name and finds a single player based on that. Fixed Core's MOTD to contain the correct URL to the MCServer site Fixed Core /kick command Fixed Core's WebAdmin kick git-svn-id: http://mc-server.googlecode.com/svn/trunk@779 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-22 | WebAdmin should not cause crashes anymore | faketruth | 1 | -8/+19 | |
Got rid of cWebPlugin_Lua cPlugin_Lua is also a cWebPlugin now, so plugins don't need a separate cWebPlugin object Changed some stuff to use AString instead of char* git-svn-id: http://mc-server.googlecode.com/svn/trunk@777 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function. | madmaxoft@gmail.com | 1 | -0/+92 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@639 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Removed the deprecated GetBlockEntity(), added several enumerators to replace it. | madmaxoft@gmail.com | 1 | -6/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@629 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Macro-ized the ForEachSomethingInChunk Lua glue code (will soon be used for block entities, too) | madmaxoft@gmail.com | 1 | -92/+95 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@627 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work | madmaxoft@gmail.com | 1 | -28/+132 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-15 | Rewritten ForEach using #define-s, new ones can be added as a simple one-liner | madmaxoft@gmail.com | 1 | -166/+86 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@618 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -614/+614 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-02 | Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua) | madmaxoft@gmail.com | 1 | -3/+94 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@534 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-11 | Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core plugin | faketruth | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@457 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6 | faketruth | 1 | -1/+1 | |
2012-02-15 | Can now pass any argument to cWorld:ForEachPlayer in Lua! But I'm not even using it.. lol | faketruth | 1 | -18/+46 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-14 | Got rid of cWorld::GetAllPlayers() and implemented ForEachPlayer() more or less in Lua | faketruth | 1 | -5/+61 | |
Core now uses ForEachPlayer() to interact with connected players git-svn-id: http://mc-server.googlecode.com/svn/trunk@260 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()! | madmaxoft@gmail.com | 1 | -2/+76 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@209 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-31 | Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPlugin | faketruth | 1 | -0/+59 | |
It should now be theoretically possible to upload files through WebAdmin git-svn-id: http://mc-server.googlecode.com/svn/trunk@203 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-30 | Added a WebAdmin interface to view users their groups, and the permissions of groups. | faketruth | 1 | -0/+22 | |
cChunk::Tick did an assertion in cCSLock, I used a cCSUnlock to fix it, but not sure if this is correct. git-svn-id: http://mc-server.googlecode.com/svn/trunk@194 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-28 | Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it. | faketruth | 1 | -0/+47 | |
Made some changes to WebAdmin to make the new plugins work Old plugins still work like they're supposed to Not all hooks have been programmed for the new plugins yet, this still needs to be done git-svn-id: http://mc-server.googlecode.com/svn/trunk@182 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+229 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |