Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed HOOK_MAX and HOOK_NUM_HOOKS from Lua API. | Mattes D | 2015-04-13 | 1 | -2/+3 |
| | |||||
* | Fixes #493 and #490 | flx5 | 2015-03-11 | 1 | -1/+1 |
| | |||||
* | Added OnTeleportEntity hook for plugins. | joshi07 | 2015-03-05 | 1 | -0/+2 |
| | | | | | Plugins may or may not allow teleport to the new position. Updated the HookNotify plugin with it. | ||||
* | Merge pull request #1702 from mc-server/chrono | Mattes D | 2015-01-18 | 1 | -1/+1 |
|\ | | | | | Started to convert more of MCServer to std::chrono | ||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | | Fixed CppCheck: (performance) Function parameter should be passed by reference. | Kirill Kirilenko | 2015-01-17 | 1 | -2/+2 |
|/ | |||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -3/+3 |
| | | | | Fixes #1618. | ||||
* | Fixed the CRAFTING_NO_RECIPE hook call. | Mattes D | 2014-12-04 | 1 | -1/+1 |
| | | | | | It used a pointer-to-pointer-to-cCraftingRecipe, which the Lua bindings didn't know how to handle, and emitted a warning message at runtime. Fixes #1641. | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -2/+2 |
| | |||||
* | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -19/+19 |
| | |||||
* | Removed a few unnessicary includes | Tycho | 2014-09-26 | 1 | -3/+3 |
| | |||||
* | Merge pull request #1339 from mc-server/Hooks | STRWarrior | 2014-08-20 | 1 | -0/+2 |
|\ | | | | | Added HOOK_SERVER_PING | ||||
| * | Renamed a_Motd to a_ServerDescription. | Howaner | 2014-08-20 | 1 | -1/+1 |
| | | |||||
| * | Added a_ClientHandle to the HOOK_SERVER_PING hook. | Howaner | 2014-08-20 | 1 | -1/+1 |
| | | |||||
| * | Added HOOK_SERVER_PING | Howaner | 2014-08-20 | 1 | -1/+1 |
| | | |||||
| * | First implementation of HOOK_SERVER_PING. | Howaner | 2014-08-16 | 1 | -0/+2 |
| | | |||||
* | | Better OnPlayerMoving hook. | Howaner | 2014-08-16 | 1 | -1/+1 |
|/ | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -10/+14 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | | | | 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. | ||||
* | Merge branch 'master' into potions | madmaxoft | 2014-07-17 | 1 | -1/+1 |
|\ | |||||
| * | Merge pull request #1193 from mc-server/deathmessages | Mattes D | 2014-07-17 | 1 | -1/+1 |
| |\ | | | | | | | Death messages | ||||
| | * | Resolved backwards compatibility issues | Tiger Wang | 2014-07-16 | 1 | -1/+1 |
| | | | |||||
| | * | Tailored death messages | Tiger Wang | 2014-07-04 | 1 | -1/+1 |
| | | | |||||
* | | | For now, removed creator member from Entity Effect for pointer safety | archshift | 2014-07-12 | 1 | -1/+1 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -12/+18 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| * | | Merge remote-tracking branch 'origin/HandleCommand' | madmaxoft | 2014-07-04 | 1 | -12/+16 |
| |\ \ | | |/ | |/| | |||||
| | * | Fixed doxycomments | STRWarrior | 2014-06-28 | 1 | -3/+3 |
| | | | |||||
| | * | (Force)ExecuteCommand returns the CommandResult enums | STRWarrior | 2014-06-18 | 1 | -4/+4 |
| | | | | | | | | | | | | Exported and documented the CommandResult enums | ||||
| | * | Added crBlocked and crNoPermission | STRWarrior | 2014-06-17 | 1 | -0/+2 |
| | | | |||||
| | * | HandleCommand now returns an CommandResult enum. | STRWarrior | 2014-06-17 | 1 | -6/+8 |
| | | | |||||
| | * | Fixed possible confusion. | STRWarrior | 2014-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | If a command handler gets an error then the player will receive an unknown command error. This can be confusing for players. | ||||
| * | | Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel() | Howaner | 2014-07-02 | 1 | -1/+1 |
| | | | |||||
| * | | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGE | Howaner | 2014-06-30 | 1 | -0/+2 |
| |/ | |||||
* / | Added the OnEntityAddEffect hook. | madmaxoft | 2014-06-17 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #844 from mc-server/ProjectileHitBlock | Mattes D | 2014-06-01 | 1 | -1/+1 |
|\ | | | | | OnProjectileHitBlock tweak. | ||||
| * | Made a_BlockHitPos a reference | STRWarrior | 2014-06-01 | 1 | -1/+1 |
| | | |||||
| * | Used recommendations | STRWarrior | 2014-05-31 | 1 | -1/+1 |
| | | |||||
| * | Using recommendations (I think) | STRWarrior | 2014-03-30 | 1 | -1/+1 |
| | | |||||
| * | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 2014-03-30 | 1 | -1/+1 |
| | | |||||
| * | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 2014-03-30 | 1 | -1/+1 |
| | | |||||
* | | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -1/+1 |
| | | |||||
* | | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 2014-05-02 | 1 | -1/+1 |
|/ | | | | Ref.: #655. | ||||
* | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 2014-03-29 | 1 | -0/+2 |
| | |||||
* | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 2014-03-29 | 1 | -0/+5 |
| | |||||
* | Fixed non-virtual destructors warnings. | madmaxoft | 2014-03-28 | 1 | -0/+2 |
| | |||||
* | Add SpreadSource | Howaner | 2014-03-27 | 1 | -1/+1 |
| | |||||
* | Add HOOK_BLOCK_SPREAD | Howaner | 2014-03-27 | 1 | -0/+2 |
| | |||||
* | Added cPluginManager:GetPluginsPath() to the Lua API. | madmaxoft | 2014-02-17 | 1 | -0/+4 |
| | |||||
* | Merge pull request #585 from daniel0916/hooks | Mattes D | 2014-02-01 | 1 | -0/+2 |
|\ | | | | | Added "player destroying" and "player destroyed" hooks | ||||
| * | Removed "player destroying" hook | daniel0916 | 2014-02-01 | 1 | -2/+0 |
| | | |||||
| * | Added "player destroying" and "player destroyed" hooks | daniel0916 | 2014-01-25 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473 | ||||
* | | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 2014-01-21 | 1 | -24/+32 |
|/ | | | | 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. | ||||
* | Plugin messages are received and handed to plugins. | madmaxoft | 2014-01-07 | 1 | -0/+2 |
| | | | | Note that MCS doesn't currently handle any channel registrations, this will come later on. | ||||
* | OnPlayerFishing doesn't have a const cItems anymore | STRWarrior | 2014-01-01 | 1 | -1/+1 |
| | |||||
* | implemented the recommendations Xoft gave. | STRWarrior | 2013-12-31 | 1 | -2/+2 |
| | |||||
* | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 2013-12-30 | 1 | -0/+4 |
| | |||||
* | Merge branch 'master' of github.com:mc-server/MCServer | Tycho Bickerstaff | 2013-12-22 | 1 | -0/+2 |
|\ | |||||
| * | Added HOOK_PLUGINS_LOADED. | madmaxoft | 2013-12-29 | 1 | -0/+2 |
| | | | | | | | | This fixes #482. | ||||
* | | Root is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -1/+1 |
|/ | |||||
* | Prettified command error messages | Tiger Wang | 2013-12-18 | 1 | -1/+6 |
| | | | | Using the magic of overlords (overloads) and standards compliance. | ||||
* | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 2013-12-18 | 1 | -2/+2 |
| | | | | | This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | ||||
* | Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. | STRWarrior | 2013-12-11 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures | Tiger Wang | 2013-12-08 | 1 | -2/+2 |
| | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp | ||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -0/+295 |
Ref.: #407 |