Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Windows XP to 7 compatibility (#5167) | Tiger Wang | 2021-03-28 | 1 | -1/+1 |
| | | | | | * Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API | ||||
* | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 2021-01-12 | 1 | -4/+6 |
| | | | | | | | | + A cPlayer, once created, has a strong pointer to the cClientHandle. The player ticks the clienthandle. If he finds the handle destroyed, he destroys himself in turn. Nothing else can kill the player. * The client handle has a pointer to the player. Once a player is created, the client handle never outlasts the player, nor does it manage the player's lifetime. The pointer is always safe to use after FinishAuthenticate, which is also the point where cProtocol is put into the Game state that allows player manipulation. + Entities are once again never lost by constructing a chunk when they try to move into one that doesn't exist. * Fixed a forgotten Super invocation in cPlayer::OnRemoveFromWorld. * Fix SaveToDisk usage in destructor by only saving things cPlayer owns, instead of accessing cWorld. | ||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 1 | -5/+0 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | ViewDistance: unsigned -> signed | Tiger Wang | 2020-12-26 | 1 | -4/+4 |
| | |||||
* | Warnings improvements | Tiger Wang | 2020-12-18 | 1 | -5/+9 |
| | | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler | ||||
* | Plugin reload <plugin_name> feature (#4942) | [IPSA] Chris de Claverie | 2020-09-28 | 1 | -1/+9 |
| | | | | | | | | + 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> | ||||
* | Synchronously save chunks on server shutdown (#4900) | Alexander Harkness | 2020-09-21 | 1 | -1/+2 |
| | | | + Synchronously save chunks on server shutdown. Fixes #4884 | ||||
* | Streamline startup sequence | Tiger Wang | 2020-09-05 | 1 | -18/+30 |
| | | | | | * Clean up cRoot & main * Move some OS-specifics into OSSupport | ||||
* | Added a "reloadweb" command for reloading web admin config. | Mattes D | 2020-08-27 | 1 | -1/+9 |
| | |||||
* | cProtocolRecognizer goes on a diet (#4770) | Tiger Wang | 2020-07-17 | 1 | -1/+1 |
| | | | - Removed inheritance from cProtocol | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -9/+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 | ||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 1 | -1/+1 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -1/+1 |
| | |||||
* | Acquire chunk map CS when accessing player entities | Peter Bell | 2020-04-13 | 1 | -1/+8 |
| | |||||
* | Initial resource pack support (#4622) | Mat | 2020-04-07 | 1 | -0/+1 |
| | |||||
* | Buckets: Be able to place fluids through other fluids. (#4331) | Zach DeCook | 2019-05-07 | 1 | -1/+1 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+3 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -12/+6 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -6/+12 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -12/+6 |
| | |||||
* | Implement Forge protocol handshake support (#3869) | satoshinm | 2017-08-27 | 1 | -0/+50 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 1 | -1/+1 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -2/+0 |
| | |||||
* | Tentative fix for player-limit race condition (#3862) | Tiger Wang | 2017-07-28 | 1 | -35/+13 |
| | | | | | | | | | | * Attempts to fix #2257 Derived from d233e9843148313c71fbaba96ccff660e47b07b1 * Changed player count type to int * Clarified certain actions | ||||
* | Removed the LeakFinder for Windows. (#3777) | Mattes D | 2017-06-19 | 1 | -37/+0 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -3/+4 |
| | |||||
* | Allow enabling/disabling of block change limit | mathiascode | 2017-05-19 | 1 | -0/+1 |
| | |||||
* | Custom Disconnect Message | sweetgiorni | 2017-01-03 | 1 | -0/+1 |
| | | | | | | Adds a m_ShutdownMessage option to the settings. When the stop command is issued, players are kicked with said message before the server shuts down. | ||||
* | Tab completion across worlds (#3270) | Alexander Harkness | 2016-07-21 | 1 | -0/+1 |
| | | | Fixes #2563. | ||||
* | cPluginManager: Use a callback for command handler registration. | Mattes D | 2016-06-27 | 1 | -9/+26 |
| | |||||
* | Updated old forum links | Mathias | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Fixed display of helpmessage | Julian Laubstein | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Added dash to helpstring output | Julian Laubstein | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Removed dashes in help messages for consistency | Julian Laubstein | 2015-11-23 | 1 | -8/+8 |
| | |||||
* | Revert "Changed description to "Cuberite - Minecraft in C++!"" | Safwat Halaby | 2015-11-22 | 1 | -1/+1 |
| | | | | This reverts commit f4406c047e0d1d11631e350fa61ad04d92b950ba. | ||||
* | Changed description to "Cuberite - Minecraft in C++!" | Safwat Halaby | 2015-11-20 | 1 | -1/+1 |
| | |||||
* | Added LuaState tracker and memory stats logging. | Mattes D | 2015-09-28 | 1 | -0/+9 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -4/+4 |
| | |||||
* | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2015-05-23 | 1 | -1/+1 |
| | |||||
* | Initial implementation of IniFile overloading | tycho | 2015-05-16 | 1 | -11/+11 |
| | |||||
* | A* Pathfinding and better monster AI | wiseoldman95 | 2015-05-01 | 1 | -19/+19 |
| | |||||
* | Refresh plugin list before trying to load. | Mattes D | 2015-04-19 | 1 | -0/+1 |
| | |||||
* | Split the plugin names and plugin folders to avoid confusing them. | Mattes D | 2015-04-19 | 1 | -15/+4 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877 | ||||
* | Fixes #493 and #490 | flx5 | 2015-03-11 | 1 | -1/+1 |
| | |||||
* | Replaced atoi() with StringToInteger(). | Mattes D | 2015-01-27 | 1 | -2/+2 |
| | |||||
* | Converted cServer to use the cNetwork API. | Mattes D | 2015-01-27 | 1 | -192/+78 |
| | |||||
* | Fixed a crash in RCON server. | Mattes D | 2015-01-27 | 1 | -1/+0 |
| | |||||
* | Fixed CppCheck: (performance) Possible inefficient checking for emptiness. | Kirill Kirilenko | 2015-01-17 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1623 from p-mcgowan/issue_1253 | Mattes D | 2014-12-10 | 1 | -0/+18 |
|\ | | | | | Prevent multiple logins with same username, unless allowed in settings | ||||
| * | Fixed compile errors | Vincent | 2014-12-08 | 1 | -5/+6 |
| | | |||||
| * | changed from using iterator to auto for server and clienthandle | Vincent | 2014-12-07 | 1 | -2/+2 |
| | | |||||
| * | fixed naming of strings and changed from i to I | Vincent | 2014-11-29 | 1 | -3/+3 |
| | | |||||
| * | issue 1253 - prevent multiple logins with same username | Vincent | 2014-11-29 | 1 | -0/+17 |
| | | |||||
* | | Fixed c++11 branch issues. | Mattes D | 2014-12-07 | 1 | -1/+2 |
| | | |||||
* | | Server: Fixed a MSVC warning. | Mattes D | 2014-12-03 | 1 | -1/+1 |
| | | |||||
* | | Merged branch 'master' into c++11. | Mattes D | 2014-10-24 | 1 | -1/+1 |
|\| | |||||
| * | 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 | -11/+11 |
| | | |||||
* | | Missing space. | Alexander Harkness | 2014-10-21 | 1 | -1/+1 |
| | | |||||
* | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -11/+11 |
| | | |||||
* | | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-10-20 | 1 | -0/+11 |
|\| | |||||
| * | Fix for fix #1552 | Julian Laubstein | 2014-10-20 | 1 | -2/+2 |
| | | |||||
| * | Added error message | Julian Laubstein | 2014-10-20 | 1 | -0/+11 |
| | | |||||
* | | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 1 | -10/+6 |
| | | |||||
* | | Migrated random generators to std::random | Tiger Wang | 2014-10-19 | 1 | -2/+0 |
|/ | |||||
* | cMojangAPI: Don't update data if server is in offline mode. | Mattes D | 2014-10-17 | 1 | -2/+2 |
| | |||||
* | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -1/+1 |
| | |||||
* | Added an explicit setting for allowing BungeeCord handshake. | madmaxoft | 2014-09-17 | 1 | -0/+7 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-08-29 | 1 | -19/+11 |
|\ | | | | | | | | | Conflicts: src/Server.cpp | ||||
| * | Merge remote-tracking branch 'origin/master' into Ranks | Mattes D | 2014-08-22 | 1 | -1/+3 |
| |\ | |||||
| | * | Added initializers for class members. | Mattes D | 2014-08-21 | 1 | -1/+3 |
| | | | | | | | | | | | | As reported by Coverity, these weren't initialized. | ||||
| * | | Removed cGroup and cGroupManager. | Mattes D | 2014-08-21 | 1 | -18/+8 |
| |/ | |||||
* / | Added new console command with cleanup | Tiger Wang | 2014-08-29 | 1 | -17/+42 |
|/ | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -2/+2 |
| | |||||
* | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | |||||
* | Revert "Only one instance of server can be started" | Tiger Wang | 2014-07-20 | 1 | -0/+2 |
| | | | | | | This reverts commit 6484e9814a3a540518606f552398e0b82f91ab4d. * Fixes #1200 | ||||
* | Code style: Fixed braces on separate lines. | madmaxoft | 2014-07-19 | 1 | -1/+2 |
| | |||||
* | Removed duplicate IPvX labels. | madmaxoft | 2014-07-18 | 1 | -2/+2 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -3/+3 |
| | | | | | 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. | ||||
* | Fixed spaces around single-line comments. | madmaxoft | 2014-07-17 | 1 | -3/+3 |
| | | | | There should be at least two spaces in front and one space after //-style comments. | ||||
* | Store properties as Json::Value | Tiger Wang | 2014-07-16 | 1 | -1/+1 |
| | |||||
* | Player properties are now retrieved | Tiger Wang | 2014-07-14 | 1 | -2/+2 |
| | |||||
* | Only one instance of server can be started | Tiger Wang | 2014-07-13 | 1 | -2/+0 |
| | | | | | | | | | This disallows the UDP multicasting that the original code enabled. xoft deterrent, in PR #1151 you implied that this was unwanted behaviour (but comments gone now as I force pushed - check emails?). Revert at will if unsatisfactory :P | ||||
* | Player data filenames are based on UUID. | madmaxoft | 2014-07-11 | 1 | -0/+3 |
| | |||||
* | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| | |||||
* | Fixed some warnings in Server.cpp, and in UI/ | Julian Laubstein | 2014-05-19 | 1 | -1/+7 |
| | |||||
* | removed the <list> include | Julian Laubstein | 2014-05-18 | 1 | -1/+0 |
| | |||||
* | Added unload <pluginname> command | Julian Laubstein | 2014-05-18 | 1 | -5/+9 |
| | |||||
* | Added load cmd | Julian Laubstein | 2014-05-17 | 1 | -5/+29 |
| | |||||
* | Added load command in the cServer class | Julian Laubstein | 2014-05-17 | 1 | -0/+6 |
| | |||||
* | Declared one mutex as mutable in order to allow for const correct get accessors. | jfhumann | 2014-04-19 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into fixes | jfhumann | 2014-04-18 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | Conflicts: src/Authenticator.cpp src/ClientHandle.cpp src/Entities/Minecart.cpp src/Protocol/Protocol17x.cpp | ||||
| * | Added Yggdrasil Authentication System | daniel0916 | 2014-04-13 | 1 | -2/+2 |
| | | | | | | | | Code by Howaner. Fixes/Changes by me. | ||||
* | | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'Werror' into warnings | Tycho | 2014-03-12 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/Globals.h | ||||
| * | Unified Vector classes | andrew | 2014-03-11 | 1 | -1/+1 |
| | | |||||
* | | Fixed more Format issues | Tycho | 2014-03-11 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #709 from Howaner/GlobalFixes | Mattes D | 2014-02-28 | 1 | -0/+2 |
|\ | | | | | Add 'Group not found', when the Server load the users.ini and add auto g... | ||||
| * | Remove old Output Finish | Howaner | 2014-02-21 | 1 | -2/+0 |
| | | |||||
| * | Add 'Group not found', when the Server load the users.ini and add auto generate from users.ini | Howaner | 2014-02-21 | 1 | -0/+4 |
| | | |||||
* | | Disabled the leak finder. | madmaxoft | 2014-02-20 | 1 | -1/+3 |
|/ | |||||
* | "reload" is back. | STRWarrior | 2014-02-09 | 1 | -0/+7 |
| | |||||
* | Split "reload" in "reloadplugins" and "reloadgroups". | STRWarrior | 2014-02-09 | 1 | -2/+5 |
| | |||||
* | The console reload command also reloads the groups. | STRWarrior | 2014-02-09 | 1 | -0/+1 |
| | |||||
* | Protocol 1.7: Forced encryption on all connections. | madmaxoft | 2014-01-28 | 1 | -1/+2 |
| | | | | This is for testing purposes only, to find bugs in the encryption. Once the encryption is deemed stable, it will be enabled only for servers with enabled Authentication. | ||||
* | Merge pull request #587 from mc-server/mobimprovements | Mattes D | 2014-01-25 | 1 | -1/+1 |
|\ | | | | | Mob improvements & rudimentary artificial intelligence | ||||
| * | Mob bugfixes | Tiger Wang | 2014-01-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | * Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563 | ||||
* | | PolarSSL is fully used for 1.3.2 protocol encryption. | madmaxoft | 2014-01-23 | 1 | -10/+2 |
|/ | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer | andrew | 2014-01-21 | 1 | -10/+1 |
|\ | |||||
| * | Rewritten SocketThreads for proper shutdown scenario. | madmaxoft | 2014-01-19 | 1 | -10/+1 |
| | | | | | | | | This fixes #560 and #390. | ||||
* | | Scoreboard protocol support | andrew | 2014-01-21 | 1 | -1/+1 |
|/ | |||||
* | Command blocks: Execute() | andrew | 2014-01-18 | 1 | -1/+1 |
| | |||||
* | Fixed favicons | Tiger Wang | 2014-01-07 | 1 | -13/+1 |
| | |||||
* | Merge pull request #514 from derouinw/master | Mattes D | 2014-01-07 | 1 | -0/+14 |
|\ | | | | | Implement favicon for 1.7.2 | ||||
| * | Avoid making copies of favicon string | Bill Derouin | 2014-01-07 | 1 | -1/+1 |
| | | |||||
| * | A few more touch ups | Bill Derouin | 2014-01-07 | 1 | -1/+1 |
| | | |||||
| * | A few touch ups | Bill Derouin | 2014-01-07 | 1 | -1/+4 |
| | | |||||
| * | Implement favicon for 1.7.2 | Bill Derouin | 2014-01-07 | 1 | -0/+11 |
| | | | | | | | | | | Favicon data is a png encoded in base64 which is stored in the server and sent in the server response packet | ||||
* | | More MSVC warning fixes. | madmaxoft | 2014-01-07 | 1 | -1/+1 |
|/ | |||||
* | fixxed warnings in Server.cpp | Tycho Bickerstaff | 2013-12-31 | 1 | -0/+5 |
| | |||||
* | Fixed cClientHandle::Tick() being called from two threads. | madmaxoft | 2013-12-16 | 1 | -1/+1 |
| | | | | | When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187. | ||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Ref.: #407 | ||||
* | Fixed the remaining derps | Alexander Harkness | 2013-11-27 | 1 | -2/+2 |
| | |||||
* | Compile fix again | Tiger Wang | 2013-11-26 | 1 | -1/+1 |
| | |||||
* | Fixed Linux compile again | Tiger Wang | 2013-11-26 | 1 | -1/+1 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 1 | -2/+2 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+707 |