summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ItemHandler initialisation is a constant expression (#5344)x12xx12x2021-12-021-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 Wang2021-10-021-9/+0
| | | - Remove extra members in ForgeHandshake
* Fix: GetPhysicalRamUsage on FreeBSD (UNIX) - webadmin display (#5213)Morritz2021-04-301-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 Wang2021-03-281-1/+0
| | | | | * Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API
* Adds playerlist header and footer broadcasting (1.8-1.13)dImrich2021-02-061-0/+12
|
* Clarify cClientHandle, cPlayer ownership semanticsTiger Wang2021-01-121-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 improvementsTiger Wang2020-12-181-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 Ribbers2020-10-091-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)peterbell102020-10-051-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 namespaceTiger Wang2020-09-251-2/+0
|
* Synchronously save chunks on server shutdown (#4900)Alexander Harkness2020-09-211-0/+12
| | | + Synchronously save chunks on server shutdown. Fixes #4884
* WriteConsoleInput can return FALSE when running as servicTiger Wang2020-09-051-6/+2
|
* Streamline startup sequenceTiger Wang2020-09-051-200/+170
| | | | | * Clean up cRoot & main * Move some OS-specifics into OSSupport
* Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D2020-08-011-2/+2
|
* Remove ProtocolPalettesTiger Wang2020-07-191-43/+0
|
* Delete duplicated status request handlersTiger Wang2020-07-181-1/+1
| | | | Here we go again...
* 1.13 items supportTiger Wang2020-07-181-2/+0
| | | | + Add 1.16 block and item definitions
* cProtocolRecognizer goes on a diet (#4770)Tiger Wang2020-07-171-1/+1
| | | - Removed inheritance from cProtocol
* cWorld * -> cWorld (#4771)Tiger Wang2020-07-141-82/+59
| | | * cWorld * -> cWorld
* Introduce recipe book functionality (#4493)Tobias Wilken2020-07-141-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)peterbell102020-05-151-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 D2020-01-071-17/+44
|
* Root: Load the UpgradeBlockTypePalette on startup.Mattes D2020-01-071-0/+19
|
* Fixed MSVC warnings (#4400)Mattes D2019-09-271-1/+1
|
* Register vanilla blocks in BlockTypeRegistry.Mattes D2019-08-051-0/+1
|
* Use clang-tidy to check more code conventions (#4214)Bond-0092018-05-061-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)mathiascode2018-04-021-0/+19
|
* Add the fmt library (#4065)peterbell102018-01-031-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)bibo382017-12-211-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.peterbell102017-10-211-10/+19
| | | | Start now does nothing more than launch the world's threads.
* cRoot: Make PollPeriod representation 32 bit (#4030)peterbell102017-09-191-3/+1
|
* Removed UTF-8 BOM (#4033)Lukas Pioch2017-09-191-1/+1
|
* Fix error with implicit cast from long long to long (#4026)Alexander Harkness2017-09-141-1/+1
|
* Limit how long cRoot::InputThread may block (#4019)peterbell102017-09-121-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)peterbell102017-09-111-45/+25
|
* Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912)Lane Kolbly2017-09-071-14/+34
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-25/+45
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-45/+25
|
* Add cUUID class (#3871)peterbell102017-08-251-2/+2
|
* Add command line argument for disabling the logfileworktycho2017-06-031-6/+11
|
* Prevent infinite loop when logging fails (#3693)josh-parris2017-05-051-0/+1
| | | | Prevent infinite loop when logging fails
* Fixed looping when unable to bind port (#3621)johnsoch2017-03-171-0/+7
| | | Fixes #3593
* Changed world_end to world_the_end #3531 (#3538)Bond-0092017-02-241-11/+26
|
* Add support for alternate config file locations (#3578)Gareth Nelson2017-02-221-1/+7
|
* DeadlockDetect now lists some tracked CS's stats.Mattes D2017-01-181-7/+7
|
* Disconnect sent flag addedsweetgiorni2017-01-031-5/+6
| | | | Truthiness no longer assumed
* Player checksweetgiorni2017-01-031-4/+7
| | | | | Checks if there are any players connected to the server before running PlayerCallback and waiting 1 second.
* Api Documentationsweetgiorni2017-01-031-1/+1
| | | | | Added API documentation for GetShutdownMessage. Style fix in Root.cpp
* Custom Disconnect Messagesweetgiorni2017-01-031-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 Stein2017-01-011-4/+7
| | | Fixes #3221
* Disabled anticheat (#3511)LogicParrot2017-01-011-1/+2
|
* Use CMake's Android generators to crosscompileTiger Wang2016-12-121-12/+10
|
* Removed ClientHandle.h dependencies from common headers.Mattes D2016-11-181-13/+17
|
* Anticheat fastbreak (#3411)mohe20152016-11-061-0/+3
| | | Added block hardness checks when breaking blocks.
* Remove settings.ini world migration code (#3360)LogicParrot2016-08-291-49/+0
|
* Fix the error in #3270.Alexander Harkness2016-07-291-1/+1
|
* Tab completion across worlds (#3270)Alexander Harkness2016-07-211-0/+30
| | | Fixes #2563.
* SelfTests: Removed the unneeded cSelfTests class.Mattes D2016-06-181-6/+0
|
* Auto clean bad world linkagesLogicParrot2016-04-191-1/+1
|
* Write to console when autofixing linkagesLogicParrot2016-02-091-0/+1
|
* Merge pull request #2990 from LogicParrot/defaultWorldLogicParrot2016-02-081-1/+2
|\ | | | | Add DefaultWorld to newly generated INI
| * Add DefaultWorld to newly generated INILogicParrot2016-02-081-1/+2
| |
* | remove cWorld::createAndInitializeWorldLogicParrot2016-02-081-28/+1
|/
* Merge pull request #2961 from LogicParrot/enforceLogicParrot2016-02-081-3/+12
|\ | | | | [PhantomWorlds - 4] Prevent server from starting if there's bad world linkage
| * Prevent server from starting if there's bad world linkageLogicParrot2016-02-051-3/+12
| |
* | Proper world linkages and dimension types for newly created world.ini'sLogicParrot2016-02-061-1/+59
|/
* Fix unexpected world creation introduced by #2821LogicParrot2016-02-041-1/+1
|
* Front-end updateMathias2016-01-281-1/+0
|
* Fix running as a service.Anthony Birkett2016-01-211-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 #2821LogicParrot2016-01-121-29/+31
|
* Merge pull request #2821 from LogicParrot/world2LogicParrot2016-01-121-2/+48
|\ | | | | Fix pre - #2815 default world linkage configs
| * Fix pre - #2815 default world linkage configsSafwat Halaby2015-12-251-2/+48
| |
* | Fixed Clang warnings.Mattes D2016-01-061-3/+3
|/
* Nether and End in settings.ini by default, and created at startupSafwat Halaby2015-12-251-3/+17
|
* Added HTTPS links wherever they are supported.Alexander Harkness2015-12-191-4/+4
|
* Implemented brewingLukas Pioch2015-11-031-5/+3
|
* Namechange to CuberiteMattes D2015-09-251-1/+1
|
* Increase robustness of the logging subsystemtycho2015-09-151-9/+10
|
* Include signal.h jointly for POSIX systemsMatti Hanninen2015-08-271-5/+7
| | | | | Otherwise, for example, FreeBSD the build fails due to SIGKILL not being around.
* Cast UINT to WORD to appease warningTiger Wang2015-08-221-6/+5
| | | | * Additional minor cleanups
* Fixed and improved restartingTiger Wang2015-08-201-130/+161
| | | | | Restarts are now an actual, close-as-possible to application exit+reopen.
* Fix old style casts and implicit conversionsMatti Hänninen2015-08-121-2/+2
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-5/+5
|
* Updated and submodularised JsonCPPTiger Wang2015-07-101-0/+2
| | | | | Conflicts: lib/jsoncpp
* Merge pull request #2241 from lkolbly/masterworktycho2015-06-261-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 Kolbly2015-06-131-2/+5
| |
* | Fixed log files' timestampsTiger Wang2015-06-141-1/+1
|/ | | | | Also made Release mode log less technical information about the world storage threads.
* Fixed build error on LinuxAlexander Harkness2015-06-121-1/+1
|
* SelfTests are registered and executed after logging framework init.Mattes D2015-06-111-3/+14
| | | | Fixes #2228.
* Daemon support on Linux.Anthony Birkett2015-06-051-1/+1
| | | | Added null console log listener, avoid printf() when stdout is closed.
* Fix for the way connecting clients receive player lists and broadcast chatb33duck2015-05-291-2/+17
|
* Added method to get the uptime of the server in seconds. Implements #1650.Lukas Pioch2015-05-261-16/+16
|
* Move make_unique into a namespace to avoid ADL issuestycho2015-05-161-2/+2
| | | | this prevents VS finding std::make_unique for constructors that take types from std
* Initial implementation of IniFile overloadingtycho2015-05-161-27/+30
|
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-2/+2
|
* Eliminate race condition in cRoot::FindAndDoWithPlayerworktycho2015-04-241-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 D2015-04-051-20/+14
| | | | Ref.: #1845
* Working as a Windows service. Starts and stops correctly.Anthony Birkett2015-04-011-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 D2015-01-271-29/+35
|
* Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types.Kirill Kirilenko2015-01-171-1/+1
|
* Init Mojang API pointerworktycho2014-12-231-0/+1
| | | Fixes CID 90583
* Fixed crash on restartTiger Wang2014-12-211-3/+12
|
* Fixed print of milliseconds from chronoLukas Pioch2014-12-121-1/+1
|
* Merge pull request #1623 from p-mcgowan/issue_1253Mattes D2014-12-101-0/+16
|\ | | | | Prevent multiple logins with same username, unless allowed in settings
| * Changed DoWithPlayer to auto instead of using iterator.Vincent2014-12-091-2/+2
| |
| * created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World.Vincent2014-12-081-1/+8
| |
| * Fixed compile errorsVincent2014-12-081-1/+1
| |
| * Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added.Vincent2014-12-081-0/+9
| |
* | Fixed compiling.Howaner2014-12-091-1/+1
| |
* | Fixed trailing whitespace.Mattes D2014-12-041-1/+1
| |
* | Merged branch 'origin/master' into c++11.Mattes D2014-12-041-1/+1
|\|
| * cRoot: Fixed a memory leak with cRankManager.Mattes D2014-11-261-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into c++11Tiger Wang2014-11-231-0/+16
|\| | | | | | | | | | | Conflicts: src/Noise/Noise.h src/World.h
| * Fixed trailing whitespace.Mattes D2014-11-121-1/+1
| |
| * renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDumpLukas Pioch2014-11-051-2/+2
| |
| * Added FindAndDoWithUUIDLukas Pioch2014-11-021-0/+16
| |
* | Merged branch 'master' into c++11.Mattes D2014-10-241-3/+2
|\|
| * Merged IniFile into main MCS sources.Mattes D2014-10-231-3/+2
| |
| * En masse NULL -> nullptr replaceTiger Wang2014-10-231-22/+22
| |
* | SuggestionsTiger Wang2014-10-241-1/+1
| |
* | En masse NULL -> nullptr replaceTiger Wang2014-10-201-20/+20
| |
* | Migrated cSleep and cTimer to std::chronoTiger Wang2014-10-201-9/+3
| |
* | Migrated random generators to std::randomTiger Wang2014-10-191-16/+6
| |
* | Merge branch 'master' of https://github.com/mc-server/MCServerTiger Wang2014-10-191-1/+2
|\|
| * Merge pull request #1502 from mc-server/furnacesTiger Wang2014-10-181-1/+2
| |\ | | | | | | Improved furnaces
| | * Fixed failure for cRankManager to restartTiger Wang2014-10-181-1/+2
| | |
* | | Use std::threadTiger Wang2014-10-191-10/+20
|/ /
* / cMojangAPI: Don't update data if server is in offline mode.Mattes D2014-10-171-2/+3
|/
* Dropped support for <1.7.xTiger Wang2014-09-271-12/+0
|
* Fixed minor style issues.madmaxoft2014-09-171-2/+2
|
* Added abilty to set build infoTycho2014-09-101-0/+6
| | | | | build info is displayed at startup Fixes #1410
* capitalisation errorworktycho2014-09-081-1/+1
|
* derpworktycho2014-09-081-1/+1
|
* If server fails init, save any changed or generated settings.worktycho2014-09-081-0/+1
|
* Merge branch 'master' of https://github.com/mc-server/MCServerTiger Wang2014-08-291-24/+19
|\ | | | | | | | | Conflicts: src/Server.cpp
| * Merge remote-tracking branch 'origin/master' into RanksMattes D2014-08-221-8/+18
| |\
| | * Renamed LoggersTycho2014-08-121-7/+7
| | |
| | * First Implementatation of new Loggin frameworkTycho2014-08-101-8/+18
| | |
| * | Removed cGroup and cGroupManager.Mattes D2014-08-211-16/+0
| | |
| * | RankMgr: Initial migration code.madmaxoft2014-08-131-0/+1
| |/
* / Added new console command with cleanupTiger Wang2014-08-291-11/+3
|/
* Merged branch 'master' into NameToUUID.madmaxoft2014-07-311-12/+24
|\
| * Merged branch 'howaner/Options'.madmaxoft2014-07-301-2/+2
| |\
| | * Add "Broadcasting" settings to world.iniHowaner2014-07-271-2/+2
| | |
| * | Speed improvements, crash fixes, & self-suggestionsTiger Wang2014-07-221-2/+4
| | |
| * | Merge remote-tracking branch 'origin/master' into portalsTiger Wang2014-07-221-15/+13
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp
| * | Bug and crash fixesTiger Wang2014-07-201-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 portalsTiger Wang2014-07-181-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 suggestionsTiger Wang2014-06-101-3/+3
| | | |
| * | | Implemented end and nether portalsTiger Wang2014-05-311-8/+13
| | | |
* | | | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft2014-07-301-0/+1
| |_|/ |/| | | | | | | | The cache is persisted into a SQLite DB file on server shutdown.
* | | Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-12/+12
| | |
* | | Style: Normalized spaces after if, for and while.madmaxoft2014-07-211-3/+3
| | |
* | | main.cpp: field style fixesarchshift2014-07-201-4/+4
| | |
* | | main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATEDarchshift2014-07-191-2/+0
| |/ |/|
* | Fixed spaces around single-line comments.madmaxoft2014-07-171-3/+3
| | | | | | | | There should be at least two spaces in front and one space after //-style comments.
* | Fixed basic whitespace problems.madmaxoft2014-07-171-4/+4
| | | | | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
* | Store properties as Json::ValueTiger Wang2014-07-161-1/+1
| |
* | Player properties are now retrievedTiger Wang2014-07-141-2/+2
|/
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-8/+6
|
* Added Yggdrasil Authentication Systemdaniel09162014-04-131-2/+2
| | | | Code by Howaner. Fixes/Changes by me.
* Fixed a minor ini key duplication bugTiger Wang2014-03-291-0/+1
|
* Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho2014-03-121-5/+5
|
* Fixed more Format issuesTycho2014-03-111-5/+5
|
* Fixed issues with int vs size_t and a few other warningsTycho2014-03-081-4/+2
|
* cBlockInfo now manages the respective cBlockHandlerandrew2014-03-021-1/+0
|
* Unicode :-(Howaner2014-02-211-1/+1
|
* Add 'Group not found', when the Server load the users.ini and add auto generate from users.iniHowaner2014-02-211-1/+3
|
* Removed the unnecessary LoopPlayersAndBroadcastChat() functions.madmaxoft2014-02-151-2/+2
|
* Implemented cCompositeChat.madmaxoft2014-02-151-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 playerimprovementsTiger Wang2014-02-091-5/+12
|\ | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp
| * WebAdmin is stopped properly on server shutdown / restart.madmaxoft2014-02-071-5/+2
| | | | | | | | Fixes #272.
| * Fixed wiki link in auto-generated settings.ini.madmaxoft2014-02-071-1/+2
| |
| * Improvements:STRWarrior2014-02-051-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 functionsTiger Wang2014-02-071-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.madmaxoft2014-01-281-1/+1
|
* Fixed GetPhysicalRAMUsage on Linuxandrew2014-01-011-2/+2
|
* Merge branch 'master' of github.com:mc-server/MCServerTycho Bickerstaff2013-12-221-9/+25
|\
| * Added many event catchersTiger Wang2013-12-221-9/+25
| | | | | | | | | | | | * Window close * CTRL-C * etc.
* | Root is now warnings cleanTycho Bickerstaff2013-12-211-1/+1
|/
* Fixed the rest of constructor reorders.madmaxoft2013-12-201-34/+38
|
* HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used.STRWarrior2013-12-111-0/+1
|
* Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior2013-12-111-0/+18
|
* Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeaturesTiger Wang2013-12-081-1/+1
|\ | | | | | | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp
| * Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-1/+1
| | | | | | | | Ref.: #407
* | Console trims its commands before executing 'emTiger Wang2013-12-071-3/+3
|/
* DeadlockDetect is configurable now.madmaxoft2013-11-301-4/+7
| | | | This is needed when debugging Lua plugins.
* Fixed some of tiger's derpyness.Alexander Harkness2013-11-271-1/+1
|
* Hopefully fixed last of the Linux compile errorsTiger Wang2013-11-261-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-0/+10
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-241-0/+744