Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed OnWeatherChanging hook to always read the returned weather. | madmaxoft | 2014-07-03 | 1 | -4/+1 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1512 | ||||
* | Merge pull request #1139 from Howaner/Hooks | Mattes D | 2014-07-02 | 1 | -0/+20 |
|\ | | | | | Add hook HOOK_PLAYER_FOOD_LEVEL_CHANGE | ||||
| * | Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel() | Howaner | 2014-07-02 | 1 | -2/+2 |
| | | |||||
| * | Fixes. | Howaner | 2014-06-30 | 1 | -1/+1 |
| | | |||||
| * | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGE | Howaner | 2014-06-30 | 1 | -0/+20 |
| | | |||||
* | | Fixed a possibly unused variable. | madmaxoft | 2014-07-01 | 1 | -1/+1 |
|/ | |||||
* | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| | |||||
* | Fixed OnProjectileHitBlock bindings. | madmaxoft | 2014-06-03 | 1 | -1/+1 |
| | | | | Also sorted the various cLuaState::Push() functions. | ||||
* | Merge pull request #844 from mc-server/ProjectileHitBlock | Mattes D | 2014-06-01 | 1 | -2/+2 |
|\ | | | | | OnProjectileHitBlock tweak. | ||||
| * | Made a_BlockHitPos a reference | STRWarrior | 2014-06-01 | 1 | -2/+2 |
| | | |||||
| * | Used recommendations | STRWarrior | 2014-05-31 | 1 | -2/+2 |
| | | |||||
| * | Using recommendations (I think) | STRWarrior | 2014-03-30 | 1 | -1/+1 |
| | | |||||
| * | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 2014-03-30 | 1 | -2/+2 |
| | | |||||
| * | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 2014-03-30 | 1 | -2/+2 |
| | | |||||
* | | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 2014-05-02 | 1 | -2/+2 |
| | | | | | | | | Ref.: #655. | ||||
* | | Fixed OnPluginMessage hook not exiting early. | Tycho | 2014-04-27 | 1 | -1/+1 |
| | | | | | | | | | | OnPluginMessage hook would call all plugins even after one returned true. Fixes CID 43512 | ||||
* | | Merge branch 'MacFixes' | Tycho | 2014-04-02 | 1 | -0/+5 |
|\ \ | |/ |/| | | | | | | | Conflicts: src/DeadlockDetect.cpp src/World.cpp | ||||
| * | More 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 Barney | 2014-03-25 | 1 | -0/+5 |
| | | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | ||||
* | | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 2014-03-29 | 1 | -0/+20 |
| | | |||||
* | | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 2014-03-29 | 1 | -0/+20 |
| | | |||||
* | | Add SpreadSource | Howaner | 2014-03-27 | 1 | -2/+2 |
| | | |||||
* | | Add HOOK_BLOCK_SPREAD | Howaner | 2014-03-27 | 1 | -0/+21 |
|/ | |||||
* | Moved Lua API registering into a separate function. | madmaxoft | 2014-03-12 | 1 | -0/+1 |
| | | | | This will allow us to use Lua as lite-config files as well, should we want to. | ||||
* | Add Lua plugin path to package.path and .cpath. | madmaxoft | 2014-02-17 | 1 | -0/+8 |
| | | | | Fixes #693. | ||||
* | Merge pull request #585 from daniel0916/hooks | Mattes D | 2014-02-01 | 1 | -0/+20 |
|\ | | | | | Added "player destroying" and "player destroyed" hooks | ||||
| * | Removed "player destroying" hook | daniel0916 | 2014-02-01 | 1 | -20/+0 |
| | | |||||
| * | Added "player destroying" and "player destroyed" hooks | daniel0916 | 2014-01-25 | 1 | -0/+40 |
| | | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473 | ||||
* | | Plugin files are loaded in alphabetical order. | madmaxoft | 2014-01-29 | 1 | -17/+35 |
| | | | | | | | | Except for the Info.lua file which gets loaded always last. Implements #597. | ||||
* | | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 2014-01-21 | 1 | -0/+34 |
|/ | | | | 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. | ||||
* | cCreeper is no longer available in API. | madmaxoft | 2014-01-13 | 1 | -1/+1 |
| | | | | Has been replaced by cMonster. | ||||
* | A couple touchups | Bill Derouin | 2014-01-08 | 1 | -2/+3 |
| | |||||
* | Add missing plugin error | Bill Derouin | 2014-01-07 | 1 | -0/+12 |
| | | | | | | | | | | | Previously, if a plugin was included but the folder had no lua files, the error given was ambiguous. Now, it explicitly describes lack of lua files. See issue #512 P.S. This probably isn't the best way, but this is where the fix can be made. | ||||
* | Plugin messages are received and handed to plugins. | madmaxoft | 2014-01-07 | 1 | -1/+32 |
| | | | | 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 | -4/+4 |
| | |||||
* | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 2013-12-30 | 1 | -0/+40 |
| | |||||
* | Added HOOK_PLUGINS_LOADED. | madmaxoft | 2013-12-29 | 1 | -0/+18 |
| | | | | This fixes #482. | ||||
* | Replaced esCreeper with esMonster. | madmaxoft | 2013-12-23 | 1 | -1/+1 |
| | | | | Any monster will be able to explode, and also this fixes #425. | ||||
* | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 2013-12-18 | 1 | -4/+4 |
| | | | | | 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/+15 |
| | |||||
* | Fixed tolua++ compilation. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Duplicate files, wrong includes, const-incorrect code... | ||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures | Tiger Wang | 2013-12-08 | 1 | -4/+4 |
| | | | | | | | 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/+1471 |
Ref.: #407 |