Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 1 | -2/+0 |
| | | | | | * Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final | ||||
* | Authentication flow: move construction, slim down classes (#5312) | Tiger Wang | 2021-10-02 | 1 | -9/+0 |
| | | | - Remove extra members in ForgeHandshake | ||||
* | Fix: GetPhysicalRamUsage on FreeBSD (UNIX) - webadmin display (#5213) | Morritz | 2021-04-30 | 1 | -0/+36 |
| | | | | | | | | | | | * Fix: GetPhysicalRamUsage on FreeBSD (UNIX) - webadmin display * fixed cast type * Fix: GetPhysicalRamUsage on FreeBSD - webadmin display / style and failing build fixes * added myself to contributors Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> | ||||
* | Fix Windows XP to 7 compatibility (#5167) | Tiger Wang | 2021-03-28 | 1 | -1/+0 |
| | | | | | * Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API | ||||
* | Adds playerlist header and footer broadcasting (1.8-1.13) | dImrich | 2021-02-06 | 1 | -0/+12 |
| | |||||
* | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 2021-01-12 | 1 | -1/+1 |
| | | | | | | | | + 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. | ||||
* | Warnings improvements | Tiger Wang | 2020-12-18 | 1 | -10/+21 |
| | | | | | | | | | * 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 | ||||
* | Include sys/select.h on non-glibc Linux platforms (#4977) | Bart Ribbers | 2020-10-09 | 1 | -0/+4 |
| | | | Otherwise fd_set will be unknown for example on Musl libc systems | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -12/+10 |
| | | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Remove unused Temporary namespace | Tiger Wang | 2020-09-25 | 1 | -2/+0 |
| | |||||
* | Synchronously save chunks on server shutdown (#4900) | Alexander Harkness | 2020-09-21 | 1 | -0/+12 |
| | | | + Synchronously save chunks on server shutdown. Fixes #4884 | ||||
* | WriteConsoleInput can return FALSE when running as servic | Tiger Wang | 2020-09-05 | 1 | -6/+2 |
| | |||||
* | Streamline startup sequence | Tiger Wang | 2020-09-05 | 1 | -200/+170 |
| | | | | | * Clean up cRoot & main * Move some OS-specifics into OSSupport | ||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -2/+2 |
| | |||||
* | Remove ProtocolPalettes | Tiger Wang | 2020-07-19 | 1 | -43/+0 |
| | |||||
* | Delete duplicated status request handlers | Tiger Wang | 2020-07-18 | 1 | -1/+1 |
| | | | | Here we go again... | ||||
* | 1.13 items support | Tiger Wang | 2020-07-18 | 1 | -2/+0 |
| | | | | + Add 1.16 block and item definitions | ||||
* | cProtocolRecognizer goes on a diet (#4770) | Tiger Wang | 2020-07-17 | 1 | -1/+1 |
| | | | - Removed inheritance from cProtocol | ||||
* | cWorld * -> cWorld (#4771) | Tiger Wang | 2020-07-14 | 1 | -82/+59 |
| | | | * cWorld * -> cWorld | ||||
* | Introduce recipe book functionality (#4493) | Tobias Wilken | 2020-07-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce recipe book functionality The recipe book helps especially new players. Missing it gives the impression that cuberite is not as advanced as it is. The handling of the recipe book uses the following functions: - Unlock Recipes (https://wiki.vg/index.php?title=Protocol&oldid=14204#Unlock_Recipes) to make recipes available and show the notification for new recipes. Initialization is done on player login for known ones, the update is done when new items are discovered. - Craft Recipe Request (https://wiki.vg/index.php?title=Protocol&oldid=14204#Craft_Recipe_Request) when the user selects a recipe from the recipe book to fill the slots. Known recipes are initialized on player login via `Unlock Recipes` with `Action` 0. As soon as a new recipe is discovered this is added via `Unlock Recipes` with `Action` 1. To be able to know and recognize new recipes the player class is extended with `KnownItems` and `KnownRecipes`. As soon as a player touches an item this is compared to the list of `KnownItems`, if the item is unknown the recipes are checked for this item and the other ingredients are checked with the list of `KnownItems`. If a full match is discovered the recipe is unlocked with the client and stored in the `KnownRecipes`. To unlock recipes the recipe ID is sent to the client. A mapping file (for protocol 1.12.2) translated the minecraft recipe names to ids. The crafting.txt is extended with and minecraft recipe names is possible. Limitations: Only a single recipe is added to the crafting area. Multiple clicks or shift click does not increase the number of builds. Co-authored-by: peterbell10 <peterbell10@live.co.uk> * Address first issues mentioned by @peterbell10 - Some linting - Extract loading of recipe specific protocol mapping into a function - Build `RecipeNameMap` only once - Use `std::optional` - Extract `LoadRecipe` from `Window` * Start to implement new suggestions * Update with suggestions from @peterbell10 * Some minor cleanup * Update protocol packet IDs * Remove unused include * Include header in cmake * Change a vector to integer counter * Change dromedaryCase method names to PascalCase * Address suggestions from @madmaxoft * Read Protocol subdirectories to load recipe books To load all recipebooks iterate over the `Protocol` subdirectories to find mapping files. Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | 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 | ||||
* | Added temporary block type mapping for 1.13+ protocols. | Mattes D | 2020-01-07 | 1 | -17/+44 |
| | |||||
* | Root: Load the UpgradeBlockTypePalette on startup. | Mattes D | 2020-01-07 | 1 | -0/+19 |
| | |||||
* | Fixed MSVC warnings (#4400) | Mattes D | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Register vanilla blocks in BlockTypeRegistry. | Mattes D | 2019-08-05 | 1 | -0/+1 |
| | |||||
* | Use clang-tidy to check more code conventions (#4214) | Bond-009 | 2018-05-06 | 1 | -1/+0 |
| | | | | | | | * Create clang-tidy.sh * Add clang-tidy to circle.yml * Fixed some naming violations Fixes #4164 | ||||
* | Broadcast playerlist removal in every world (#4201) | mathiascode | 2018-04-02 | 1 | -0/+19 |
| | |||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -5/+5 |
| | | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | ||||
* | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 2017-12-21 | 1 | -1/+1 |
| | | | | | | | | | | | | * Fixed Clang 5.0 compile errors * Fixed wrong comment * Only disable warnings in Clang 5 or higher * Added a CMake condition for the Clang 5 no-zero-as-null-pointer-constant warning * Now using the use_nullptr branch of the Cuberite specific SQLiteCpp fork | ||||
* | cWorld: Move Initialization from Start to the constructor. | peterbell10 | 2017-10-21 | 1 | -10/+19 |
| | | | | Start now does nothing more than launch the world's threads. | ||||
* | cRoot: Make PollPeriod representation 32 bit (#4030) | peterbell10 | 2017-09-19 | 1 | -3/+1 |
| | |||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Fix error with implicit cast from long long to long (#4026) | Alexander Harkness | 2017-09-14 | 1 | -1/+1 |
| | |||||
* | Limit how long cRoot::InputThread may block (#4019) | peterbell10 | 2017-09-12 | 1 | -10/+26 |
| | | | | | | | Limit how long cRoot::InputThread may block Only calls `std::getline` when there is input available which removes the need to "notify" the input thread. Fixes #2494 and fixes #3177 | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -45/+25 |
| | |||||
* | Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912) | Lane Kolbly | 2017-09-07 | 1 | -14/+34 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -25/+45 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -45/+25 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 1 | -2/+2 |
| | |||||
* | Add command line argument for disabling the logfile | worktycho | 2017-06-03 | 1 | -6/+11 |
| | |||||
* | Prevent infinite loop when logging fails (#3693) | josh-parris | 2017-05-05 | 1 | -0/+1 |
| | | | | Prevent infinite loop when logging fails | ||||
* | Fixed looping when unable to bind port (#3621) | johnsoch | 2017-03-17 | 1 | -0/+7 |
| | | | Fixes #3593 | ||||
* | Changed world_end to world_the_end #3531 (#3538) | Bond-009 | 2017-02-24 | 1 | -11/+26 |
| | |||||
* | Add support for alternate config file locations (#3578) | Gareth Nelson | 2017-02-22 | 1 | -1/+7 |
| | |||||
* | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 2017-01-18 | 1 | -7/+7 |
| | |||||
* | Disconnect sent flag added | sweetgiorni | 2017-01-03 | 1 | -5/+6 |
| | | | | Truthiness no longer assumed | ||||
* | Player check | sweetgiorni | 2017-01-03 | 1 | -4/+7 |
| | | | | | Checks if there are any players connected to the server before running PlayerCallback and waiting 1 second. | ||||
* | Api Documentation | sweetgiorni | 2017-01-03 | 1 | -1/+1 |
| | | | | | Added API documentation for GetShutdownMessage. Style fix in Root.cpp | ||||
* | Custom Disconnect Message | sweetgiorni | 2017-01-03 | 1 | -0/+16 |
| | | | | | | 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. | ||||
* | Fix crash after attempting to kill a non-running thread (#3504) | Fabian Stein | 2017-01-01 | 1 | -4/+7 |
| | | | Fixes #3221 | ||||
* | Disabled anticheat (#3511) | LogicParrot | 2017-01-01 | 1 | -1/+2 |
| | |||||
* | Use CMake's Android generators to crosscompile | Tiger Wang | 2016-12-12 | 1 | -12/+10 |
| | |||||
* | Removed ClientHandle.h dependencies from common headers. | Mattes D | 2016-11-18 | 1 | -13/+17 |
| | |||||
* | Anticheat fastbreak (#3411) | mohe2015 | 2016-11-06 | 1 | -0/+3 |
| | | | Added block hardness checks when breaking blocks. | ||||
* | Remove settings.ini world migration code (#3360) | LogicParrot | 2016-08-29 | 1 | -49/+0 |
| | |||||
* | Fix the error in #3270. | Alexander Harkness | 2016-07-29 | 1 | -1/+1 |
| | |||||
* | Tab completion across worlds (#3270) | Alexander Harkness | 2016-07-21 | 1 | -0/+30 |
| | | | Fixes #2563. | ||||
* | SelfTests: Removed the unneeded cSelfTests class. | Mattes D | 2016-06-18 | 1 | -6/+0 |
| | |||||
* | Auto clean bad world linkages | LogicParrot | 2016-04-19 | 1 | -1/+1 |
| | |||||
* | Write to console when autofixing linkages | LogicParrot | 2016-02-09 | 1 | -0/+1 |
| | |||||
* | Merge pull request #2990 from LogicParrot/defaultWorld | LogicParrot | 2016-02-08 | 1 | -1/+2 |
|\ | | | | | Add DefaultWorld to newly generated INI | ||||
| * | Add DefaultWorld to newly generated INI | LogicParrot | 2016-02-08 | 1 | -1/+2 |
| | | |||||
* | | remove cWorld::createAndInitializeWorld | LogicParrot | 2016-02-08 | 1 | -28/+1 |
|/ | |||||
* | Merge pull request #2961 from LogicParrot/enforce | LogicParrot | 2016-02-08 | 1 | -3/+12 |
|\ | | | | | [PhantomWorlds - 4] Prevent server from starting if there's bad world linkage | ||||
| * | Prevent server from starting if there's bad world linkage | LogicParrot | 2016-02-05 | 1 | -3/+12 |
| | | |||||
* | | Proper world linkages and dimension types for newly created world.ini's | LogicParrot | 2016-02-06 | 1 | -1/+59 |
|/ | |||||
* | Fix unexpected world creation introduced by #2821 | LogicParrot | 2016-02-04 | 1 | -1/+1 |
| | |||||
* | Front-end update | Mathias | 2016-01-28 | 1 | -1/+0 |
| | |||||
* | Fix running as a service. | Anthony Birkett | 2016-01-21 | 1 | -10/+3 |
| | | | | | | | | | | Two problems identified, both traced to commit 4315a11 (main.cpp) ParseArguments() was no longer being called before checking cRoot::m_RunAsService. This led to m_RunAsService never being set (we use -d on the command line to instigate a service start). (Root.cpp) Terminate events were being ignored when running as a service. We only need to ignore the cin.good() call, not terminate events as a whole. | ||||
* | Fixed crash introduced by #2821 | LogicParrot | 2016-01-12 | 1 | -29/+31 |
| | |||||
* | Merge pull request #2821 from LogicParrot/world2 | LogicParrot | 2016-01-12 | 1 | -2/+48 |
|\ | | | | | Fix pre - #2815 default world linkage configs | ||||
| * | Fix pre - #2815 default world linkage configs | Safwat Halaby | 2015-12-25 | 1 | -2/+48 |
| | | |||||
* | | Fixed Clang warnings. | Mattes D | 2016-01-06 | 1 | -3/+3 |
|/ | |||||
* | Nether and End in settings.ini by default, and created at startup | Safwat Halaby | 2015-12-25 | 1 | -3/+17 |
| | |||||
* | Added HTTPS links wherever they are supported. | Alexander Harkness | 2015-12-19 | 1 | -4/+4 |
| | |||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 1 | -5/+3 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | Increase robustness of the logging subsystem | tycho | 2015-09-15 | 1 | -9/+10 |
| | |||||
* | Include signal.h jointly for POSIX systems | Matti Hanninen | 2015-08-27 | 1 | -5/+7 |
| | | | | | Otherwise, for example, FreeBSD the build fails due to SIGKILL not being around. | ||||
* | Cast UINT to WORD to appease warning | Tiger Wang | 2015-08-22 | 1 | -6/+5 |
| | | | | * Additional minor cleanups | ||||
* | Fixed and improved restarting | Tiger Wang | 2015-08-20 | 1 | -130/+161 |
| | | | | | Restarts are now an actual, close-as-possible to application exit+reopen. | ||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 1 | -2/+2 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -5/+5 |
| | |||||
* | Updated and submodularised JsonCPP | Tiger Wang | 2015-07-10 | 1 | -0/+2 |
| | | | | | Conflicts: lib/jsoncpp | ||||
* | Merge pull request #2241 from lkolbly/master | worktycho | 2015-06-26 | 1 | -2/+5 |
|\ | | | | | Work on NetherPortalScanner. Setup portal scanner to reset PortalCool… | ||||
| * | Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld. | Lane Kolbly | 2015-06-13 | 1 | -2/+5 |
| | | |||||
* | | Fixed log files' timestamps | Tiger Wang | 2015-06-14 | 1 | -1/+1 |
|/ | | | | | Also made Release mode log less technical information about the world storage threads. | ||||
* | Fixed build error on Linux | Alexander Harkness | 2015-06-12 | 1 | -1/+1 |
| | |||||
* | SelfTests are registered and executed after logging framework init. | Mattes D | 2015-06-11 | 1 | -3/+14 |
| | | | | Fixes #2228. | ||||
* | Daemon support on Linux. | Anthony Birkett | 2015-06-05 | 1 | -1/+1 |
| | | | | Added null console log listener, avoid printf() when stdout is closed. | ||||
* | Fix for the way connecting clients receive player lists and broadcast chat | b33duck | 2015-05-29 | 1 | -2/+17 |
| | |||||
* | Added method to get the uptime of the server in seconds. Implements #1650. | Lukas Pioch | 2015-05-26 | 1 | -16/+16 |
| | |||||
* | Move make_unique into a namespace to avoid ADL issues | tycho | 2015-05-16 | 1 | -2/+2 |
| | | | | this prevents VS finding std::make_unique for constructors that take types from std | ||||
* | Initial implementation of IniFile overloading | tycho | 2015-05-16 | 1 | -27/+30 |
| | |||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | |||||
* | Eliminate race condition in cRoot::FindAndDoWithPlayer | worktycho | 2015-04-24 | 1 | -4/+4 |
| | | | Avoid a race condition where a player gets deleted during the FindAndDoWithPlayer callback by moving the callback into DoWithPlayer. | ||||
* | Fixed crash on exit introduced with Windows Service capability. | Mattes D | 2015-04-05 | 1 | -20/+14 |
| | | | | Ref.: #1845 | ||||
* | Working as a Windows service. Starts and stops correctly. | Anthony Birkett | 2015-04-01 | 1 | -1/+11 |
| | | | | | | | | | Added "/service" switch, to prompt the binary to attempt starting as a service. Added service* methods, to control service startup. Split up main() into universalMain(), which contains the startup code for both service and normal start. Added cRoot::m_RunningAsService bool, Added cRoot::SetStopping(bool) to allow a stop request to be sent by the service controller. Added cBlockIDMap::init() to avoid loading items.ini before the working directory has been set. | ||||
* | Fixed server failure to open any port not aborting the server. | Mattes D | 2015-01-27 | 1 | -29/+35 |
| | |||||
* | Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types. | Kirill Kirilenko | 2015-01-17 | 1 | -1/+1 |
| | |||||
* | Init Mojang API pointer | worktycho | 2014-12-23 | 1 | -0/+1 |
| | | | Fixes CID 90583 | ||||
* | Fixed crash on restart | Tiger Wang | 2014-12-21 | 1 | -3/+12 |
| | |||||
* | Fixed print of milliseconds from chrono | Lukas Pioch | 2014-12-12 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1623 from p-mcgowan/issue_1253 | Mattes D | 2014-12-10 | 1 | -0/+16 |
|\ | | | | | Prevent multiple logins with same username, unless allowed in settings | ||||
| * | Changed DoWithPlayer to auto instead of using iterator. | Vincent | 2014-12-09 | 1 | -2/+2 |
| | | |||||
| * | created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World. | Vincent | 2014-12-08 | 1 | -1/+8 |
| | | |||||
| * | Fixed compile errors | Vincent | 2014-12-08 | 1 | -1/+1 |
| | | |||||
| * | Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added. | Vincent | 2014-12-08 | 1 | -0/+9 |
| | | |||||
* | | Fixed compiling. | Howaner | 2014-12-09 | 1 | -1/+1 |
| | | |||||
* | | Fixed trailing whitespace. | Mattes D | 2014-12-04 | 1 | -1/+1 |
| | | |||||
* | | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -1/+1 |
|\| | |||||
| * | cRoot: Fixed a memory leak with cRankManager. | Mattes D | 2014-11-26 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-11-23 | 1 | -0/+16 |
|\| | | | | | | | | | | | Conflicts: src/Noise/Noise.h src/World.h | ||||
| * | Fixed trailing whitespace. | Mattes D | 2014-11-12 | 1 | -1/+1 |
| | | |||||
| * | renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump | Lukas Pioch | 2014-11-05 | 1 | -2/+2 |
| | | |||||
| * | Added FindAndDoWithUUID | Lukas Pioch | 2014-11-02 | 1 | -0/+16 |
| | | |||||
* | | Merged branch 'master' into c++11. | Mattes D | 2014-10-24 | 1 | -3/+2 |
|\| | |||||
| * | Merged IniFile into main MCS sources. | Mattes D | 2014-10-23 | 1 | -3/+2 |
| | | |||||
| * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -22/+22 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-10-24 | 1 | -1/+1 |
| | | |||||
* | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -20/+20 |
| | | |||||
* | | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 1 | -9/+3 |
| | | |||||
* | | Migrated random generators to std::random | Tiger Wang | 2014-10-19 | 1 | -16/+6 |
| | | |||||
* | | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-10-19 | 1 | -1/+2 |
|\| | |||||
| * | Merge pull request #1502 from mc-server/furnaces | Tiger Wang | 2014-10-18 | 1 | -1/+2 |
| |\ | | | | | | | Improved furnaces | ||||
| | * | Fixed failure for cRankManager to restart | Tiger Wang | 2014-10-18 | 1 | -1/+2 |
| | | | |||||
* | | | Use std::thread | Tiger Wang | 2014-10-19 | 1 | -10/+20 |
|/ / | |||||
* / | cMojangAPI: Don't update data if server is in offline mode. | Mattes D | 2014-10-17 | 1 | -2/+3 |
|/ | |||||
* | Dropped support for <1.7.x | Tiger Wang | 2014-09-27 | 1 | -12/+0 |
| | |||||
* | Fixed minor style issues. | madmaxoft | 2014-09-17 | 1 | -2/+2 |
| | |||||
* | Added abilty to set build info | Tycho | 2014-09-10 | 1 | -0/+6 |
| | | | | | build info is displayed at startup Fixes #1410 | ||||
* | capitalisation error | worktycho | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | derp | worktycho | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | If server fails init, save any changed or generated settings. | worktycho | 2014-09-08 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-08-29 | 1 | -24/+19 |
|\ | | | | | | | | | Conflicts: src/Server.cpp | ||||
| * | Merge remote-tracking branch 'origin/master' into Ranks | Mattes D | 2014-08-22 | 1 | -8/+18 |
| |\ | |||||
| | * | Renamed Loggers | Tycho | 2014-08-12 | 1 | -7/+7 |
| | | | |||||
| | * | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 1 | -8/+18 |
| | | | |||||
| * | | Removed cGroup and cGroupManager. | Mattes D | 2014-08-21 | 1 | -16/+0 |
| | | | |||||
| * | | RankMgr: Initial migration code. | madmaxoft | 2014-08-13 | 1 | -0/+1 |
| |/ | |||||
* / | Added new console command with cleanup | Tiger Wang | 2014-08-29 | 1 | -11/+3 |
|/ | |||||
* | Merged branch 'master' into NameToUUID. | madmaxoft | 2014-07-31 | 1 | -12/+24 |
|\ | |||||
| * | Merged branch 'howaner/Options'. | madmaxoft | 2014-07-30 | 1 | -2/+2 |
| |\ | |||||
| | * | Add "Broadcasting" settings to world.ini | Howaner | 2014-07-27 | 1 | -2/+2 |
| | | | |||||
| * | | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 2014-07-22 | 1 | -2/+4 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -15/+13 |
| |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * | | Bug and crash fixes | Tiger Wang | 2014-07-20 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files | ||||
| * | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -9/+9 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp src/ClientHandle.h src/Entities/Player.cpp src/Entities/Player.h src/Generating/FinishGen.cpp src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol16x.cpp src/Protocol/Protocol16x.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/Root.h src/World.cpp | ||||
| * | | | Portal improvements and suggestions | Tiger Wang | 2014-06-10 | 1 | -3/+3 |
| | | | | |||||
| * | | | Implemented end and nether portals | Tiger Wang | 2014-05-31 | 1 | -8/+13 |
| | | | | |||||
* | | | | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 2014-07-30 | 1 | -0/+1 |
| |_|/ |/| | | | | | | | | The cache is persisted into a SQLite DB file on server shutdown. | ||||
* | | | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -12/+12 |
| | | | |||||
* | | | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -3/+3 |
| | | | |||||
* | | | main.cpp: field style fixes | archshift | 2014-07-20 | 1 | -4/+4 |
| | | | |||||
* | | | main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATED | archshift | 2014-07-19 | 1 | -2/+0 |
| |/ |/| | |||||
* | | 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. | ||||
* | | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | | | | | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | | 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 |
|/ | |||||
* | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -8/+6 |
| | |||||
* | Added Yggdrasil Authentication System | daniel0916 | 2014-04-13 | 1 | -2/+2 |
| | | | | Code by Howaner. Fixes/Changes by me. | ||||
* | Fixed a minor ini key duplication bug | Tiger Wang | 2014-03-29 | 1 | -0/+1 |
| | |||||
* | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 2014-03-12 | 1 | -5/+5 |
| | |||||
* | Fixed more Format issues | Tycho | 2014-03-11 | 1 | -5/+5 |
| | |||||
* | Fixed issues with int vs size_t and a few other warnings | Tycho | 2014-03-08 | 1 | -4/+2 |
| | |||||
* | cBlockInfo now manages the respective cBlockHandler | andrew | 2014-03-02 | 1 | -1/+0 |
| | |||||
* | Unicode :-( | Howaner | 2014-02-21 | 1 | -1/+1 |
| | |||||
* | Add 'Group not found', when the Server load the users.ini and add auto generate from users.ini | Howaner | 2014-02-21 | 1 | -1/+3 |
| | |||||
* | Removed the unnecessary LoopPlayersAndBroadcastChat() functions. | madmaxoft | 2014-02-15 | 1 | -2/+2 |
| | |||||
* | Implemented cCompositeChat. | madmaxoft | 2014-02-15 | 1 | -1/+13 |
| | | | | | This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | ||||
* | Merge remote-tracking branch 'origin/master' into playerimprovements | Tiger Wang | 2014-02-09 | 1 | -5/+12 |
|\ | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp | ||||
| * | WebAdmin is stopped properly on server shutdown / restart. | madmaxoft | 2014-02-07 | 1 | -5/+2 |
| | | | | | | | | Fixes #272. | ||||
| * | Fixed wiki link in auto-generated settings.ini. | madmaxoft | 2014-02-07 | 1 | -1/+2 |
| | | |||||
| * | Improvements: | STRWarrior | 2014-02-05 | 1 | -0/+9 |
| | | | | | | | | | | | | Adds a function in cRoot that allows you to reload all the groups permissions. Note: Players don't automatically load their new permissions. You can use cPlayer::LoadPermissionsFromDisk for that. | ||||
* | | Improved chat messaging functions | Tiger Wang | 2014-02-07 | 1 | -2/+2 |
|/ | | | | | | | * Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API. | ||||
* | Fixed timing on *nix. | madmaxoft | 2014-01-28 | 1 | -1/+1 |
| | |||||
* | Fixed GetPhysicalRAMUsage on Linux | andrew | 2014-01-01 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:mc-server/MCServer | Tycho Bickerstaff | 2013-12-22 | 1 | -9/+25 |
|\ | |||||
| * | Added many event catchers | Tiger Wang | 2013-12-22 | 1 | -9/+25 |
| | | | | | | | | | | | | * Window close * CTRL-C * etc. | ||||
* | | Root is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -1/+1 |
|/ | |||||
* | Fixed the rest of constructor reorders. | madmaxoft | 2013-12-20 | 1 | -34/+38 |
| | |||||
* | HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used. | STRWarrior | 2013-12-11 | 1 | -0/+1 |
| | |||||
* | Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. | STRWarrior | 2013-12-11 | 1 | -0/+18 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures | Tiger Wang | 2013-12-08 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | 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 | -1/+1 |
| | | | | | | | | Ref.: #407 | ||||
* | | Console trims its commands before executing 'em | Tiger Wang | 2013-12-07 | 1 | -3/+3 |
|/ | |||||
* | DeadlockDetect is configurable now. | madmaxoft | 2013-11-30 | 1 | -4/+7 |
| | | | | This is needed when debugging Lua plugins. | ||||
* | Fixed some of tiger's derpyness. | Alexander Harkness | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | Hopefully fixed last of the Linux compile errors | Tiger Wang | 2013-11-26 | 1 | -1/+1 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -0/+10 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+744 |