Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 |