summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DeadlockDetect now lists some tracked CS's stats.Mattes D2017-01-181-20/+24
|
* DeadlockDetect: Provide more information for debugging.Mattes D2017-01-171-0/+21
|
* cPluginManager: Use a callback for command handler registration.Mattes D2016-06-271-21/+26
|
* Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D2016-06-271-0/+17
|
* Revert "Lua callback"Mattes D2016-03-211-17/+0
|
* Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D2016-03-171-0/+17
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* Fix TabAutoCompleteMarvin Kopf2016-02-021-1/+21
| | | | For tab on '/command s' the server now returns 'subcommand' instead of '/command subcommand'.
* Implemented brewingLukas Pioch2015-11-031-0/+38
|
* Namechange to CuberiteMattes D2015-09-251-1/+1
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Added HOOK_KILLEDNounours Heureux2015-06-131-0/+19
|
* Only add default plugins if there are not any pluginsworktycho2015-05-251-1/+1
| | | Fixes #2082
* Renamed hook HOOK_ENTITY_CHANGE_WORLDLukas Pioch2015-05-211-3/+3
|
* Merge pull request #2019 from mc-server/OverrideArgsAlexander Harkness2015-05-191-20/+18
|\ | | | | Initial Implementation of command line arguments
| * Initial implementation of IniFile overloadingtycho2015-05-161-20/+18
| |
* | Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLDLukas Pioch2015-05-181-0/+36
|/ | | | Fixes #1435.
* All in-game commands go through the OnExecuteCommand hook.Mattes D2015-05-131-0/+7
| | | | Everything that has a slash at the beginning, doesn't matter if it is a registered command or not.
* OnExecuteCommand hook can override the command result (crXXX).Mattes D2015-05-101-11/+16
|
* Call HOOK_EXECUTE_COMMAND even for unknown console commands.Mattes D2015-05-101-0/+2
| | | | This allows plugins such as Aliases to intercept even unknown commands.
* Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND.Mattes D2015-05-101-4/+4
| | | | Fixes #1996.
* Added cPluginManager:IsPluginLoaded() API, better load error msgs.Mattes D2015-04-191-4/+38
|
* Split the plugin names and plugin folders to avoid confusing them.Mattes D2015-04-191-163/+152
| | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877
* Fixes #493 and #490flx52015-03-111-3/+3
|
* Added OnTeleportEntity hook for plugins.joshi072015-03-051-0/+18
| | | | | Plugins may or may not allow teleport to the new position. Updated the HookNotify plugin with it.
* Merge pull request #1702 from mc-server/chronoMattes D2015-01-181-1/+1
|\ | | | | Started to convert more of MCServer to std::chrono
| * Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* | Fixed CppCheck: (performance) Function parameter should be passed by reference.Kirill Kirilenko2015-01-171-2/+2
|/
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-4/+4
| | | | Fixes #1618.
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-2/+7
|
* Fixed the CRAFTING_NO_RECIPE hook call.Mattes D2014-12-041-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.
* Merged IniFile into main MCS sources.Mattes D2014-10-231-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-16/+16
|
* Found it!Julian Laubstein2014-10-201-1/+1
|
* Added error messageJulian Laubstein2014-10-201-9/+0
|
* Added error handling to load <plugin> commandJulian Laubstein2014-10-201-1/+11
|
* Functions in cPluginManager get references instead of pointers.Mattes D2014-10-151-30/+28
|
* Removed a few unnessicary includesTycho2014-09-261-2/+0
|
* Merge pull request #1339 from mc-server/HooksSTRWarrior2014-08-201-0/+19
|\ | | | | Added HOOK_SERVER_PING
| * Renamed a_Motd to a_ServerDescription.Howaner2014-08-201-2/+2
| |
| * Added a_ClientHandle to the HOOK_SERVER_PING hook.Howaner2014-08-201-2/+2
| |
| * Added HOOK_SERVER_PINGHowaner2014-08-201-2/+2
| |
| * First implementation of HOOK_SERVER_PING.Howaner2014-08-161-0/+19
| |
* | Better OnPlayerMoving hook.Howaner2014-08-161-2/+2
|/
* Merged branch 'howaner/Options'.madmaxoft2014-07-301-16/+30
|\
| * Fixed plugin count and fixed plugin loading, when settings.ini was regenerated.Howaner2014-07-271-16/+30
| |
* | Slight cleanup after portalsTiger Wang2014-07-291-5/+3
|/
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-3/+3
|
* Style: Normalized spaces after if, for and while.madmaxoft2014-07-211-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Merge branch 'master' into potionsmadmaxoft2014-07-171-2/+2
|\
| * Merge pull request #1193 from mc-server/deathmessagesMattes D2014-07-171-2/+2
| |\ | | | | | | Death messages
| | * Resolved backwards compatibility issuesTiger Wang2014-07-161-2/+2
| | |
| | * Tailored death messagesTiger Wang2014-07-041-2/+2
| | |
* | | For now, removed creator member from Entity Effect for pointer safetyarchshift2014-07-121-2/+2
| | |
* | | Merge remote-tracking branch 'origin/master' into potionsarchshift2014-07-101-19/+68
|\| | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp
| * | cPluginManager: Reformatted the switch statement.madmaxoft2014-07-041-7/+34
| | |
| * | Merge remote-tracking branch 'origin/HandleCommand'madmaxoft2014-07-041-18/+20
| |\ \ | | |/ | |/|
| | * Moved sending error messages to cPluginManager:CallHookChatSTRWarrior2014-07-041-4/+6
| | |
| | * (Force)ExecuteCommand returns the CommandResult enumsSTRWarrior2014-06-181-4/+4
| | | | | | | | | | | | Exported and documented the CommandResult enums
| | * Added crBlocked and crNoPermissionSTRWarrior2014-06-171-2/+2
| | |
| | * HandleCommand now returns an CommandResult enum.STRWarrior2014-06-171-17/+11
| | |
| | * Fixed possible confusion.STRWarrior2014-06-171-1/+7
| | | | | | | | | | | | 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()Howaner2014-07-021-1/+1
| | |
| * | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGEHowaner2014-06-301-0/+19
| | |
| * | Nullify deleted pointers.archshift2014-06-191-0/+1
| |/
* / Added the OnEntityAddEffect hook.madmaxoft2014-06-171-0/+21
|/
* Reduced cPluginManager code duplicationTiger Wang2014-06-141-286/+178
|
* Merge pull request #844 from mc-server/ProjectileHitBlockMattes D2014-06-011-2/+2
|\ | | | | OnProjectileHitBlock tweak.
| * Made a_BlockHitPos a referenceSTRWarrior2014-06-011-1/+1
| |
| * Used recommendationsSTRWarrior2014-05-311-2/+2
| |
| * Using recommendations (I think)STRWarrior2014-03-301-1/+1
| |
| * Added a BlockHitPos parameter to OnProjectileHitBlockSTRWarrior2014-03-301-2/+2
| |
| * Added a blockface parameter to the OnProjectileHitBlock hook.STRWarrior2014-03-301-2/+2
| |
* | Fixed the console saying no plugins are loaded.STRWarrior2014-05-101-1/+1
| |
* | Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-4/+5
| |
* | HOOK_DISCONNECT has cClientHandle as its first parameter.madmaxoft2014-05-021-2/+2
|/ | | | Ref.: #655.
* Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior2014-03-291-0/+21
|
* Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior2014-03-291-0/+21
|
* Add SpreadSourceHowaner2014-03-271-2/+2
|
* Add HOOK_BLOCK_SPREADHowaner2014-03-271-0/+21
|
* The entire unknown command is echoed back to the user on error.madmaxoft2014-03-121-1/+1
|
* Added cPluginManager:GetPluginsPath() to the Lua API.madmaxoft2014-02-171-1/+1
|
* Server internally uses new functionsTiger Wang2014-02-061-2/+2
|
* Merge pull request #585 from daniel0916/hooksMattes D2014-02-011-0/+21
|\ | | | | Added "player destroying" and "player destroyed" hooks
| * Removed "player destroying" hookdaniel09162014-02-011-21/+0
| |
| * Added "player destroying" and "player destroyed" hooksdaniel09162014-01-251-0/+42
| | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473
* | Fixed crash while calling disabled plugins.madmaxoft2014-01-231-1/+1
| |
* | Implemented cPluginManager:CallPlugin() API.madmaxoft2014-01-211-0/+15
|/ | | | 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.
* Fixed settings plugin generation after IniFileTiger Wang2014-01-121-3/+3
|
* Plugin messages are received and handed to plugins.madmaxoft2014-01-071-0/+21
| | | | Note that MCS doesn't currently handle any channel registrations, this will come later on.
* OnPlayerFishing doesn't have a const cItems anymoreSTRWarrior2014-01-011-1/+1
|
* implemented the recommendations Xoft gave.STRWarrior2013-12-311-2/+2
|
* Implented OnPlayerFishing and OnPlayerFished.STRWarrior2013-12-301-0/+42
|
* Added HOOK_PLUGINS_LOADED.madmaxoft2013-12-291-3/+23
| | | | This fixes #482.
* Prettified command error messagesTiger Wang2013-12-181-8/+17
| | | | Using the magic of overlords (overloads) and standards compliance.
* Renamed back EntityAnimation to PlayerAnimationTiger Wang2013-12-181-3/+3
| | | | | This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4
* Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior2013-12-111-0/+21
|
* Fixed tolua++ compilation.madmaxoft2013-12-081-1/+0
| | | | Duplicate files, wrong includes, const-incorrect code...
* Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeaturesTiger Wang2013-12-081-3/+3
| | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-0/+1668
Ref.: #407