madmaxoft
e40c5a20c8
Plugin files are loaded in alphabetical order.
...
Except for the Info.lua file which gets loaded always last. Implements #597 .
2014-01-29 17:48:04 +01:00
daniel0916
bac750b24e
Added "player destroying" and "player destroyed" hooks
...
Hooks:
HOOK_PLAYER_DESTROYING
HOOK_PLAYER_DESTROYED
Idea from: https://github.com/mc-server/MCServer/issues/473
2014-01-25 11:25:22 +01:00
madmaxoft
2a018cfa49
Implemented cPluginManager:CallPlugin() API.
...
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.
2014-01-21 23:00:35 +01:00
madmaxoft
332c1c59eb
cCreeper is no longer available in API.
...
Has been replaced by cMonster.
2014-01-13 17:25:16 +01:00
Bill Derouin
154d6b989a
A couple touchups
2014-01-08 13:45:16 -06:00
Bill Derouin
e0d94e0f06
Add missing plugin error
...
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.
2014-01-07 13:47:15 -06:00
madmaxoft
e353f29d4a
Plugin messages are received and handed to plugins.
...
Note that MCS doesn't currently handle any channel registrations, this will come later on.
2014-01-07 17:47:20 +01:00
STRWarrior
db00a36ff8
OnPlayerFishing doesn't have a const cItems anymore
2014-01-01 15:09:53 +01:00
STRWarrior
020a8b457d
implemented the recommendations Xoft gave.
2013-12-31 14:53:10 +01:00
STRWarrior
cd435ffca9
Implented OnPlayerFishing and OnPlayerFished.
2013-12-30 22:56:08 +01:00
madmaxoft
248ba1ea9f
Added HOOK_PLUGINS_LOADED.
...
This fixes #482 .
2013-12-29 12:51:58 +01:00
madmaxoft
5bbe72bc90
Replaced esCreeper with esMonster.
...
Any monster will be able to explode, and also this fixes #425 .
2013-12-23 22:36:22 +01:00
Tiger Wang
db5d7963e2
Renamed back EntityAnimation to PlayerAnimation
...
This fixes #411 and partially reverts
30ead79049
2013-12-18 16:11:15 +00:00
STRWarrior
12bd5082b8
Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.
2013-12-11 12:39:13 +01:00
madmaxoft
4608beb3c6
Fixed tolua++ compilation.
...
Duplicate files, wrong includes, const-incorrect code...
2013-12-08 18:24:56 +01:00
Tiger Wang
1d554677b4
Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures
...
Conflicts:
src/Bindings/Bindings.cpp
src/Bindings/Bindings.h
src/Blocks/BlockHandler.cpp
2013-12-08 14:02:45 +00:00
madmaxoft
044fd237b6
Moved bindings-related to a Bindings subfolder.
...
Ref.: #407
2013-12-08 12:17:54 +01:00