Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Exported cPluginManager:ExecuteConsoleCommand() to Lua API. | Mattes D | 2015-05-10 | 1 | -1/+38 |
| | | | | Fixes #1999. | ||||
* | Merge remote-tracking branch 'origin/master' into warnings | Tiger Wang | 2015-05-10 | 1 | -6/+6 |
|\ | | | | | | | | | | | Conflicts: src/Mobs/Monster.cpp src/Vector3.h | ||||
| * | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -6/+6 |
| | | |||||
* | | Fixed some Visual Studio warnings | Tiger Wang | 2015-05-09 | 1 | -2/+2 |
|/ | |||||
* | Fixed inter-plugin calls. | Mattes D | 2015-05-07 | 1 | -0/+5 |
| | | | | | When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield". Fixes #1959. | ||||
* | Added support for additional data in the ParticleEffect Packet | tycho | 2015-05-07 | 1 | -1/+57 |
| | | | | Also started refactoring how broadcasts are handled | ||||
* | Fixed bindings for cFile:ReadWholeFile(). | Mattes D | 2015-04-30 | 1 | -7/+38 |
| | | | | Fixes #1914 | ||||
* | Added cBlockArea:GetNonAirCropRelCoords() API function. | Mattes D | 2015-04-29 | 1 | -0/+39 |
| | | | | Fixes #1915. | ||||
* | cPlayer now checks restrictions. | Mattes D | 2015-04-25 | 1 | -0/+32 |
| | | | | Fixes #1331. | ||||
* | Refactored ManualBindings' callbacks using templates. | Mattes D | 2015-04-23 | 1 | -365/+238 |
| | | | | | This is a bit easier to read, has better error reporting and fixes a few subtle bugs. Fixes #1889. | ||||
* | Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin(). | Mattes D | 2015-04-23 | 1 | -112/+169 |
| | | | | Both functions are exported as static. | ||||
* | Refactored cWebPlugin for C++11 style and proper WebTab clearing. | Mattes D | 2015-04-19 | 1 | -13/+7 |
| | |||||
* | Split the plugin names and plugin folders to avoid confusing them. | Mattes D | 2015-04-19 | 1 | -95/+117 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877 | ||||
* | Merge pull request #1826 from mc-server/UnifyPacketizer | Mattes D | 2015-03-24 | 1 | -1/+5 |
|\ | | | | | Unify packetizer | ||||
| * | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -1/+5 |
| | | |||||
* | | Added cPluginLua::cResettable interface, used for scheduled tasks. | Mattes D | 2015-03-20 | 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. | ||||
* | Improved DoWithID bindings. | Mattes D | 2015-03-19 | 1 | -3/+3 |
| | |||||
* | AllToLua: Removed an unneeded class declaration. | Mattes D | 2015-03-19 | 1 | -0/+2 |
| | | | | It's perfectly possible to declare a class in ManualBindings without the need for declaration in AllToLua.pkg. | ||||
* | Fixed coding conventions for Pull Request #1807 | flx5 | 2015-03-11 | 1 | -15/+18 |
| | |||||
* | Fixes #493 and #490 | flx5 | 2015-03-11 | 1 | -0/+16 |
| | |||||
* | Lua API: Fixed md5 and sha1 hex formatting. | Mattes D | 2015-03-03 | 1 | -4/+4 |
| | | | | std::setw() is only valid for one output operation and needs to be set again in each loop repetition. | ||||
* | Fixed operators | STRWarrior | 2015-02-23 | 1 | -6/+6 |
| | |||||
* | Added forgotten indent | STRWarrior | 2015-02-23 | 1 | -2/+2 |
| | |||||
* | Replaced lua_isXYZ with cLuaState::CheckParamXYZ | STRWarrior | 2015-02-23 | 1 | -12/+13 |
| | |||||
* | Exported all compression functions in a new class. | STRWarrior | 2015-02-23 | 1 | -16/+129 |
| | |||||
* | Exported CompressString and UncompressString to Lua | STRWarrior | 2015-02-22 | 1 | -0/+37 |
| | |||||
* | Added cCryptoHash namespace to Lua API. | Mattes D | 2015-02-21 | 1 | -2/+107 |
| | |||||
* | Fixed crash when logging nil values. | Matyas Dolak | 2015-02-20 | 1 | -0/+32 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1798 | ||||
* | cNetwork: Exported the Connect() method and cTCPLink class to Lua. | Mattes D | 2015-02-04 | 1 | -1/+2 |
| | |||||
* | Exported cWorld:PrepareChunk to Lua API, test in Debuggers. | Mattes D | 2014-12-12 | 1 | -0/+67 |
| | |||||
* | Added UpdateSign() method to DeprecatedBindings.cpp | Howaner | 2014-11-17 | 1 | -3/+2 |
| | |||||
* | Fixed a security problem with signs. | Howaner | 2014-11-15 | 1 | -1/+1 |
| | |||||
* | renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump | Lukas Pioch | 2014-11-05 | 1 | -2/+2 |
| | |||||
* | Added FindAndDoWithUUID | Lukas Pioch | 2014-11-02 | 1 | -0/+2 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -135/+135 |
| | |||||
* | Moved a few objects to unique_ptr | tycho | 2014-10-10 | 1 | -1/+1 |
| | |||||
* | Fixed crash in ForEachEntityInBox API. | madmaxoft | 2014-10-06 | 1 | -2/+6 |
| | | | | Fixes #1511. | ||||
* | Bindings: Fixed binding for cPlayer::PermissionMatches(). | madmaxoft | 2014-10-01 | 1 | -10/+4 |
| | |||||
* | Removed a few unnessicary includes | Tycho | 2014-09-26 | 1 | -2/+0 |
| | |||||
* | Exported ForEachEntityInBox() to Lua API. | madmaxoft | 2014-09-03 | 1 | -0/+70 |
| | |||||
* | Rewrited furnace.txt loading. | Howaner | 2014-08-31 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into CraftingFixes | Mattes D | 2014-08-28 | 1 | -44/+119 |
|\ | |||||
| * | Merge remote-tracking branch 'origin/master' into Ranks | Mattes D | 2014-08-22 | 1 | -5/+5 |
| |\ | |||||
| | * | Merge pull request #1308 from mc-server/logger | Mattes D | 2014-08-15 | 1 | -5/+5 |
| | |\ | | | | | | | | | New Logging framework | ||||
| | | * | Renamed Loggers | Tycho | 2014-08-12 | 1 | -5/+5 |
| | | | | |||||
| | | * | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 1 | -5/+5 |
| | | | | |||||
| * | | | cMojangAPI: Fixed MakeUUID___() bindings. | Mattes D | 2014-08-21 | 1 | -0/+58 |
| | | | | | | | | | | | | | | | | ToLua would generate a shadow return value for the input strings. | ||||
| * | | | cPlayer reads ranks from cRankManager. | Mattes D | 2014-08-19 | 1 | -39/+54 |
| | | | | |||||
| * | | | WebAdmin: Manually exported string conversion functions. | madmaxoft | 2014-08-09 | 1 | -1/+59 |
| | | | | | | | | | | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | ||||
| * | | | Merge remote-tracking branch 'origin/master' into Ranks | madmaxoft | 2014-08-09 | 1 | -1/+28 |
| |\ \ \ | |||||
| * | | | | Exported cRankManager to LuaAPI. | madmaxoft | 2014-08-08 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | Fixed spaces after "template" keyword. | Mattes D | 2014-08-28 | 1 | -6/+6 |
| |_|/ / |/| | | | |||||
* | | | | WebAdmin: Manually exported string conversion functions. | madmaxoft | 2014-08-09 | 1 | -1/+59 |
| |/ / |/| | | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | ||||
* | | | Removed debug message. | Howaner | 2014-08-07 | 1 | -1/+0 |
| |/ |/| | |||||
* | | Made lua clamp() compatible with all number types. | Howaner | 2014-08-05 | 1 | -4/+4 |
| | | |||||
* | | Added api documentation for Clamp() | Howaner | 2014-08-05 | 1 | -2/+2 |
| | | |||||
* | | Added Clamp() function to the lua api. | Howaner | 2014-08-05 | 1 | -0/+28 |
|/ | |||||
* | cMojangAPI: Added UUID-to-Name lookup. | madmaxoft | 2014-08-03 | 1 | -1/+97 |
| | | | | Also fixed the bindings, now all functions are static-like. | ||||
* | Merge pull request #1255 from mc-server/NameToUUID | Mattes D | 2014-08-01 | 1 | -0/+71 |
|\ | | | | | Name to UUID | ||||
| * | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). | madmaxoft | 2014-07-31 | 1 | -5/+14 |
| | | |||||
| * | ManualBindings: Fixed alignment. | madmaxoft | 2014-07-30 | 1 | -3/+3 |
| | | |||||
| * | Exported cMojangAPI to Lua. | madmaxoft | 2014-07-30 | 1 | -3/+6 |
| | | |||||
| * | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 2014-07-30 | 1 | -1/+1 |
| | | | | | | | | The cache is persisted into a SQLite DB file on server shutdown. | ||||
| * | Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API. | madmaxoft | 2014-07-28 | 1 | -3/+62 |
| | | |||||
* | | Exported the beacon. | Howaner | 2014-07-30 | 1 | -0/+2 |
|/ | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -30/+30 |
| | |||||
* | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -11/+11 |
| | |||||
* | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -13/+13 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -14/+13 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 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. | ||||
* | Fixed a silly path error in #include. | Mattes D | 2014-06-28 | 1 | -1/+1 |
| | |||||
* | Removed the md5 library, obsoleted by PolarSSL. | Mattes D | 2014-06-27 | 1 | -5/+6 |
| | | | | Fixes #1130. | ||||
* | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| | |||||
* | Added cBlockArea:GetCoordRange to Lua API. | madmaxoft | 2014-06-11 | 1 | -0/+32 |
| | |||||
* | Fixed bindings for cCompositeChat:SetMessageType(). | madmaxoft | 2014-05-30 | 1 | -2/+2 |
| | |||||
* | Fixed warnings in ManualBindings. | madmaxoft | 2014-05-01 | 1 | -20/+20 |
| | |||||
* | Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618) | jfhumann | 2014-04-26 | 1 | -1/+4 |
| | |||||
* | Merge branch 'MacFixes' | Tycho | 2014-04-02 | 1 | -0/+1 |
|\ | | | | | | | | | | | Conflicts: src/DeadlockDetect.cpp src/World.cpp | ||||
| * | 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 | 2014-03-25 | 1 | -0/+1 |
| | | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | ||||
* | | Exported the Base64 encoding and decoding functions to Lua API. | madmaxoft | 2014-04-01 | 1 | -0/+46 |
| | | |||||
* | | LOG() API reads the LogLevel from the cCompositeChat's MessageType. | madmaxoft | 2014-04-01 | 1 | -4/+13 |
| | | |||||
* | | Console logging supports cCompositeChat as its parameters. | madmaxoft | 2014-03-31 | 1 | -12/+34 |
|/ | |||||
* | cPlugin:BindConsoleCommand can be called statically. | madmaxoft | 2014-03-14 | 1 | -1/+4 |
| | | | | This has been documented before it was written. | ||||
* | cPluginManager:Bind[Console]Command returns true on success. | madmaxoft | 2014-03-14 | 1 | -2/+4 |
| | | | | Fixes #801. | ||||
* | Fixed cBlockArea schematic string saving signature. | madmaxoft | 2014-03-07 | 1 | -3/+7 |
| | |||||
* | Merge pull request #763 from Howaner/BlockEntitys | Mattes D | 2014-03-07 | 1 | -1/+3 |
|\ | | | | | Add Flower Pots | ||||
| * | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 2014-03-07 | 1 | -1/+1 |
| | | |||||
| * | Add Flower Pots | Howaner | 2014-03-07 | 1 | -0/+2 |
| | | |||||
* | | Fixed a typo. | madmaxoft | 2014-03-07 | 1 | -4/+4 |
| | | |||||
* | | Added cBlockArea serialization to string. | madmaxoft | 2014-03-07 | 1 | -6/+67 |
|/ | | | | Fixes #665. | ||||
* | Manually exported cCompositeChat modifiers. | madmaxoft | 2014-03-04 | 1 | -0/+258 |
| | | | | This adds chaining support to them. Fixes #755. | ||||
* | Exported cScoreboard::ForEachTeam | andrew | 2014-03-01 | 1 | -0/+1 |
| | |||||
* | Exported cScoreboard::ForEachObjective | andrew | 2014-03-01 | 1 | -0/+4 |
| | |||||
* | Attempted fix for several GCC warnings. | madmaxoft | 2014-02-26 | 1 | -2/+7 |
| | |||||
* | Merge pull request #669 from xdot/master | Tiger Wang | 2014-02-24 | 1 | -0/+4 |
|\ | | | | | Implementation of in-game maps :D | ||||
| * | Manually exported DoWithMap | andrew | 2014-02-23 | 1 | -0/+4 |
| | | |||||
* | | Added cBlockArea:GetSize() and :GetOrigin() to Lua API. | madmaxoft | 2014-02-23 | 1 | -0/+64 |
|/ | | | | These don't have a direct C++ equivalent, but are rather useful for the plugins. | ||||
* | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 2014-02-20 | 1 | -29/+104 |
| | | | | They no longer require the ghost output params. | ||||
* | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 1 | -2/+2 |
| | |||||
* | Add Heads completely | Howaner | 2014-02-18 | 1 | -0/+2 |
| | |||||
* | cWorld:ChunkStay() accepts nils as callbacks. | madmaxoft | 2014-02-11 | 1 | -5/+3 |
| | | | | Also removed leftover debug logging. | ||||
* | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 2014-02-10 | 1 | -16/+24 |
| | | | | This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready. | ||||
* | First working version of cLuaChunkStay. | madmaxoft | 2014-02-09 | 1 | -0/+41 |
| | | | | It works, but has random failures, probably due to threading issues. | ||||
* | Fixed cWorld:TryGetHeight() API. | madmaxoft | 2014-02-08 | 1 | -1/+5 |
| | |||||
* | Added cPluginManager:LogStackTrace() to the Lua API. | madmaxoft | 2014-02-05 | 1 | -0/+11 |
| | | | | Fixes #637. | ||||
* | Fixed a gcc warning in ManualBindings. | madmaxoft | 2014-02-04 | 1 | -2/+2 |
| | | | | Constructor member order... | ||||
* | Fixed cLineBlockTracer:Trace() signature. | madmaxoft | 2014-01-31 | 1 | -13/+27 |
| | |||||
* | Added cPluginManager:BindCommand() form to the API. | madmaxoft | 2014-01-31 | 1 | -1/+4 |
| | | | | That's the canonical way to call static functions. | ||||
* | Stupid Mistake fixed | Tycho | 2014-01-25 | 1 | -2/+2 |
| | |||||
* | Fixed exports | Tycho | 2014-01-25 | 1 | -2/+0 |
| | |||||
* | Fixed spelling error | Tycho | 2014-01-22 | 1 | -1/+1 |
| | |||||
* | Added manual bindings for moved functions | Tycho | 2014-01-22 | 1 | -0/+66 |
| | |||||
* | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 2014-01-21 | 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. | ||||
* | Changed the cWorld::ScheduleTask() signature. | madmaxoft | 2014-01-19 | 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. | ||||
* | Command blocks: Execute() | andrew | 2014-01-18 | 1 | -10/+12 |
| | |||||
* | Fixed whitespace in previous commit. | madmaxoft | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Finished exporting cWorld:ScheduleTask() to Lua API. | madmaxoft | 2014-01-16 | 1 | -1/+15 |
| | |||||
* | added cWorld::ScheduleTask Function | Tycho | 2014-01-14 | 1 | -4/+58 |
| | | | | | ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150 | ||||
* | Removed internal methods from public cLuaState interface. | madmaxoft | 2014-01-11 | 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. | ||||
* | Removed unused variables. | madmaxoft | 2014-01-11 | 1 | -2/+0 |
| | | | | The Lua API calls had no side-effects, either. | ||||
* | Exported cClientHandle::SendPluginMessage() to Lua. | madmaxoft | 2014-01-09 | 1 | -0/+30 |
| | |||||
* | Removed a debugging log output in cPluginManager:AddHook(). | madmaxoft | 2014-01-07 | 1 | -1/+0 |
| | |||||
* | Fixed cPluginManager:AddHook() binding. | madmaxoft | 2014-01-05 | 1 | -6/+13 |
| | | | | Fixes #401. Old formats are still accepted, for compatibility reasons. | ||||
* | Implemented note block playing and fixed wire | Tiger Wang | 2013-12-14 | 1 | -0/+2 |
| | | | | Game of Thrones music in Minecraft, here I come! | ||||
* | Fixed tolua++ compilation. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Duplicate files, wrong includes, const-incorrect code... | ||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -0/+2300 |
Ref.: #407 |