summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-3/+7
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-0/+6
2018-03-02Add cPluginManager::GenericCallHook (#4027)peterbell101-632/+246
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-4/+4
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-5/+5
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-5/+5
2017-08-27Implement Forge protocol handshake support (#3869)satoshinm1-0/+18
2017-08-17Add cLuaWindow OnClicked Callback (#3901)Lane Kolbly1-0/+19
2017-03-19Removed development plugins from settings filemathiascode1-3/+0
2017-03-16Removed unnecessary check for lower and upper folderLukas Pioch1-1/+1
2017-02-24Removed a few default plugins (#3580)mathiascode1-2/+0
2017-02-22Add support for alternate config file locations (#3578)Gareth Nelson1-1/+1
2017-01-18DeadlockDetect now lists some tracked CS's stats.Mattes D1-20/+24
2017-01-17DeadlockDetect: Provide more information for debugging.Mattes D1-0/+21
2016-06-27cPluginManager: Use a callback for command handler registration.Mattes D1-21/+26
2016-06-27Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D1-0/+17
2016-03-21Revert "Lua callback"Mattes D1-17/+0
2016-03-17Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D1-0/+17
2016-02-05Bulk clearing of whitespaceLogicParrot1-3/+3
2016-02-02Fix TabAutoCompleteMarvin Kopf1-1/+21
2015-11-03Implemented brewingLukas Pioch1-0/+38
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-1/+1
2015-09-25Namechange to CuberiteMattes D1-1/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-1/+1
2015-06-13Added HOOK_KILLEDNounours Heureux1-0/+19
2015-05-25Only add default plugins if there are not any pluginsworktycho1-1/+1
2015-05-21Renamed hook HOOK_ENTITY_CHANGE_WORLDLukas Pioch1-3/+3
2015-05-18Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLDLukas Pioch1-0/+36
2015-05-16Initial implementation of IniFile overloadingtycho1-20/+18
2015-05-13All in-game commands go through the OnExecuteCommand hook.Mattes D1-0/+7
2015-05-10OnExecuteCommand hook can override the command result (crXXX).Mattes D1-11/+16
2015-05-10Call HOOK_EXECUTE_COMMAND even for unknown console commands.Mattes D1-0/+2
2015-05-10Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND.Mattes D1-4/+4
2015-04-19Added cPluginManager:IsPluginLoaded() API, better load error msgs.Mattes D1-4/+38
2015-04-19Split the plugin names and plugin folders to avoid confusing them.Mattes D1-163/+152
2015-03-11Fixes #493 and #490flx51-3/+3
2015-03-05Added OnTeleportEntity hook for plugins.joshi071-0/+18
2015-01-17Fixed CppCheck: (performance) Function parameter should be passed by reference.Kirill Kirilenko1-2/+2
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-4/+4
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D1-2/+7
2014-12-04Fixed the CRAFTING_NO_RECIPE hook call.Mattes D1-1/+1
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-16/+16
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-16/+16
2014-10-20Found it!Julian Laubstein1-1/+1
2014-10-20Added error messageJulian Laubstein1-9/+0
2014-10-20Added error handling to load <plugin> commandJulian Laubstein1-1/+11
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D1-30/+28
2014-09-26Removed a few unnessicary includesTycho1-2/+0
2014-08-20Renamed a_Motd to a_ServerDescription.Howaner1-2/+2
2014-08-20Added a_ClientHandle to the HOOK_SERVER_PING hook.Howaner1-2/+2
2014-08-20Added HOOK_SERVER_PINGHowaner1-2/+2
2014-08-16Better OnPlayerMoving hook.Howaner1-2/+2
2014-08-16First implementation of HOOK_SERVER_PING.Howaner1-0/+19
2014-07-29Slight cleanup after portalsTiger Wang1-5/+3
2014-07-27Fixed plugin count and fixed plugin loading, when settings.ini was regenerated.Howaner1-16/+30
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-3/+3
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-16Resolved backwards compatibility issuesTiger Wang1-2/+2
2014-07-12For now, removed creator member from Entity Effect for pointer safetyarchshift1-2/+2
2014-07-04cPluginManager: Reformatted the switch statement.madmaxoft1-7/+34
2014-07-04Moved sending error messages to cPluginManager:CallHookChatSTRWarrior1-4/+6
2014-07-04Tailored death messagesTiger Wang1-2/+2
2014-07-02Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel()Howaner1-1/+1
2014-06-30Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGEHowaner1-0/+19
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-06-18(Force)ExecuteCommand returns the CommandResult enumsSTRWarrior1-4/+4
2014-06-17Added the OnEntityAddEffect hook.madmaxoft1-0/+21
2014-06-17Added crBlocked and crNoPermissionSTRWarrior1-2/+2
2014-06-17HandleCommand now returns an CommandResult enum.STRWarrior1-17/+11
2014-06-17Fixed possible confusion.STRWarrior1-1/+7
2014-06-14Reduced cPluginManager code duplicationTiger Wang1-286/+178
2014-06-01Made a_BlockHitPos a referenceSTRWarrior1-1/+1
2014-05-31Used recommendationsSTRWarrior1-2/+2
2014-05-10Fixed the console saying no plugins are loaded.STRWarrior1-1/+1
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-4/+5
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-4/+5
2014-05-02HOOK_DISCONNECT has cClientHandle as its first parameter.madmaxoft1-2/+2
2014-03-30Using recommendations (I think)STRWarrior1-1/+1
2014-03-30Added a BlockHitPos parameter to OnProjectileHitBlockSTRWarrior1-2/+2
2014-03-30Added a blockface parameter to the OnProjectileHitBlock hook.STRWarrior1-2/+2
2014-03-29Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior1-0/+21
2014-03-29Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior1-0/+21
2014-03-27Add SpreadSourceHowaner1-2/+2
2014-03-27Add HOOK_BLOCK_SPREADHowaner1-0/+21
2014-03-12The entire unknown command is echoed back to the user on error.madmaxoft1-1/+1
2014-02-17Added cPluginManager:GetPluginsPath() to the Lua API.madmaxoft1-1/+1
2014-02-06Server internally uses new functionsTiger Wang1-2/+2
2014-02-05Simplified shutdownTycho1-4/+0
2014-02-05Added support to start up MCServer and then immediatly sut it down in travisTycho1-0/+4
2014-02-01Removed "player destroying" hookdaniel09161-21/+0
2014-01-25Added "player destroying" and "player destroyed" hooksdaniel09161-0/+42
2014-01-23Fixed crash while calling disabled plugins.madmaxoft1-1/+1
2014-01-21Implemented cPluginManager:CallPlugin() API.madmaxoft1-0/+15
2014-01-12Fixed settings plugin generation after IniFileTiger Wang1-3/+3
2014-01-07Plugin messages are received and handed to plugins.madmaxoft1-0/+21
2014-01-01OnPlayerFishing doesn't have a const cItems anymoreSTRWarrior1-1/+1
2013-12-31implemented the recommendations Xoft gave.STRWarrior1-2/+2
2013-12-30Implented OnPlayerFishing and OnPlayerFished.STRWarrior1-0/+42
2013-12-29Added HOOK_PLUGINS_LOADED.madmaxoft1-3/+23
2013-12-18Prettified command error messagesTiger Wang1-8/+17
2013-12-18Renamed back EntityAnimation to PlayerAnimationTiger Wang1-3/+3
2013-12-11Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior1-0/+21
2013-12-08Fixed tolua++ compilation.madmaxoft1-1/+0
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-6/+6
2013-12-07Renamed animation functionTiger Wang1-3/+3
2013-11-30Added the real tick duration to the OnWorldTick hook.madmaxoft1-2/+2
2013-11-27Fixed the remaining derpsAlexander Harkness1-1/+1
2013-11-26Hopefully fixed last of the Linux compile errorsTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-22Added cFile:GetFolderContents().madmaxoft1-2/+2
2013-11-16Fixed a warning about unsigned int comparison - probably was a real issue.Alexander Harkness1-22/+26
2013-11-13PluginManager::Bind displays more information in the error message.madmaxoft1-2/+2
2013-11-05Implemented suggestionsTiger Wang1-7/+17
2013-11-04Removed settings/webadmin.example.ini filesTiger Wang1-1/+6
2013-11-04Autogeneration of settings.ini and webadmin.iniTiger Wang1-15/+22
2013-10-25cIniFile doesn't store filename internally anymore.madmaxoft1-2/+2
2013-10-06Plugin folders now check for "." and "..".madmaxoft1-2/+2
2013-09-28Minor startup streamliningTiger Wang1-3/+7
2013-09-21Fixed cFile:IsFolder() and plugin-loading.madmaxoft1-2/+2
2013-09-18Proper folder / file distinction in plugin loading.madmaxoft1-3/+3
2013-08-22Fixed AddHook() wanting old-style function names.madmaxoft1-4/+0
2013-08-21Hook adding uses the new API.madmaxoft1-2/+11
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-19Finished renaming cPlugin_NewLua to cPluginLua.madmaxoft1-1/+1
2013-08-19Implemented the OnWorldTick hook.madmaxoft1-0/+21
2013-08-11Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft1-0/+42
2013-08-11Added OnPlayerAnimation() hook.madmaxoft1-0/+21
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-0/+42
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-0/+82
2013-08-07Removed Squirrel.madmaxoft1-1/+0
2013-08-02Implemented OnPlayerRightClickingEntity() hookmadmaxoft1-0/+21
2013-07-31Implemented the actual tab completion for commands and playernames.madmaxoft1-8/+16
2013-07-30Tab completion packet is handled and sent.madmaxoft1-0/+14
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-2/+2
2013-06-29Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com1-3/+4
2013-06-22Plugins can modify message in the OnChat() hook handler.madmaxoft@gmail.com1-1/+1
2013-04-27Fixed a crash in the plugin reload code.madmaxoft@gmail.com1-2/+12
2013-02-21Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands.madmaxoft@gmail.com1-0/+35
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com1-0/+100
2013-02-13Added HOOK_WEATHER_CHANGING.madmaxoft@gmail.com1-1/+22
2013-02-05Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com1-4/+67
2013-02-01Another GCC fix, hopefully this one will workmadmaxoft@gmail.com1-3/+3
2013-02-01Fixed GCC compilationmadmaxoft@gmail.com1-1/+3
2013-02-01Moved command API into cPluginManager.madmaxoft@gmail.com1-136/+196
2013-01-28Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.madmaxoft@gmail.com1-3/+3
2013-01-28Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.madmaxoft@gmail.com1-3/+3
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-53/+6
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-1/+1
2013-01-18Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK.madmaxoft@gmail.com1-1/+1
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-156/+430
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com1-27/+33
2012-10-14Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth1-129/+104
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-11/+11
2012-09-05Added the possibility of reserved player slots by implementing the HandleHandshake hook!faketruth1-0/+20
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-4/+4
2012-08-24cPickup doesn't use cPackets.madmaxoft@gmail.com1-16/+21
2012-08-22WebAdmin should not cause crashes anymorefaketruth1-4/+2
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-16/+21
2012-08-18Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com1-49/+43
2012-08-18Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com1-49/+64
2012-08-16Windows compilation fix after Android changesmadmaxoft@gmail.com1-10/+12
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-5/+14
2012-07-21Implemented the missing HOOK_PLAYER_SPAWN hook (although its name is not too good, should be PLAYER_AUTH)madmaxoft@gmail.com1-0/+17
2012-07-10Fixed some bugs within the squirrel plugin system.lapayo94@gmail.com1-0/+9
2012-07-09Improved Squirrel Bindingslapayo94@gmail.com1-6/+17
2012-07-08Squirrel Pluginslapayo94@gmail.com1-25/+11
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/+44
2012-06-14Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually workmadmaxoft@gmail.com1-0/+21
2012-06-14Added a world parameter to HOOK_CHUNK_GENERATING.madmaxoft@gmail.com1-22/+21
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-748/+748
2012-06-13Added a BlockToPickup hook for modifying pickups when a player breaks a block.madmaxoft@gmail.com1-0/+24
2012-06-12Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTINGmadmaxoft@gmail.com1-25/+99
2012-06-11Added implementation of E_PLUGIN_CHUNK_GENERATING lua hookfaketruth1-13/+36
2012-06-05New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)madmaxoft@gmail.com1-0/+19
2012-03-28Got rid of sPluginManagerStatefaketruth1-64/+67
2012-02-18Thread-safe chunk generation, storage and generator are queried for progress while initializing servermadmaxoft@gmail.com1-1/+0
2012-02-08cPluginManager: slight cleanupmadmaxoft@gmail.com1-178/+272
2012-02-04Fixed a bug in source/cClientHandle.hadmin@omencraft.com1-1/+1
2012-02-01Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com1-7/+4
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-1/+7
2012-01-26Working on a new plugin design with Lua. While retaining backwards compatibility of course...faketruth1-0/+18
2011-11-08It's a Squirrel!!faketruth1-9/+78
2011-10-03MCServer c++ source filesfaketruth1-0/+423