summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2015-04-23Refactored ManualBindings' callbacks using templates.Mattes D1-365/+238
2015-04-23Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().Mattes D1-112/+169
2015-04-19Refactored cWebPlugin for C++11 style and proper WebTab clearing.Mattes D1-13/+7
2015-04-19Split the plugin names and plugin folders to avoid confusing them.Mattes D1-95/+117
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D1-1/+5
2015-03-20Added cPluginLua::cResettable interface, used for scheduled tasks.Mattes D1-10/+22
2015-03-19Improved DoWithID bindings.Mattes D1-3/+3
2015-03-19AllToLua: Removed an unneeded class declaration.Mattes D1-0/+2
2015-03-11Fixed coding conventions for Pull Request #1807flx51-15/+18
2015-03-11Fixes #493 and #490flx51-0/+16
2015-03-03Lua API: Fixed md5 and sha1 hex formatting.Mattes D1-4/+4
2015-02-23Fixed operatorsSTRWarrior1-6/+6
2015-02-23Added forgotten indentSTRWarrior1-2/+2
2015-02-23Replaced lua_isXYZ with cLuaState::CheckParamXYZSTRWarrior1-12/+13
2015-02-23Exported all compression functions in a new class.STRWarrior1-16/+129
2015-02-22Exported CompressString and UncompressString to LuaSTRWarrior1-0/+37
2015-02-21Added cCryptoHash namespace to Lua API.Mattes D1-2/+107
2015-02-20Fixed crash when logging nil values.Matyas Dolak1-0/+32
2015-02-04cNetwork: Exported the Connect() method and cTCPLink class to Lua.Mattes D1-1/+2
2014-12-12Exported cWorld:PrepareChunk to Lua API, test in Debuggers.Mattes D1-0/+67
2014-11-17Added UpdateSign() method to DeprecatedBindings.cppHowaner1-3/+2
2014-11-15Fixed a security problem with signs.Howaner1-1/+1
2014-11-05renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDumpLukas Pioch1-2/+2
2014-11-02Added FindAndDoWithUUIDLukas Pioch1-0/+2
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-135/+135
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-135/+135
2014-10-10Moved a few objects to unique_ptrtycho1-1/+1
2014-10-06Fixed crash in ForEachEntityInBox API.madmaxoft1-2/+6
2014-10-01Bindings: Fixed binding for cPlayer::PermissionMatches().madmaxoft1-10/+4
2014-09-26Removed a few unnessicary includesTycho1-2/+0
2014-09-03Exported ForEachEntityInBox() to Lua API.madmaxoft1-0/+70
2014-08-31Rewrited furnace.txt loading.Howaner1-1/+1
2014-08-28Fixed spaces after "template" keyword.Mattes D1-6/+6
2014-08-21cMojangAPI: Fixed MakeUUID___() bindings.Mattes D1-0/+58
2014-08-19cPlayer reads ranks from cRankManager.Mattes D1-39/+54
2014-08-12Renamed LoggersTycho1-5/+5
2014-08-10First Implementatation of new Loggin frameworkTycho1-5/+5
2014-08-09WebAdmin: Manually exported string conversion functions.madmaxoft1-1/+59
2014-08-09WebAdmin: Manually exported string conversion functions.madmaxoft1-1/+59
2014-08-08Exported cRankManager to LuaAPI.madmaxoft1-0/+2
2014-08-07Removed debug message.Howaner1-1/+0
2014-08-05Made lua clamp() compatible with all number types.Howaner1-4/+4
2014-08-05Added api documentation for Clamp()Howaner1-2/+2
2014-08-05Added Clamp() function to the lua api.Howaner1-0/+28
2014-08-03cMojangAPI: Added UUID-to-Name lookup.madmaxoft1-1/+97
2014-07-31MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames().madmaxoft1-5/+14
2014-07-30Exported the beacon.Howaner1-0/+2
2014-07-30ManualBindings: Fixed alignment.madmaxoft1-3/+3
2014-07-30Exported cMojangAPI to Lua.madmaxoft1-3/+6
2014-07-30Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft1-1/+1
2014-07-28Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API.madmaxoft1-3/+62
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-30/+30
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-11/+11
2014-07-19Fixed style: spaces after commas.madmaxoft1-13/+13
2014-07-17Basic style fixes.madmaxoft1-14/+13
2014-07-17Normalized comments.madmaxoft1-2/+2
2014-06-28Fixed a silly path error in #include.Mattes D1-1/+1
2014-06-27Removed the md5 library, obsoleted by PolarSSL.Mattes D1-5/+6
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-06-11Added cBlockArea:GetCoordRange to Lua API.madmaxoft1-0/+32
2014-05-30Fixed bindings for cCompositeChat:SetMessageType().madmaxoft1-2/+2
2014-05-01Fixed warnings in ManualBindings.madmaxoft1-20/+20
2014-04-26Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618)jfhumann1-1/+4
2014-04-01Exported the Base64 encoding and decoding functions to Lua API.madmaxoft1-0/+46
2014-04-01LOG() API reads the LogLevel from the cCompositeChat's MessageType.madmaxoft1-4/+13
2014-03-31Console logging supports cCompositeChat as its parameters.madmaxoft1-12/+34
2014-03-25More 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 Barney1-0/+1
2014-03-14cPlugin:BindConsoleCommand can be called statically.madmaxoft1-1/+4
2014-03-14cPluginManager:Bind[Console]Command returns true on success.madmaxoft1-2/+4
2014-03-07Fixed cBlockArea schematic string saving signature.madmaxoft1-3/+7
2014-03-07Fixed a typo.madmaxoft1-4/+4
2014-03-07Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner1-1/+1
2014-03-07Added cBlockArea serialization to string.madmaxoft1-6/+67
2014-03-07Add Flower PotsHowaner1-0/+2
2014-03-04Manually exported cCompositeChat modifiers.madmaxoft1-0/+258
2014-03-01Exported cScoreboard::ForEachTeamandrew1-0/+1
2014-03-01Exported cScoreboard::ForEachObjectiveandrew1-0/+4
2014-02-26Attempted fix for several GCC warnings.madmaxoft1-2/+7
2014-02-23Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft1-29/+104
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-2/+2
2014-02-23Add Heads completelyHowaner1-0/+2
2014-02-23Added cBlockArea:GetSize() and :GetOrigin() to Lua API.madmaxoft1-0/+64
2014-02-23Manually exported DoWithMapandrew1-0/+4
2014-02-20Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft1-29/+104
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-2/+2
2014-02-18Add Heads completelyHowaner1-0/+2
2014-02-11cWorld:ChunkStay() accepts nils as callbacks.madmaxoft1-5/+3
2014-02-10Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft1-16/+24
2014-02-09First working version of cLuaChunkStay.madmaxoft1-0/+41
2014-02-08Fixed cWorld:TryGetHeight() API.madmaxoft1-1/+5
2014-02-05Fixed most of the reordering warningsTycho1-2/+2
2014-02-05Added cPluginManager:LogStackTrace() to the Lua API.madmaxoft1-0/+11
2014-02-04Fixed a gcc warning in ManualBindings.madmaxoft1-2/+2
2014-01-31Fixed cLineBlockTracer:Trace() signature.madmaxoft1-13/+27
2014-01-31Added cPluginManager:BindCommand() form to the API.madmaxoft1-1/+4
2014-01-25Stupid Mistake fixedTycho1-2/+2
2014-01-25Fixed exportsTycho1-2/+0
2014-01-22Fixed spelling errorTycho1-1/+1
2014-01-22Added manual bindings for moved functionsTycho1-0/+66
2014-01-21Implemented cPluginManager:CallPlugin() API.madmaxoft1-100/+96
2014-01-19Changed the cWorld::ScheduleTask() signature.madmaxoft1-10/+14
2014-01-18Command blocks: Execute()andrew1-10/+12
2014-01-16Fixed whitespace in previous commit.madmaxoft1-1/+1
2014-01-16Finished exporting cWorld:ScheduleTask() to Lua API.madmaxoft1-1/+15
2014-01-14added cWorld::ScheduleTask FunctionTycho1-4/+58
2014-01-11Removed internal methods from public cLuaState interface.madmaxoft1-72/+26
2014-01-11Removed unused variables.madmaxoft1-2/+0
2014-01-09Exported cClientHandle::SendPluginMessage() to Lua.madmaxoft1-0/+30
2014-01-07Removed a debugging log output in cPluginManager:AddHook().madmaxoft1-1/+0
2014-01-05Fixed cPluginManager:AddHook() binding.madmaxoft1-6/+13
2013-12-14Implemented note block playing and fixed wireTiger Wang1-0/+2
2013-12-08Fixed tolua++ compilation.madmaxoft1-1/+1
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-12/+12
2013-12-05Added cPluginManager:GetCurrentPlugin() to Lua API.madmaxoft1-7/+22
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-23Fixed Lua bindings for cFile:GetFolderContents().madmaxoft1-1/+1
2013-11-22Added cFile:GetFolderContents().madmaxoft1-0/+27
2013-11-22Fixed cRoot:GetFurnaceRecipe() Lua binding.madmaxoft1-3/+4
2013-11-22Changed cRoot:GetFurnaceRecipe() Lua binding signature.madmaxoft1-0/+40
2013-11-20Added cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt() functions.madmaxoft1-20/+22
2013-11-13cPluginManager:BindCommand() and :BindConsoleComman() now report full Lua stacktrace on failure.madmaxoft1-2/+6
2013-11-09Removed cStringMap.madmaxoft1-1/+0
2013-10-23Fixed bindings for cHopperEntity:GetOutputBlockPos().madmaxoft1-0/+44
2013-10-13Re-added the cWorld:GetSignLines() to the API.madmaxoft1-0/+1
2013-10-12Fixed and exported cWorld:QueueTask().madmaxoft1-0/+65
2013-09-18Improved error message in cPlugin:AddWebTab() API.madmaxoft1-4/+6
2013-09-18cPluginManager:BindConsoleCommand can be called with the dot operator, too.madmaxoft1-15/+20
2013-09-18cPluginManager:BindCommand can be called with the dot operator, too.madmaxoft1-12/+19
2013-09-15Fixed previous commit.madmaxoft1-1/+1
2013-09-15Fixed API bindings of cWorld:GetSignLines(), exported cWorld:UseBlockEntity().madmaxoft1-2/+55
2013-09-15Fixed cWorld bindings for GetBlockInfo() and GetBlockTypeMeta().madmaxoft1-0/+110
2013-09-11Added StringSplitAndTrim() to Lua APImadmaxoft1-6/+22
2013-08-27Implemented basic physics for projectiles.madmaxoft1-2/+4
2013-08-21cPluginManager.AddHook old-style API usage prints the stack trace.madmaxoft1-0/+1
2013-08-21Added a deprecation warning to the old style API.madmaxoft1-0/+1
2013-08-21Hook adding uses the new API.madmaxoft1-0/+152
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-19Finished renaming cPlugin_NewLua to cPluginLua.madmaxoft1-17/+17
2013-08-10Renamed Plugin_NewLua to PluginLua.madmaxoft1-2/+1
2013-08-09Renamed Plugin_NewLua to PluginLua.madmaxoft1-2/+1
2013-08-08LuaState refactoring: using templates for hook function calls.madmaxoft1-15/+15
2013-08-07Added cLineBlockTracer to the APImadmaxoft1-4/+176
2013-08-06Fixed compilation in ManualBindingsmadmaxoft1-1/+1
2013-08-06cLuaState is used for pushing splits in ManualBindingsmadmaxoft1-23/+8
2013-08-05Exported the cWorld:TryGetHeight() functionmadmaxoft1-0/+47
2013-08-05Exported cWorld:DoWithEntityByID() to Lua APImadmaxoft1-202/+293
2013-08-05Alpha-sorted the manual bindings' functions.madmaxoft1-13/+13
2013-08-04LuaState refactoring: initial part.madmaxoft1-9/+10
2013-07-29WebAdmin templates can use LuaFakeTruth1-0/+61
2013-06-12Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return valuesmadmaxoft@gmail.com1-0/+55
2013-06-05Added LOGWARNING() function to Lua API, as a synonym to LOGWARN()madmaxoft@gmail.com1-2/+2
2013-06-04ToLuaDoxy: initial importmadmaxoft@gmail.com1-2/+2
2013-05-31Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slotsmadmaxoft@gmail.com1-7/+12
2013-05-30Added the OnClosing callback to cLuaWindow APImadmaxoft@gmail.com1-0/+39
2013-05-30LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com1-7/+73
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-4/+4
2013-05-26Implemented droppersmadmaxoft@gmail.com1-2/+6
2013-05-25Fixed the cWorld:DoWithChestAt(), DoWithDispenserAt() and DoWithFurnaceAt() callbacks binding.madmaxoft@gmail.com1-5/+21
2013-05-24Slight cleanup in the cInventory / cItemGrid APImadmaxoft@gmail.com1-1/+1
2013-04-10Fixed gcc buildmadmaxoft@gmail.com1-10/+12
2013-04-10Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com1-0/+42
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com1-86/+159
2013-02-10Fixed ASSERT / VERIFY mismatch in ManualBindings' error handlingmadmaxoft@gmail.com1-4/+4
2013-02-03Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorldfaketruth1-377/+392
2013-02-02Fixed GCC error in ManualBindingsmadmaxoft@gmail.com1-1/+1
2013-02-01Moved command API into cPluginManager.madmaxoft@gmail.com1-16/+126
2013-01-27Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com1-1/+1
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-13/+4
2012-10-21Fixed manual bindings' ForEachXXX mapping not checking the object instance for validity.madmaxoft@gmail.com1-0/+5
2012-10-14Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth1-6/+16
2012-10-11Got rid of "self" in plugins, which is deprecated anywayfaketruth1-1/+1
2012-10-11Can now send usertypes (cPlayer, cEntity, cCuboid) along with a plugin:Call()faketruth1-2/+25
2012-10-10Added functionality so one plugin can call functions on another plugin :Dfaketruth1-0/+85
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-10/+10
2012-09-02Exported cWorld::DoWithChestAt to Luafaketruth1-0/+93
2012-08-23Added plugin name to deprecation messagesmadmaxoft@gmail.com1-1/+4
2012-08-23Added a RateCompareString function to StringUtilsfaketruth1-82/+94
2012-08-22WebAdmin should not cause crashes anymorefaketruth1-8/+19
2012-07-02Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function.madmaxoft@gmail.com1-0/+92
2012-06-17Removed the deprecated GetBlockEntity(), added several enumerators to replace it.madmaxoft@gmail.com1-6/+10
2012-06-17Macro-ized the ForEachSomethingInChunk Lua glue code (will soon be used for block entities, too)madmaxoft@gmail.com1-92/+95
2012-06-16Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually workmadmaxoft@gmail.com1-28/+132
2012-06-15Rewritten ForEach using #define-s, new ones can be added as a simple one-linermadmaxoft@gmail.com1-166/+86
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-614/+614
2012-06-02Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)madmaxoft@gmail.com1-3/+94
2012-04-11Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core pluginfaketruth1-0/+6
2012-02-16git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6faketruth1-1/+1
2012-02-15Can now pass any argument to cWorld:ForEachPlayer in Lua! But I'm not even using it.. lolfaketruth1-18/+46
2012-02-14Got rid of cWorld::GetAllPlayers() and implemented ForEachPlayer() more or less in Luafaketruth1-5/+61
2012-02-01Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com1-2/+76
2012-01-31Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPluginfaketruth1-0/+59
2012-01-30Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth1-0/+22
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-1/+3
2012-01-28Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it.faketruth1-0/+47
2011-10-03MCServer c++ source filesfaketruth1-0/+229