Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 1 | -1/+1 |
| | | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | ||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 1 | -1/+1 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | Plugin reload <plugin_name> feature (#4942) | [IPSA] Chris de Claverie | 2020-09-28 | 1 | -19/+48 |
| | | | | | | | | + 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> | ||||
* | Implement Dropspenser Hook (#4903) | KrystilizeNevaDies | 2020-09-21 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Updated plugin list format (#4557) | Mat | 2020-03-27 | 1 | -7/+26 |
| | |||||
* | Manual merge of #4498. | Alexander Harkness | 2020-03-23 | 1 | -2/+15 |
| | | | | | | Credit to @MeMuXin Closes #4498 | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -3/+7 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+6 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Add cPluginManager::GenericCallHook (#4027) | peterbell10 | 2018-03-02 | 1 | -632/+246 |
| | | | | | | | | Replace repetitive CallHook functions with a generic implementation. Also converts some loops to range-based for. Related to #1134 | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -4/+4 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -5/+5 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -5/+5 |
| | |||||
* | Implement Forge protocol handshake support (#3869) | satoshinm | 2017-08-27 | 1 | -0/+18 |
| | |||||
* | Add cLuaWindow OnClicked Callback (#3901) | Lane Kolbly | 2017-08-17 | 1 | -0/+19 |
| | |||||
* | Removed development plugins from settings file | mathiascode | 2017-03-19 | 1 | -3/+0 |
| | |||||
* | Removed unnecessary check for lower and upper folder | Lukas Pioch | 2017-03-16 | 1 | -1/+1 |
| | |||||
* | Removed a few default plugins (#3580) | mathiascode | 2017-02-24 | 1 | -2/+0 |
| | |||||
* | Add support for alternate config file locations (#3578) | Gareth Nelson | 2017-02-22 | 1 | -1/+1 |
| | |||||
* | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 2017-01-18 | 1 | -20/+24 |
| | |||||
* | DeadlockDetect: Provide more information for debugging. | Mattes D | 2017-01-17 | 1 | -0/+21 |
| | |||||
* | cPluginManager: Use a callback for command handler registration. | Mattes D | 2016-06-27 | 1 | -21/+26 |
| | |||||
* | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 2016-06-27 | 1 | -0/+17 |
| | |||||
* | Revert "Lua callback" | Mattes D | 2016-03-21 | 1 | -17/+0 |
| | |||||
* | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 2016-03-17 | 1 | -0/+17 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -3/+3 |
| | |||||
* | Fix TabAutoComplete | Marvin Kopf | 2016-02-02 | 1 | -1/+21 |
| | | | | For tab on '/command s' the server now returns 'subcommand' instead of '/command subcommand'. | ||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 1 | -0/+38 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -1/+1 |
| | |||||
* | Added HOOK_KILLED | Nounours Heureux | 2015-06-13 | 1 | -0/+19 |
| | |||||
* | Only add default plugins if there are not any plugins | worktycho | 2015-05-25 | 1 | -1/+1 |
| | | | Fixes #2082 | ||||
* | Renamed hook HOOK_ENTITY_CHANGE_WORLD | Lukas Pioch | 2015-05-21 | 1 | -3/+3 |
| | |||||
* | Merge pull request #2019 from mc-server/OverrideArgs | Alexander Harkness | 2015-05-19 | 1 | -20/+18 |
|\ | | | | | Initial Implementation of command line arguments | ||||
| * | Initial implementation of IniFile overloading | tycho | 2015-05-16 | 1 | -20/+18 |
| | | |||||
* | | Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLD | Lukas Pioch | 2015-05-18 | 1 | -0/+36 |
|/ | | | | Fixes #1435. | ||||
* | All in-game commands go through the OnExecuteCommand hook. | Mattes D | 2015-05-13 | 1 | -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 D | 2015-05-10 | 1 | -11/+16 |
| | |||||
* | Call HOOK_EXECUTE_COMMAND even for unknown console commands. | Mattes D | 2015-05-10 | 1 | -0/+2 |
| | | | | This allows plugins such as Aliases to intercept even unknown commands. | ||||
* | Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND. | Mattes D | 2015-05-10 | 1 | -4/+4 |
| | | | | Fixes #1996. | ||||
* | Added cPluginManager:IsPluginLoaded() API, better load error msgs. | Mattes D | 2015-04-19 | 1 | -4/+38 |
| | |||||
* | Split the plugin names and plugin folders to avoid confusing them. | Mattes D | 2015-04-19 | 1 | -163/+152 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877 | ||||
* | Fixes #493 and #490 | flx5 | 2015-03-11 | 1 | -3/+3 |
| | |||||
* | Added OnTeleportEntity hook for plugins. | joshi07 | 2015-03-05 | 1 | -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/chrono | Mattes D | 2015-01-18 | 1 | -1/+1 |
|\ | | | | | Started to convert more of MCServer to std::chrono | ||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | | Fixed CppCheck: (performance) Function parameter should be passed by reference. | Kirill Kirilenko | 2015-01-17 | 1 | -2/+2 |
|/ | |||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -4/+4 |
| | | | | Fixes #1618. | ||||
* | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -2/+7 |
| | |||||
* | Fixed the CRAFTING_NO_RECIPE hook call. | Mattes D | 2014-12-04 | 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. | ||||
* | Merged IniFile into main MCS sources. | Mattes D | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -16/+16 |
| | |||||
* | Found it! | Julian Laubstein | 2014-10-20 | 1 | -1/+1 |
| | |||||
* | Added error message | Julian Laubstein | 2014-10-20 | 1 | -9/+0 |
| | |||||
* | Added error handling to load <plugin> command | Julian Laubstein | 2014-10-20 | 1 | -1/+11 |
| | |||||
* | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -30/+28 |
| | |||||
* | Removed a few unnessicary includes | Tycho | 2014-09-26 | 1 | -2/+0 |
| | |||||
* | Merge pull request #1339 from mc-server/Hooks | STRWarrior | 2014-08-20 | 1 | -0/+19 |
|\ | | | | | Added HOOK_SERVER_PING | ||||
| * | Renamed a_Motd to a_ServerDescription. | Howaner | 2014-08-20 | 1 | -2/+2 |
| | | |||||
| * | Added a_ClientHandle to the HOOK_SERVER_PING hook. | Howaner | 2014-08-20 | 1 | -2/+2 |
| | | |||||
| * | Added HOOK_SERVER_PING | Howaner | 2014-08-20 | 1 | -2/+2 |
| | | |||||
| * | First implementation of HOOK_SERVER_PING. | Howaner | 2014-08-16 | 1 | -0/+19 |
| | | |||||
* | | Better OnPlayerMoving hook. | Howaner | 2014-08-16 | 1 | -2/+2 |
|/ | |||||
* | Merged branch 'howaner/Options'. | madmaxoft | 2014-07-30 | 1 | -16/+30 |
|\ | |||||
| * | Fixed plugin count and fixed plugin loading, when settings.ini was regenerated. | Howaner | 2014-07-27 | 1 | -16/+30 |
| | | |||||
* | | Slight cleanup after portals | Tiger Wang | 2014-07-29 | 1 | -5/+3 |
|/ | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -3/+3 |
| | |||||
* | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into potions | madmaxoft | 2014-07-17 | 1 | -2/+2 |
|\ | |||||
| * | Merge pull request #1193 from mc-server/deathmessages | Mattes D | 2014-07-17 | 1 | -2/+2 |
| |\ | | | | | | | Death messages | ||||
| | * | Resolved backwards compatibility issues | Tiger Wang | 2014-07-16 | 1 | -2/+2 |
| | | | |||||
| | * | Tailored death messages | Tiger Wang | 2014-07-04 | 1 | -2/+2 |
| | | | |||||
* | | | For now, removed creator member from Entity Effect for pointer safety | archshift | 2014-07-12 | 1 | -2/+2 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -19/+68 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| * | | cPluginManager: Reformatted the switch statement. | madmaxoft | 2014-07-04 | 1 | -7/+34 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/HandleCommand' | madmaxoft | 2014-07-04 | 1 | -18/+20 |
| |\ \ | | |/ | |/| | |||||
| | * | Moved sending error messages to cPluginManager:CallHookChat | STRWarrior | 2014-07-04 | 1 | -4/+6 |
| | | | |||||
| | * | (Force)ExecuteCommand returns the CommandResult enums | STRWarrior | 2014-06-18 | 1 | -4/+4 |
| | | | | | | | | | | | | Exported and documented the CommandResult enums | ||||
| | * | Added crBlocked and crNoPermission | STRWarrior | 2014-06-17 | 1 | -2/+2 |
| | | | |||||
| | * | HandleCommand now returns an CommandResult enum. | STRWarrior | 2014-06-17 | 1 | -17/+11 |
| | | | |||||
| | * | Fixed possible confusion. | STRWarrior | 2014-06-17 | 1 | -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() | Howaner | 2014-07-02 | 1 | -1/+1 |
| | | | |||||
| * | | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGE | Howaner | 2014-06-30 | 1 | -0/+19 |
| | | | |||||
| * | | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| |/ | |||||
* / | Added the OnEntityAddEffect hook. | madmaxoft | 2014-06-17 | 1 | -0/+21 |
|/ | |||||
* | Reduced cPluginManager code duplication | Tiger Wang | 2014-06-14 | 1 | -286/+178 |
| | |||||
* | 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 | -1/+1 |
| | | |||||
| * | 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 |
| | | |||||
* | | Fixed the console saying no plugins are loaded. | STRWarrior | 2014-05-10 | 1 | -1/+1 |
| | | |||||
* | | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -4/+5 |
| | | |||||
* | | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 2014-05-02 | 1 | -2/+2 |
|/ | | | | Ref.: #655. | ||||
* | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 2014-03-29 | 1 | -0/+21 |
| | |||||
* | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 2014-03-29 | 1 | -0/+21 |
| | |||||
* | Add SpreadSource | Howaner | 2014-03-27 | 1 | -2/+2 |
| | |||||
* | Add HOOK_BLOCK_SPREAD | Howaner | 2014-03-27 | 1 | -0/+21 |
| | |||||
* | The entire unknown command is echoed back to the user on error. | madmaxoft | 2014-03-12 | 1 | -1/+1 |
| | |||||
* | Added cPluginManager:GetPluginsPath() to the Lua API. | madmaxoft | 2014-02-17 | 1 | -1/+1 |
| | |||||
* | Server internally uses new functions | Tiger Wang | 2014-02-06 | 1 | -2/+2 |
| | |||||
* | Merge pull request #585 from daniel0916/hooks | Mattes D | 2014-02-01 | 1 | -0/+21 |
|\ | | | | | Added "player destroying" and "player destroyed" hooks | ||||
| * | Removed "player destroying" hook | daniel0916 | 2014-02-01 | 1 | -21/+0 |
| | | |||||
| * | Added "player destroying" and "player destroyed" hooks | daniel0916 | 2014-01-25 | 1 | -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. | madmaxoft | 2014-01-23 | 1 | -1/+1 |
| | | |||||
* | | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 2014-01-21 | 1 | -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 IniFile | Tiger Wang | 2014-01-12 | 1 | -3/+3 |
| | |||||
* | Plugin messages are received and handed to plugins. | madmaxoft | 2014-01-07 | 1 | -0/+21 |
| | | | | 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 | -2/+2 |
| | |||||
* | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 2013-12-30 | 1 | -0/+42 |
| | |||||
* | Added HOOK_PLUGINS_LOADED. | madmaxoft | 2013-12-29 | 1 | -3/+23 |
| | | | | This fixes #482. | ||||
* | Prettified command error messages | Tiger Wang | 2013-12-18 | 1 | -8/+17 |
| | | | | Using the magic of overlords (overloads) and standards compliance. | ||||
* | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 2013-12-18 | 1 | -3/+3 |
| | | | | | 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/+21 |
| | |||||
* | Fixed tolua++ compilation. | madmaxoft | 2013-12-08 | 1 | -1/+0 |
| | | | | 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 | -3/+3 |
| | | | | | | | 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/+1668 |
Ref.: #407 |