summaryrefslogtreecommitdiffstats
path: root/source/Bindings.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2013-08-27Added g_BlockIsXXX[] arrays to the API.madmaxoft1-1/+181
2013-08-25Added a few API accessors to cArrowEntity.madmaxoft1-1/+170
2013-08-24Fixed inconsistent metas and added snow metasTiger Wang1-24/+32
2013-08-22Added skeleton code for projectile spawning.madmaxoft1-247/+345
2013-08-21Hook adding uses the new API.madmaxoft1-37/+3
2013-08-21Added cWorld:GetIniFileName() to the Lua API.madmaxoft1-3/+36
2013-08-19Added cPickup:IsCollected() to the Lua API.madmaxoft1-1/+34
2013-08-19Added cPickup:GetAge() the the Lua API.madmaxoft1-1/+34
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-5/+5
2013-08-19Finished renaming cPlugin_NewLua to cPluginLua.madmaxoft1-11/+12
2013-08-18Implemented cWorld:QueueSetBlock(), as requested for delayed blocksetting.madmaxoft1-1/+81
2013-08-18Added cWindow property manipulation API.madmaxoft1-1/+70
2013-08-18Disabled Lua virtual hooks.madmaxoft1-1955/+16
2013-08-17Added cRoot:BroadcastChat() to the Lua API.madmaxoft1-1/+36
2013-08-16Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft1-31/+36
2013-08-15Exported cWorld:DoExplosionAt() to Lua API.madmaxoft1-1/+47
2013-08-14Fixed wrong names for some metas.madmaxoft1-9/+9
2013-08-14Player counts are now properly handled.madmaxoft1-3/+3
2013-08-13Exported cWorld:BroadcastChat() to the Lua API; used in the Core.madmaxoft1-1/+38
2013-08-13Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft1-85/+1
2013-08-12Added quartz stairs.STRWarrior1-30581/+30582
2013-08-12Removed cServer::BroadcastChat() and cServer::SendMessage().madmaxoft1-77/+1
2013-08-11Added cWorld:QueueSaveAllChunks() function for saving chunks asynchronously.madmaxoft1-1/+33
2013-08-11Moved MaxPlayers and Description from cWorld to cServer.madmaxoft1-101/+134
2013-08-11Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft1-4/+9
2013-08-10Renamed Plugin_NewLua to PluginLua.madmaxoft1-1/+1
2013-08-09Renamed Plugin_NewLua to PluginLua.madmaxoft1-1/+1
2013-08-09Added OnExploding() and OnExploded() hooks.madmaxoft1-31/+236
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-10/+24
2013-08-07Added cLineBlockTracer to the APImadmaxoft1-50/+111
2013-08-02Implemented OnPlayerRightClickingEntity() hookmadmaxoft1-1/+2
2013-07-29Updated the nightbuild script for Gitmadmaxoft1-1/+1
2013-07-29WebAdmin: Removed the duplicate memory usage queryingmadmaxoft1-7/+3
2013-07-29Updated the automatic Lua bindingsmadmaxoft1-87/+222
2013-07-29WebAdmin templates can use LuaFakeTruth1-26/+401
2013-07-28Player eating is now properly broadcast to other players.madmaxoft1-87/+222
2013-07-26cInventory: Added the ChangeSlotCount() function to the Lua APImadmaxoft@gmail.com1-1/+38
2013-07-12Added a StringToMobType() function to the Lua API (patch contributed by STR_Warrior)madmaxoft@gmail.com1-1/+32
2013-07-12First implementation of movement-related hunger and APImadmaxoft@gmail.com1-51/+323
2013-07-07Added StringUtils functions to Lua API; added StripColorCodes(); ChatLog now strips color codes from logged messages.madmaxoft@gmail.com1-1/+165
2013-07-07Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.madmaxoft@gmail.com1-9/+252
2013-07-03Empty buckets replace fluid buckets on use and vice versa (patch contributed by Mgueydan)madmaxoft1-2/+2
2013-07-01Added DamageType translation to APImadmaxoft@gmail.com1-32/+93
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-1189/+1235
2013-06-29Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com1-59/+25
2013-06-22Added the End height and composition generators.madmaxoft@gmail.com1-5/+67
2013-06-21Dispensers dispense primed TNTmadmaxoft@gmail.com1-3/+5
2013-06-21Simulators are woken up after an explosion.madmaxoft@gmail.com1-1/+83
2013-06-20Furnaces light up visually when they're cookingmadmaxoft@gmail.com1-5/+13
2013-06-18Added the API for spawning primed TNTsmadmaxoft@gmail.com1-1/+41
2013-06-16Rewritten furnacesmadmaxoft@gmail.com1-22/+485
2013-06-15Entity: Added IsTNTnielsbreu@gmail.com1-1/+34
2013-06-13cItemGrid: Added IsSlotEmpty() functionsmadmaxoft@gmail.com1-1/+68
2013-06-12ChestEntity: fixed bindingsmadmaxoft@gmail.com1-19/+1
2013-06-12Implemented the Hopper block handlermadmaxoft@gmail.com1-8/+13
2013-06-12Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return valuesmadmaxoft@gmail.com1-53/+1
2013-06-09Fixed previous commit.nielsbreu@gmail.com1-704/+3272
2013-06-09Added SetTicksUntilWeatherChange/GetTicksUntilWeatherChange. to set/get the amount of ticks before the weather changes. Added SendBlockChange to Lua to create "fake" blocksnielsbreu@gmail.com1-3272/+813
2013-06-04Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlersmadmaxoft@gmail.com1-261/+24
2013-06-04Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-awaremadmaxoft@gmail.com1-5/+98
2013-06-02Added the possibility to specify enchantments by name in the constructor and AddFromString() functionmadmaxoft@gmail.com1-1/+33
2013-06-02Enchantments: API and sending to clientmadmaxoft@gmail.com1-35/+492
2013-06-01cItem constructor changed to create single-piece items when not given countmadmaxoft@gmail.com1-17/+85
2013-05-30LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com1-4/+590
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-7/+73
2013-05-28Chunk / ChunkMap: Added support for unbounded querying blocktype-only or blockmeta-onlymadmaxoft@gmail.com1-1/+35
2013-05-26Fixed cItemGrid API, no more changeable GetSlot().madmaxoft@gmail.com1-5/+5
2013-05-26Block entities with storage now correctly mark the chunk as dirty when their contents change.madmaxoft@gmail.com1-1/+67
2013-05-26Implemented droppersmadmaxoft@gmail.com1-103/+334
2013-05-25Added all new bindings, refactored Debuggers; new Debuggers function.madmaxoft@gmail.com1-235/+455
2013-05-24Slight cleanup in the cInventory / cItemGrid APImadmaxoft@gmail.com1-35/+203
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-195/+767
2013-05-21Fixed linking error from rev 1498madmaxoft@gmail.com1-8/+142
2013-05-19Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com1-39/+185
2013-05-12cItems: Added runtime bounds-checking to avoid server crashes with badly written plugins.madmaxoft@gmail.com1-66/+26
2013-05-09Fixed error while compiling.nielsbreu@gmail.com1-13/+41
2013-05-09function SpawnItemPickups is now exported to Lua. Lua is able to create a Items object.nielsbreu@gmail.com1-0/+166
2013-05-08Refactored window clicking code to use different click actionsmadmaxoft@gmail.com1-8/+141
2013-04-28Added dtAdmin damage type for use in pluginsmadmaxoft@gmail.com1-1/+3
2013-04-18Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com1-1/+2
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-34/+1
2013-04-11Fixed a bit of coding style and function names in cItemmadmaxoft@gmail.com1-17/+17
2013-04-10Dispensers rewritten to use ItemGridmadmaxoft@gmail.com1-1/+44
2013-04-10ItemGrid: Renamed all Item to Slot - better and consistent namingmadmaxoft@gmail.com1-57/+57
2013-04-10Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com1-11/+762
2013-04-06Mineshafts: Added random loot to generated chests and fixed chest directionmadmaxoft@gmail.com1-3/+250
2013-03-31MineShafts: Added tracks to corridorsmadmaxoft@gmail.com1-1/+3
2013-03-31cChunkDesc: Added the RandomFillRelCuboid() functionmadmaxoft@gmail.com1-1/+90
2013-03-31cCuboid: Added the IsCompletelyInside() functionmadmaxoft@gmail.com1-1/+36
2013-03-31Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid()madmaxoft@gmail.com1-1/+126
2013-03-30ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords.madmaxoft@gmail.com1-12/+102
2013-03-29ChunkDesc: Cuboid-based manipulationmadmaxoft@gmail.com1-1/+114
2013-03-29Cuboid: Added DoesIntersect(), more IsInside() and more constructorsmadmaxoft@gmail.com1-2/+245
2013-03-29Cuboid: Added the DifX/Y/Z functionsmadmaxoft@gmail.com1-74/+173
2013-03-25BlockArea: Implemented mirroring without meta manipulationmadmaxoft@gmail.com1-3/+729
2013-03-19Updated bindings for new cChunkDesc functionsmadmaxoft@gmail.com1-3/+6
2013-03-17Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging)madmaxoft@gmail.com1-3/+138
2013-03-14Added water and lava springs.madmaxoft@gmail.com1-1/+37
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-15/+83
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com1-364/+7
2013-03-03Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com1-1/+35
2013-03-03Added missing item types, fixed placing stone walls.madmaxoft@gmail.com1-1/+12
2013-03-01Updated cEntity API; removed functions that are unusable from Lua, added a few query functions.madmaxoft@gmail.com1-175/+453
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com1-346/+137
2013-02-21Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands.madmaxoft@gmail.com1-1/+3
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-139/+15
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com1-35/+172
2013-02-13Exported forgotten API functions in cPluginManager: ExecuteCommand(), ForceExecuteCommand()madmaxoft@gmail.com1-1/+77
2013-02-13Added HOOK_WEATHER_CHANGING.madmaxoft@gmail.com1-5/+60
2013-02-11More API functions in cBlockArea: Create(), Fill(), FillRelArea()madmaxoft@gmail.com1-1/+208
2013-02-10Added cBlockArea:Merge() API function to merge two block areas using different strategies.madmaxoft@gmail.com1-3/+48
2013-02-09Added cBlockArea:Expand() API function (untested)madmaxoft@gmail.com1-1/+45
2013-02-08cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com1-8/+222
2013-02-08Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities.madmaxoft@gmail.com1-31/+111
2013-02-07Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.madmaxoft@gmail.com1-1/+69
2013-02-07cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com1-1/+37
2013-02-06cBlockArea can now be loaded from a .schematic file.madmaxoft@gmail.com1-1/+37
2013-02-06Added a new API call to cBlockArea: Crop().madmaxoft@gmail.com1-2/+46
2013-02-05Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com1-1/+62
2013-02-01Moved command API into cPluginManager.madmaxoft@gmail.com1-135/+69
2013-01-28Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.madmaxoft@gmail.com1-2/+2
2013-01-28Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.madmaxoft@gmail.com1-6/+6
2013-01-27Added cItems to Lua API.madmaxoft@gmail.com1-284/+282
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/+2
2013-01-27Removed cMCLogger from Lua APImadmaxoft@gmail.com1-153/+7
2013-01-26Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names.madmaxoft@gmail.com1-2/+2
2013-01-25Merged the usable portion of the "gens" branch.madmaxoft@gmail.com1-109/+177
2013-01-18Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK.madmaxoft@gmail.com1-2/+3
2013-01-14Fixed missing bindings in cPluginmadmaxoft@gmail.com1-6/+103
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-3404/+86
2013-01-04cBlockArea now has a GetBlockTypeMeta() and GetRelBlockTypeMeta() methodsmadmaxoft@gmail.com1-1/+89
2012-12-28cPickup now uses full cItem, instead of a pointermadmaxoft@gmail.com1-80/+26
2012-12-22MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)madmaxoft@gmail.com1-50/+269
2012-12-21Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com1-100/+124
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-39/+157
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com1-333/+1393
2012-11-20Added primary server version interface to cRoot and "primaryserverversion" console command.madmaxoft@gmail.com1-1/+69
2012-11-11Cleanup: Removed deprecated functions from Lua APImadmaxoft@gmail.com1-103/+1
2012-11-11Hopefully a fix for crash when chunks are added to a client being destroyed.madmaxoft@gmail.com1-4/+4
2012-11-01Refactored the world time.madmaxoft@gmail.com1-17/+183
2012-10-31Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com1-1/+32
2012-10-28Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua APImadmaxoft@gmail.com1-9/+146
2012-10-20Double chests are now working, and with sound. (FS #69)madmaxoft@gmail.com1-36/+3
2012-10-20Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block.madmaxoft@gmail.com1-124/+213
2012-10-18Converted some const char*s and std::strings to AStringsfaketruth1-29/+202
2012-10-14Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth1-166/+334
2012-10-13Added delayed ticking to Lua APImadmaxoft@gmail.com1-1/+113
2012-10-06BlockArea writing support (BlockTypes with BlockMeta only)madmaxoft@gmail.com1-1/+300
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-14/+94
2012-10-03Added BLOCK_FACE_NONE into the plugin APImadmaxoft@gmail.com1-1/+46
2012-09-24Fixed Lua bindings for file renaming in previous commitsmadmaxoft@gmail.com1-1/+1
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-28/+28
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-2/+2
2012-09-23Source files cleanup: Removed unused cBlockToPickupmadmaxoft@gmail.com1-5/+35
2012-09-08Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.faketruth1-1/+34
2012-09-08Added the ItemToString() and ItemTypeToString() functions.madmaxoft@gmail.com1-1/+167
2012-09-02ToLua does not like the override keyword :(faketruth1-44/+12
2012-09-02Exported cWorld::DoWithChestAt to Luafaketruth1-27/+310
2012-09-01Added a Player parameter to OnUpdatedSign and OnUpdatingSign Lua callbacks and to the cWorld:UpdateSign method (http://forum.mc-server.org/showthread.php?tid=464&pid=4393#pid4393)madmaxoft@gmail.com1-31/+45
2012-08-29Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com1-60/+4
2012-08-27Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com1-2/+2
2012-08-25cSocket doesn't use cPackets.madmaxoft@gmail.com1-5/+5
2012-08-24cPickup doesn't use cPackets.madmaxoft@gmail.com1-35/+36
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-124/+93
2012-08-23Added plugin name to deprecation messagesmadmaxoft@gmail.com1-226/+11
2012-08-22WebAdmin should not cause crashes anymorefaketruth1-67/+131
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-28/+29
2012-08-19Another handful of packets rewritten.madmaxoft@gmail.com1-16/+17
2012-08-18Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com1-29/+33
2012-08-18Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com1-1649/+1019
2012-08-11Updated Bindings to match the new armor categories and torch metasmadmaxoft@gmail.com1-1/+126
2012-08-10Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL)madmaxoft@gmail.com1-20/+24
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-26/+25
2012-07-29Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.madmaxoft@gmail.com1-2/+3
2012-07-15A new Block handling system :olapayo94@gmail.com1-45/+9
2012-07-15Removed the deprecated confusing E_BLOCK_WOODmadmaxoft@gmail.com1-2/+2
2012-07-09Improved Squirrel Bindingslapayo94@gmail.com1-1/+1
2012-07-09BlockArea name change revertedlapayo94@gmail.com1-1/+1
2012-07-08Squirrel Pluginslapayo94@gmail.com1-2/+2
2012-07-02BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypesmadmaxoft@gmail.com1-1/+29
2012-07-02cBlockArea object added (with only minimal testing so far)madmaxoft@gmail.com1-36/+1007
2012-07-02Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function.madmaxoft@gmail.com1-36/+1
2012-06-19Removed json-related methods from Lua APImadmaxoft@gmail.com1-74/+5
2012-06-17Removed the deprecated GetBlockEntity(), added several enumerators to replace it.madmaxoft@gmail.com1-28/+39
2012-06-16Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden doormadmaxoft@gmail.com1-1/+3
2012-06-16Added new hooks: UPDATING_SIGN and UPDATED_SIGN. The first one is capable of changing the sign text by returning the new four lines along with the bool valuemadmaxoft@gmail.com1-1/+299
2012-06-16Lua binding for cVine fixedcedeel@gmail.com1-16/+52
2012-06-15Rewritten ForEach using #define-s, new ones can be added as a simple one-linermadmaxoft@gmail.com1-1/+1
2012-06-14Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually workmadmaxoft@gmail.com1-2/+100
2012-06-14Added a world parameter to HOOK_CHUNK_GENERATING.madmaxoft@gmail.com1-25/+31
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-21337/+21337
2012-06-14Added HOOK_WEATHER_CHANGE.cedeel@gmail.com1-1/+2
2012-06-13Exported the ItemCategory functions and added a IsTool() function to it, for easy checking whether an item is a toolfaketruth1-1/+184
2012-06-13Added a BlockToPickup hook for modifying pickups when a player breaks a block.madmaxoft@gmail.com1-28/+437
2012-06-13I think the chunk generation hooks for Lua are pretty good now, though it might still need some tweakingfaketruth1-18/+518
2012-06-13Revamped the weather system.cedeel@gmail.com1-3/+35
2012-06-12Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTINGmadmaxoft@gmail.com1-10/+359
2012-06-12Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com1-46/+914
2012-06-11Added implementation of E_PLUGIN_CHUNK_GENERATING lua hookfaketruth1-1/+190
2012-06-09New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorldmadmaxoft@gmail.com1-26/+225
2012-06-09Sugarcane and cactus max height can be set in world.ini.madmaxoft@gmail.com1-1/+67
2012-06-09Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC.madmaxoft@gmail.com1-3/+5
2012-06-09Cacti grow by themselves and by bonemealmadmaxoft@gmail.com1-5/+6
2012-06-08Configurable classic composition generatorcedeel@gmail.com1-3/+3
2012-06-07Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too.madmaxoft@gmail.com1-1/+123
2012-06-06Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool.madmaxoft@gmail.com1-5/+131
2012-06-05New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)madmaxoft@gmail.com1-808/+116
2012-06-04Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.madmaxoft@gmail.com1-18862/+18980
2012-06-04Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project filescedeel@gmail.com1-18793/+18862
2012-06-02Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)madmaxoft@gmail.com1-39/+11
2012-05-31cWorld::UnloadUnusedChunks() exported to Luamadmaxoft@gmail.com1-1/+33
2012-05-30Added support for SetNextBlockTick() function callable from Luamadmaxoft@gmail.com1-1/+39
2012-05-30Lua plugins can now query the world for various queue sizes ( http://forum.mc-server.org/showthread.php?tid=432 )madmaxoft@gmail.com1-3/+136
2012-05-27Added wool and netherrack block IDsmadmaxoft@gmail.com1-1/+3
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-21/+341
2012-03-25A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringListmadmaxoft@gmail.com1-1/+3
2012-03-24Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com1-2/+1
2012-03-23Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)madmaxoft@gmail.com1-1/+2
2012-03-16Exposed a function to Lua to get a block's sky light valuefaketruth1-30/+40
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-4/+137
2012-03-07Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth1-13/+169
2012-03-04Changed signed char to unsigned char in block packets, so we can receive height up to 255faketruth1-8/+8
2012-03-01Started carefully moving to 1.2.2faketruth1-63/+92
2012-02-22Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntityfaketruth1-29/+50
2012-02-21Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :)madmaxoft@gmail.com1-3/+3
2012-02-16Got rid of dangerous GetEntity(), not using DoWithEntity()faketruth1-36/+1
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-25/+25
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-102/+80
2012-02-08MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core)madmaxoft@gmail.com1-3/+3
2012-02-02tolua: modified the binding generator to accept AString as a std::string synonym, re-generated Bindings with these settings. Lua callbacks can now safely use AString functions in C++.madmaxoft@gmail.com1-27/+28
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-24/+25
2012-02-01Added all current hooks to the new plugin structure.faketruth1-112/+684
2012-02-01Plugins can now be enabled and disabled through WebAdminfaketruth1-1/+38
2012-01-31Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPluginfaketruth1-62/+97
2012-01-31Can now receive POST data in WebPlugins!faketruth1-1/+32
2012-01-30Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth1-3/+34
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-0/+2
2012-01-28Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it.faketruth1-77/+472
2012-01-26Working on a new plugin design with Lua. While retaining backwards compatibility of course...faketruth1-18/+319
2012-01-22Improved Core's WebAmin interface a bit.faketruth1-1/+68
2012-01-01CreativeInventory Updatelapayo94@gmail.com1-50/+49
2012-01-01Fixed the numchunks console command.faketruth1-1/+66
2012-01-01- implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory)lapayo94@gmail.com1-17/+51
2011-12-28- Implemented Drops from Burning animalslapayo94@gmail.com1-83/+14
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth1-6/+42
2011-12-21- Crafting fixed in 1.0.0lapayo94@gmail.com1-1/+1
2011-11-10Can now set gamemode via lua.admin@omencraft.com1-1/+1
2011-11-10Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work.admin@omencraft.com1-7/+173
2011-11-10Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.admin@omencraft.com1-1/+106
2011-11-09Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)admin@omencraft.com1-1/+67
2011-11-08It's a Squirrel!!faketruth1-15/+266
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-15/+248
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-26/+202
2011-10-26Added CreateInventoryAction packet for creative mode. Used cPacketEntityEquipment as template. Forced server into Creative Mode. Can't break blocks yet. Player can stil be damaged in creative mode and dying takes you back to survival mode.admin@omencraft.com1-0/+1
2011-10-03MCServer c++ source filesfaketruth1-0/+15468