Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-09-28 | Plugin reload <plugin_name> feature (#4942) | [IPSA] Chris de Claverie | 1 | -5/+17 | |
+ Add `reload <pluginname>` * Fixes #365 Co-authored-by: Alexander Harkness <me@bearbin.net> Co-authored-by: pwnOrbitals <c.de-claverie@pm.me> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-21 | Implement Dropspenser Hook (#4903) | KrystilizeNevaDies | 1 | -2/+4 | |
* Implement Dropspenser Hook Implemented a hook for dropspensing. HOOK_DROPSPENSE When plugin callback returns true then dropspense is cancelled * Update src/Bindings/PluginManager.h Co-authored-by: peterbell10 <peterbell10@live.co.uk> * Create OnDropSpense.lua * Fix indent * Forgot include Forgot to include the plugin manager. Although now im confused why it was working on my end without including the plugin manager * Update plugins.lua with dropspense * fix typos * haha notepad++ go brr Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2020-05-07 | Remove old Android leftovers (#4722) | Mat | 1 | -1/+1 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 1 | -0/+1 | |
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | |||||
2020-03-23 | Manual merge of #4498. | Alexander Harkness | 1 | -1/+3 | |
Credit to @MeMuXin Closes #4498 | |||||
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -1/+1 | |
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 1 | -2/+2 | |
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | |||||
2018-03-02 | Add cPluginManager::GenericCallHook (#4027) | peterbell10 | 1 | -0/+6 | |
Replace repetitive CallHook functions with a generic implementation. Also converts some loops to range-based for. Related to #1134 | |||||
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -4/+5 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -6/+5 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -5/+6 | |
2017-08-27 | Implement Forge protocol handshake support (#3869) | satoshinm | 1 | -0/+2 | |
2017-08-17 | Add cLuaWindow OnClicked Callback (#3901) | Lane Kolbly | 1 | -0/+3 | |
2017-07-21 | Remove smart pointer macros | peterbell10 | 1 | -2/+2 | |
2017-01-18 | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 1 | -1/+5 | |
2016-06-27 | cPluginManager: Use a callback for command handler registration. | Mattes D | 1 | -4/+45 | |
2016-06-27 | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 1 | -0/+3 | |
2016-03-21 | Revert "Lua callback" | Mattes D | 1 | -3/+0 | |
2016-03-17 | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 1 | -0/+3 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -28/+28 | |
2015-11-03 | Implemented brewing | Lukas Pioch | 1 | -0/+5 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -1/+1 | |
2015-06-13 | Added HOOK_KILLED | Nounours Heureux | 1 | -0/+2 | |
2015-05-21 | Renamed hook HOOK_ENTITY_CHANGE_WORLD | Lukas Pioch | 1 | -2/+2 | |
2015-05-18 | Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLD | Lukas Pioch | 1 | -0/+4 | |
Fixes #1435. | |||||
2015-05-16 | Initial implementation of IniFile overloading | tycho | 1 | -5/+6 | |
2015-05-10 | OnExecuteCommand hook can override the command result (crXXX). | Mattes D | 1 | -1/+1 | |
2015-05-10 | Exported cPluginManager:ExecuteConsoleCommand() to Lua API. | Mattes D | 1 | -1/+3 | |
Fixes #1999. | |||||
2015-05-10 | Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND. | Mattes D | 1 | -1/+1 | |
Fixes #1996. | |||||
2015-04-19 | Added cPluginManager:IsPluginLoaded() API, better load error msgs. | Mattes D | 1 | -1/+4 | |
2015-04-19 | Split the plugin names and plugin folders to avoid confusing them. | Mattes D | 1 | -57/+85 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1877 | |||||
2015-04-13 | Removed HOOK_MAX and HOOK_NUM_HOOKS from Lua API. | Mattes D | 1 | -2/+3 | |
2015-03-11 | Fixes #493 and #490 | flx5 | 1 | -1/+1 | |
2015-03-05 | Added OnTeleportEntity hook for plugins. | joshi07 | 1 | -0/+2 | |
Plugins may or may not allow teleport to the new position. Updated the HookNotify plugin with it. | |||||
2015-01-17 | Fixed CppCheck: (performance) Function parameter should be passed by reference. | Kirill Kirilenko | 1 | -2/+2 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -1/+1 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 1 | -3/+3 | |
Fixes #1618. | |||||
2014-12-04 | Fixed the CRAFTING_NO_RECIPE hook call. | Mattes D | 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. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 1 | -19/+19 | |
2014-09-26 | Removed a few unnessicary includes | Tycho | 1 | -3/+3 | |
2014-08-20 | Renamed a_Motd to a_ServerDescription. | Howaner | 1 | -1/+1 | |
2014-08-20 | Added a_ClientHandle to the HOOK_SERVER_PING hook. | Howaner | 1 | -1/+1 | |
2014-08-20 | Added HOOK_SERVER_PING | Howaner | 1 | -1/+1 | |
2014-08-16 | Better OnPlayerMoving hook. | Howaner | 1 | -1/+1 | |
2014-08-16 | First implementation of HOOK_SERVER_PING. | Howaner | 1 | -0/+2 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -10/+14 | |
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-07-16 | Resolved backwards compatibility issues | Tiger Wang | 1 | -1/+1 | |
2014-07-12 | For now, removed creator member from Entity Effect for pointer safety | archshift | 1 | -1/+1 | |
2014-07-04 | Tailored death messages | Tiger Wang | 1 | -1/+1 | |
2014-07-02 | Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel() | Howaner | 1 | -1/+1 | |
2014-06-30 | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGE | Howaner | 1 | -0/+2 | |
2014-06-28 | Fixed doxycomments | STRWarrior | 1 | -3/+3 | |
2014-06-18 | (Force)ExecuteCommand returns the CommandResult enums | STRWarrior | 1 | -4/+4 | |
Exported and documented the CommandResult enums | |||||
2014-06-17 | Added the OnEntityAddEffect hook. | madmaxoft | 1 | -0/+2 | |
2014-06-17 | Added crBlocked and crNoPermission | STRWarrior | 1 | -0/+2 | |
2014-06-17 | HandleCommand now returns an CommandResult enum. | STRWarrior | 1 | -6/+8 | |
2014-06-17 | Fixed possible confusion. | STRWarrior | 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. | |||||
2014-06-01 | Made a_BlockHitPos a reference | STRWarrior | 1 | -1/+1 | |
2014-05-31 | Used recommendations | STRWarrior | 1 | -1/+1 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -1/+1 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -1/+1 | |
2014-05-02 | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 1 | -1/+1 | |
Ref.: #655. | |||||
2014-03-30 | Using recommendations (I think) | STRWarrior | 1 | -1/+1 | |
2014-03-30 | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 1 | -1/+1 | |
2014-03-30 | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 1 | -1/+1 | |
2014-03-29 | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 1 | -0/+2 | |
2014-03-29 | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 1 | -0/+5 | |
2014-03-28 | Fixed non-virtual destructors warnings. | madmaxoft | 1 | -0/+2 | |
2014-03-27 | Add SpreadSource | Howaner | 1 | -1/+1 | |
2014-03-27 | Add HOOK_BLOCK_SPREAD | Howaner | 1 | -0/+2 | |
2014-02-17 | Added cPluginManager:GetPluginsPath() to the Lua API. | madmaxoft | 1 | -0/+4 | |
2014-02-01 | Removed "player destroying" hook | daniel0916 | 1 | -2/+0 | |
2014-01-25 | Added "player destroying" and "player destroyed" hooks | daniel0916 | 1 | -0/+4 | |
Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473 | |||||
2014-01-21 | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 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. | |||||
2014-01-07 | Plugin messages are received and handed to plugins. | madmaxoft | 1 | -0/+2 | |
Note that MCS doesn't currently handle any channel registrations, this will come later on. | |||||
2014-01-01 | OnPlayerFishing doesn't have a const cItems anymore | STRWarrior | 1 | -1/+1 | |
2013-12-31 | implemented the recommendations Xoft gave. | STRWarrior | 1 | -2/+2 | |
2013-12-30 | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 1 | -0/+4 | |
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-29 | Added HOOK_PLUGINS_LOADED. | madmaxoft | 1 | -0/+2 | |
This fixes #482. | |||||
2013-12-21 | Root is now warnings clean | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-18 | Prettified command error messages | Tiger Wang | 1 | -1/+6 | |
Using the magic of overlords (overloads) and standards compliance. | |||||
2013-12-18 | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 1 | -2/+2 | |
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | |||||
2013-12-11 | Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. | STRWarrior | 1 | -0/+2 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -1/+1 | |
Ref.: #407 | |||||
2013-12-07 | Renamed animation function | Tiger Wang | 1 | -2/+2 | |
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | |||||
2013-11-30 | Added the real tick duration to the OnWorldTick hook. | madmaxoft | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-05 | Implemented suggestions | Tiger Wang | 1 | -1/+3 | |
- Reverted changes to WebAdmin.cpp IPv6 ports and Server.cpp server description + Added default value explicitly for HardCore value * Split PluginManager plugin defaults write to new function - Removed a commented block from BlockTorch and... + Added g_BlockIsTorchPlaceable to Defines.h | |||||
2013-11-04 | Autogeneration of settings.ini and webadmin.ini | Tiger Wang | 1 | -0/+7 | |
Fixes issue #75 | |||||
2013-08-21 | Hook adding uses the new API. | madmaxoft | 1 | -2/+11 | |
Multiple hooks per plugin can be added. The cPluginManager.AddHook() has four available signatures, the recommended one is cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) | |||||
2013-08-19 | Finished renaming cPlugin_NewLua to cPluginLua. | madmaxoft | 1 | -1/+1 | |
2013-08-19 | Implemented the OnWorldTick hook. | madmaxoft | 1 | -0/+2 | |
Triggerred for each world every time it ticks, parameters are the cWorld and the previous tick length (a_Dt) | |||||
2013-08-11 | Added the OnHopperPullingItem and OnHopperPushingItem hooks. | madmaxoft | 1 | -0/+10 | |
Requested in FS 412, slightly modified the params. | |||||
2013-08-11 | Added OnPlayerAnimation() hook. | madmaxoft | 1 | -0/+2 | |
Initial patch by @STR_Warrior, updated to account for different animation packets. | |||||
2013-08-09 | Added OnExploding() and OnExploded() hooks. | madmaxoft | 1 | -0/+4 | |
As requested in FS 413, with extra parameters: World, BlockX, BlockY, BlockZ, Size, CanCauseFire, Source, SourceData OnExploding() can return 3 values: StopHook, CanCauseFire, ExplosionSize | |||||
2013-08-08 | Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks. | madmaxoft | 1 | -3/+15 | |
As requested in FS 418. | |||||
2013-08-02 | Implemented OnPlayerRightClickingEntity() hook | madmaxoft | 1 | -37/+42 | |
Fixes FS 425 | |||||
2013-07-31 | Implemented the actual tab completion for commands and playernames. | madmaxoft | 1 | -2/+4 | |
Each command is reported only if the player has the permission to use it. | |||||
2013-07-30 | Tab completion packet is handled and sent. | madmaxoft | 1 | -0/+3 | |
This only handles the network comm and the overall design logic, the actual completion is not yet implemented, only dummy values are returned for now. | |||||
2013-07-01 | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 1 | -2/+2 | |
Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-29 | Advanced RCON: Command output is sent to the RCON client. | madmaxoft@gmail.com | 1 | -2/+5 | |
RCON authentication is now required before executing commands. Console command handlers now return two values, bool (IsHandled) and string (CommandOutput). API change: removed cRoot:ExecuteConsoleCommand(), added cRoot:QueueExecuteConsoleCommand(). API change: removed cPluginManager:ExecuteConsoleCommand(), use cRoot:QueueExecuteConsoleCommand() instead git-svn-id: http://mc-server.googlecode.com/svn/trunk@1631 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-22 | Plugins can modify message in the OnChat() hook handler. | madmaxoft@gmail.com | 1 | -1/+1 | |
FS #376 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-26 | Clarified documentation on the cItemGrid:RemoveItem() functions | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1519 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-21 | Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands. | madmaxoft@gmail.com | 1 | -0/+2 | |
Note that built-in console commands are exempt to this hook - they are always performed and the hook is not called. Also note that, for reasons unknown, the HookNotify plugin doesn't list the callback arguments. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1221 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-15 | Plugins can now bind console commands | madmaxoft@gmail.com | 1 | -3/+21 | |
FS #300 Most console commands are now implemented in the Core plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1214 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-13 | Exported forgotten API functions in cPluginManager: ExecuteCommand(), ForceExecuteCommand() | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1212 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-13 | Added HOOK_WEATHER_CHANGING. | madmaxoft@gmail.com | 1 | -2/+5 | |
http://www.mc-server.org/support/index.php?do=details&task_id=299 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1210 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-05 | Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature. | madmaxoft@gmail.com | 1 | -2/+8 | |
http://forum.mc-server.org/showthread.php?tid=464&pid=6312#pid6312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1193 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-01 | Moved command API into cPluginManager. | madmaxoft@gmail.com | 1 | -36/+61 | |
As specified in http://forum.mc-server.org/showthread.php?tid=765 , commands are now bound using a single function, cPluginManager:BindCommand(). git-svn-id: http://mc-server.googlecode.com/svn/trunk@1183 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-28 | Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions. | madmaxoft@gmail.com | 1 | -2/+2 | |
Also tweaked the mechanics so that plugins may revive without dropping other plugins out of the picture. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1182 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-28 | Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1180 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-27 | Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups. | madmaxoft@gmail.com | 1 | -1/+2 | |
Note that cItems is used in the function signature but not yet exported in the API, TODO! git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-26 | Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names. | madmaxoft@gmail.com | 1 | -2/+2 | |
-ING means the event is being processed and may be refused by a plugin, -ED means it has already happenned and the plugin cannot do anything about it. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1174 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-25 | Merged the usable portion of the "gens" branch. | madmaxoft@gmail.com | 1 | -3/+3 | |
Splitting off the Composable generator and fiddling with LuaChunk / ChunkDesc is good, other generators not good yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1171 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-18 | Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK. | madmaxoft@gmail.com | 1 | -1/+1 | |
http://forum.mc-server.org/showthread.php?tid=464&pid=6163#pid6163 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1158 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -71/+76 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) | madmaxoft@gmail.com | 1 | -5/+10 | |
http://forum.mc-server.org/showthread.php?tid=625 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-08 | Removed the SquirrelVM. | madmaxoft@gmail.com | 1 | -4/+20 | |
It has been crashing the server. http://forum.mc-server.org/showthread.php?tid=610 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1024 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-14 | Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) | faketruth | 1 | -12/+12 | |
Removed cPlugin_Lua, obviously cPluginManager stores plugins by their (folder)name cPluginManager now scans the Plugins folder for potential plugins and adds them as non-loaded plugins Added a DisablePlugin and LoadPlugin to disable and load plugins on a per-plugin basis instead of all at once cPluginManager::FindPlugins refreshes the plugin list by removing non-existing plugins and adding new plugins Made it incredibly easy to use new plugins from the WebAdmin Exposed some food/hunger related functions in cPlayer to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@959 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-05 | Added the possibility of reserved player slots by implementing the HandleHandshake hook! | faketruth | 1 | -0/+1 | |
More info: http://forum.mc-server.org/showthread.php?tid=555 git-svn-id: http://mc-server.googlecode.com/svn/trunk@836 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-01 | Added 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.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@814 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | cPickup doesn't use cPackets. | madmaxoft@gmail.com | 1 | -1/+6 | |
Also, Lua API change, OnCollectItem -> OnCollectPickup; first param is cPlayer to match other callbacks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@786 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-22 | WebAdmin should not cause crashes anymore | faketruth | 1 | -1/+1 | |
Got rid of cWebPlugin_Lua cPlugin_Lua is also a cWebPlugin now, so plugins don't need a separate cWebPlugin object Changed some stuff to use AString instead of char* git-svn-id: http://mc-server.googlecode.com/svn/trunk@777 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Chat packet handled in the new way; fixed missing packet sending for inventory slot. | madmaxoft@gmail.com | 1 | -5/+6 | |
Again, API change! cPlugin:OnChat() has had its parameters swapped, to match all the other callbacks - Player first, Message second git-svn-id: http://mc-server.googlecode.com/svn/trunk@751 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects. | madmaxoft@gmail.com | 1 | -0/+3 | |
This breaks plugin API! Plugins need to modify their hook functions to match those used in the Core plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@750 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-09 | Improved Squirrel Bindings | lapayo94@gmail.com | 1 | -2/+6 | |
Added AddCommand / BindCommand for Squirrel Plugins git-svn-id: http://mc-server.googlecode.com/svn/trunk@652 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Added 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 value | madmaxoft@gmail.com | 1 | -1/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@622 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually work | madmaxoft@gmail.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@610 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Added a world parameter to HOOK_CHUNK_GENERATING. | madmaxoft@gmail.com | 1 | -0/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@609 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -121/+121 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Added HOOK_WEATHER_CHANGE. | cedeel@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@605 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-13 | Added a BlockToPickup hook for modifying pickups when a player breaks a block. | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@602 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-12 | Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTING | madmaxoft@gmail.com | 1 | -20/+59 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@598 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-05 | New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld) | madmaxoft@gmail.com | 1 | -16/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@558 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-28 | Got rid of sPluginManagerState | faketruth | 1 | -6/+12 | |
/pluginlist now also shows the number of active plugins Fixed crash caused by lingering bound Lua commands http://forum.mc-server.org/showthread.php?tid=212&pid=2541#pid2541 Added error messages when binding commands to an invalid plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@440 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. | madmaxoft@gmail.com | 1 | -3/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-08 | It's a Squirrel!! | faketruth | 1 | -1/+2 | |
In SquirrelBindings.h use #define USE_SQUIRREL 1 to enable squirrel git-svn-id: http://mc-server.googlecode.com/svn/trunk@76 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-21 | Compiles for linux | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@6 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+68 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |