summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Debuggers/Debuggers.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Debuggers: Added continuous hunger reporting.madmaxoft2013-08-191-20/+49
| | | | Showcases the OnWorldTick() hook to fire events at regular intervals. Will be used for debugging the issues related to hyper-hunger.
* Debuggers plugin: Added details about pickups to the "/le" command.madmaxoft2013-08-191-1/+7
|
* Added cWindow property manipulation API.madmaxoft2013-08-181-0/+9
| | | | Now enchantment table and furnace properties can be set by a plugin
* Debuggers plugin: added the "/spidey" command.madmaxoft2013-08-071-11/+43
| | | | This showcases the cLineBlockTracer functionality exposed to Lua.
* Implemented OnPlayerRightClickingEntity() hookmadmaxoft2013-08-021-1/+11
| | | | Fixes FS 425
* Changed name and put the whitespace back, as per xoft's suggestion.Alexander Harkness2013-07-301-1/+11
|
* Removed old features and fix #25.Alexander Harkness2013-07-301-55/+0
|
* Changed everyting to Unix line endings.Alexander Harkness2013-07-291-744/+744
|
* Debuggers: added the /starve and /fl (foodlevel) commands for manipulating player food levelmadmaxoft2013-07-281-0/+27
|
* First implementation of movement-related hunger and APImadmaxoft@gmail.com2013-07-121-2/+41
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1673 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.madmaxoft@gmail.com2013-07-071-0/+36
| | | | | | Fixes FS #415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added DamageType translation to APImadmaxoft@gmail.com2013-07-011-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1639 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Plugins can modify message in the OnChat() hook handler.madmaxoft@gmail.com2013-06-221-0/+9
| | | | | | FS #376 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-awaremadmaxoft@gmail.com2013-06-041-3/+3
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1546 0a769ca7-a7f5-676a-18bf-c427514a06d6
* LuaWindow: Fixed memory leaks with unclosed windowsmadmaxoft@gmail.com2013-06-021-3/+3
| | | | | | | A player disconnecting will now force all windows to close, not respecting any plugin's overrides. http://forum.mc-server.org/showthread.php?tid=1146&pid=8350#pid8350 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1543 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the possibility to specify enchantments by name in the constructor and AddFromString() functionmadmaxoft@gmail.com2013-06-021-0/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1542 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Enchantments are now stored in Anvil world and in player inventorymadmaxoft@gmail.com2013-06-021-1/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1541 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Enchantments: API and sending to clientmadmaxoft@gmail.com2013-06-021-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slotsmadmaxoft@gmail.com2013-05-311-0/+6
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1535 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the OnClosing callback to cLuaWindow APImadmaxoft@gmail.com2013-05-301-0/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1534 0a769ca7-a7f5-676a-18bf-c427514a06d6
* LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com2013-05-301-5/+64
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Implemented droppersmadmaxoft@gmail.com2013-05-261-13/+12
| | | | | | 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
* Added all new bindings, refactored Debuggers; new Debuggers function.madmaxoft@gmail.com2013-05-251-104/+188
| | | | | | Rclk with a redstone torch on a dispenser causes the dispenser to spit out one item each tick. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1509 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com2013-05-241-4/+4
| | | | | | This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Inventory changes made by plugins are now propagated to the clientmadmaxoft@gmail.com2013-05-191-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers: a simple test of armor slot settingmadmaxoft@gmail.com2013-05-191-2/+12
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1494 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers: sorted things into separate functions, commented out most of them; added ForEachEntity() testing - list all and kill all entities.madmaxoft@gmail.com2013-05-191-33/+130
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1492 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added Expat and LuaExpat, XML parsing now available in the API.madmaxoft2013-04-091-0/+27
| | | | | | | FS #336 Windows version only, Linux to be fixed soon. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1374 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added SQLite and LuaSQLite, Lua plugins can now use SQLite.madmaxoft@gmail.com2013-04-071-0/+30
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1368 0a769ca7-a7f5-676a-18bf-c427514a06d6
* BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.madmaxoft@gmail.com2013-03-261-0/+31
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6
* BlockArea: Implemented rotation without meta manipulationmadmaxoft@gmail.com2013-03-251-0/+12
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1317 0a769ca7-a7f5-676a-18bf-c427514a06d6
* BlockArea: Implemented mirroring without meta manipulationmadmaxoft@gmail.com2013-03-251-0/+18
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1316 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers plugin no longer performs generator / blockarea interface testing by default, but writes the current API.txt file.madmaxoft@gmail.com2013-03-031-2/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1245 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Implemented the cBlockArea:RelLine() API function.madmaxoft@gmail.com2013-02-131-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1211 0a769ca7-a7f5-676a-18bf-c427514a06d6
* More API functions in cBlockArea: Create(), Fill(), FillRelArea()madmaxoft@gmail.com2013-02-111-0/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1208 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cBlockArea:Merge() API function to merge two block areas using different strategies.madmaxoft@gmail.com2013-02-101-0/+14
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1207 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cBlockArea:Expand() API function (untested)madmaxoft@gmail.com2013-02-091-4/+18
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1203 0a769ca7-a7f5-676a-18bf-c427514a06d6
* cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com2013-02-081-2/+18
| | | | | | A simple example is provided in the Debuggers plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1201 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.madmaxoft@gmail.com2013-02-071-3/+6
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1199 0a769ca7-a7f5-676a-18bf-c427514a06d6
* cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com2013-02-071-0/+19
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6
* cBlockArea can now be loaded from a .schematic file.madmaxoft@gmail.com2013-02-061-0/+17
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1195 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a new API call to cBlockArea: Crop().madmaxoft@gmail.com2013-02-061-1/+30
| | | | | | Also fixed cBlockArea:MakeIndex(), the indexing was wrong. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1194 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers plugin dumps entire API into a file, API.txt. Enabled by default.madmaxoft@gmail.com2013-02-021-6/+17
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1188 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Debuggers: added some filtering to the API output, but still not good enough.madmaxoft@gmail.com2013-01-271-7/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1177 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a function to dump all available Lua API functions into the Debuggers plugin.madmaxoft@gmail.com2013-01-261-0/+23
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1173 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Forgotten files for previous merge commit (rev 1139)madmaxoft@gmail.com2013-01-131-6/+10
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1140 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added TakeDamage logging to the Debuggers plugin.madmaxoft@gmail.com2012-12-211-0/+11
| | | | | | http://forum.mc-server.org/showthread.php?tid=625&pid=5720#pid5720 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1089 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Turned sTick plugin into general Debuggers plugin, added the Blaze Rod Of Enquiry (rclk with a blaze rod prints out the blocktypes and metas)madmaxoft@gmail.com2012-10-161-0/+69
git-svn-id: http://mc-server.googlecode.com/svn/trunk@968 0a769ca7-a7f5-676a-18bf-c427514a06d6