summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2015-04-01Working as a Windows service. Starts and stops correctly.Anthony Birkett1-1/+11
2015-01-27Fixed server failure to open any port not aborting the server.Mattes D1-29/+35
2015-01-17Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types.Kirill Kirilenko1-1/+1
2014-12-23Init Mojang API pointerworktycho1-0/+1
2014-12-21Fixed crash on restartTiger Wang1-3/+12
2014-12-12Fixed print of milliseconds from chronoLukas Pioch1-1/+1
2014-12-09Fixed compiling.Howaner1-1/+1
2014-12-09Changed DoWithPlayer to auto instead of using iterator.Vincent1-2/+2
2014-12-08created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World.Vincent1-1/+8
2014-12-08Fixed compile errorsVincent1-1/+1
2014-12-08Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added.Vincent1-0/+9
2014-12-04Fixed trailing whitespace.Mattes D1-1/+1
2014-11-26cRoot: Fixed a memory leak with cRankManager.Mattes D1-1/+1
2014-11-12Fixed trailing whitespace.Mattes D1-1/+1
2014-11-05renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDumpLukas Pioch1-2/+2
2014-11-02Added FindAndDoWithUUIDLukas Pioch1-0/+16
2014-10-24SuggestionsTiger Wang1-1/+1
2014-10-23Merged IniFile into main MCS sources.Mattes D1-3/+2
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-22/+22
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-20/+20
2014-10-20Migrated cSleep and cTimer to std::chronoTiger Wang1-9/+3
2014-10-19Migrated random generators to std::randomTiger Wang1-16/+6
2014-10-19Use std::threadTiger Wang1-10/+20
2014-10-18Fixed failure for cRankManager to restartTiger Wang1-1/+2
2014-10-17cMojangAPI: Don't update data if server is in offline mode.Mattes D1-2/+3
2014-09-27Dropped support for <1.7.xTiger Wang1-12/+0
2014-09-17Fixed minor style issues.madmaxoft1-2/+2
2014-09-10Added abilty to set build infoTycho1-0/+6
2014-09-08capitalisation errorworktycho1-1/+1
2014-09-08derpworktycho1-1/+1
2014-09-08If server fails init, save any changed or generated settings.worktycho1-0/+1
2014-08-29Added new console command with cleanupTiger Wang1-11/+3
2014-08-21Removed cGroup and cGroupManager.Mattes D1-16/+0
2014-08-13RankMgr: Initial migration code.madmaxoft1-0/+1
2014-08-12Renamed LoggersTycho1-7/+7
2014-08-10First Implementatation of new Loggin frameworkTycho1-8/+18
2014-07-30Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft1-0/+1
2014-07-27Add "Broadcasting" settings to world.iniHowaner1-2/+2
2014-07-22Speed improvements, crash fixes, & self-suggestionsTiger Wang1-2/+4
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-12/+12
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-3/+3
2014-07-20Bug and crash fixesTiger Wang1-2/+7
2014-07-20main.cpp: field style fixesarchshift1-4/+4
2014-07-19main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATEDarchshift1-2/+0
2014-07-17Fixed spaces around single-line comments.madmaxoft1-3/+3
2014-07-17Fixed basic whitespace problems.madmaxoft1-4/+4
2014-07-16Store properties as Json::ValueTiger Wang1-1/+1
2014-07-14Player properties are now retrievedTiger Wang1-2/+2
2014-06-10Portal improvements and suggestionsTiger Wang1-3/+3
2014-05-31Implemented end and nether portalsTiger Wang1-8/+13
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-8/+6
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-8/+6
2014-04-13Added Yggdrasil Authentication Systemdaniel09161-2/+2
2014-03-29Fixed a minor ini key duplication bugTiger Wang1-0/+1
2014-03-12Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho1-5/+5
2014-03-11Fixed more Format issuesTycho1-5/+5
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho1-4/+2
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew1-1/+0
2014-02-21Unicode :-(Howaner1-1/+1
2014-02-21Add 'Group not found', when the Server load the users.ini and add auto generate from users.iniHowaner1-1/+3
2014-02-15Removed the unnecessary LoopPlayersAndBroadcastChat() functions.madmaxoft1-2/+2
2014-02-15Implemented cCompositeChat.madmaxoft1-1/+13
2014-02-07Improved chat messaging functionsTiger Wang1-2/+2
2014-02-07WebAdmin is stopped properly on server shutdown / restart.madmaxoft1-5/+2
2014-02-07Fixed wiki link in auto-generated settings.ini.madmaxoft1-1/+2
2014-02-05Improvements:STRWarrior1-0/+9
2014-01-28Fixed timing on *nix.madmaxoft1-1/+1
2014-01-01Fixed GetPhysicalRAMUsage on Linuxandrew1-2/+2
2013-12-22Added many event catchersTiger Wang1-9/+25
2013-12-22merged in warnings changesTycho Bickerstaff1-1/+1
2013-12-21Root is now warnings cleanTycho Bickerstaff1-1/+1
2013-12-20Fixed the rest of constructor reorders.madmaxoft1-34/+38
2013-12-11HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used.STRWarrior1-0/+1
2013-12-11Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior1-0/+18
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
2013-12-07Console trims its commands before executing 'emTiger Wang1-3/+3
2013-11-30DeadlockDetect is configurable now.madmaxoft1-4/+7
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness1-1/+1
2013-11-26Hopefully fixed last of the Linux compile errorsTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-22Added cRoot:GetFurnaceFuelBurnTime() to Lua API.madmaxoft1-0/+10
2013-11-15cRoot::SaveAllChunks() doesn't wait for the save (deadlocks).madmaxoft1-1/+1
2013-11-10Fixed cRoot::FindAndDoWithPlayer().madmaxoft1-2/+2
2013-11-07Added hardcore client effectTiger Wang1-1/+4
2013-11-04Autogeneration of settings.ini and webadmin.iniTiger Wang1-3/+14
2013-10-27Authenticator doesn't save the ini file.madmaxoft1-1/+2
2013-10-26Changed "cIniFile IniFile" to cIniFile & IniFile"STRWarrior1-1/+1
2013-10-26Both the LoadWorlds() function and cAuthenticator now use the cIniFile object from the Root::Start() function.STRWarrior1-5/+3
2013-10-25cIniFile doesn't store filename internally anymore.madmaxoft1-4/+5
2013-10-18Fixed webadmin logging.madmaxoft1-3/+0
2013-10-08Implemented the two memory-statistics functions in cRoot.madmaxoft1-2/+112
2013-10-07Fixed startup timings on server restart.madmaxoft1-4/+3
2013-10-05WebAdmin uses the new HTTP functionality.madmaxoft1-9/+6
2013-09-30Removed unneeded statementTiger Wang1-2/+1
2013-09-29Improvements to startup timerTiger Wang1-15/+7
2013-09-28Minor startup streamliningTiger Wang1-23/+41
2013-09-27Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes.madmaxoft1-1/+1
2013-09-24Implemented basic HTTP message header parsing.madmaxoft1-4/+2
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-17Added cRoot:BroadcastChat() to the Lua API.madmaxoft1-0/+12
2013-08-14Added simple deadlock detection code.madmaxoft1-4/+13
2013-08-11Each world now ticks in a separate thread.madmaxoft1-10/+5
2013-08-07Removed Squirrel.madmaxoft1-8/+0
2013-08-05cIniFile now reads .example.ini if not requested not to.madmaxoft1-12/+5
2013-07-24Server shuts down when the stdin is closed (linux Ctrl+D / win Ctrl+Z)madmaxoft@gmail.com1-2/+11
2013-06-29Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com1-30/+64
2013-04-27Fixed server stopping after #363 fixmadmaxoft@gmail.com1-10/+10
2013-04-27Fixed a deadlockmadmaxoft@gmail.com1-0/+23
2013-03-04Moved client socket accepting into a separate thread object, cListenThreadmadmaxoft@gmail.com1-11/+10
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com1-8/+19
2013-02-05Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com1-2/+3
2012-11-16Android: Made the initial pre-calculated spawn area smallerfaketruth1-6/+12
2012-11-16Fixed boolean comparison.madmaxoft@gmail.com1-1/+1
2012-11-11Settings.ini is read only once on server startmadmaxoft@gmail.com1-4/+5
2012-11-11PrimaryServerVersion is not force-saved into settings.ini. madmaxoft@gmail.com1-3/+12
2012-11-10Made settings.ini default to settings.example.ini when it doesn't existfaketruth1-1/+6
2012-10-31Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com1-1/+4
2012-10-06Completely removed the old (buggy) redstone simulator.madmaxoft@gmail.com1-6/+1
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-2/+2
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-16/+13
2012-09-20Refactored windows.madmaxoft@gmail.com1-2/+0
2012-08-23Added a RateCompareString function to StringUtilsfaketruth1-0/+53
2012-08-22Chat history limit on the WebAdmin chatfaketruth1-33/+26
2012-08-19Android: Do not create an input thread for Androidfaketruth1-4/+4
2012-08-18Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com1-9/+9
2012-08-16MCServer should run just fine on Android now :Dfaketruth1-0/+4
2012-08-16Windows compilation fix after Android changesmadmaxoft@gmail.com1-5/+6
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-0/+2
2012-08-15Console command "chunkstats" now lists each world and also totalsmadmaxoft@gmail.com1-0/+53
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+13
2012-07-15World threads are stopped before the plugin mgr for clean exit (FS #228)madmaxoft@gmail.com1-0/+14
2012-07-12Missed a filelapayo94@gmail.com1-1/+1
2012-06-19Made ForEach API safer to use, now supports Destroy()-ing objects, too ( http://forum.mc-server.org/showthread.php?tid=434&pid=3513#pid3513 )madmaxoft@gmail.com1-2/+4
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-394/+394
2012-06-12Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com1-4/+0
2012-06-09More ini settings save their defaultsmadmaxoft@gmail.com1-5/+7
2012-06-05New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)madmaxoft@gmail.com1-16/+33
2012-06-04Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.madmaxoft@gmail.com1-5/+9
2012-06-02Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)madmaxoft@gmail.com1-9/+16
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-29/+3
2012-03-10Fixed a few obsoleted functionsmadmaxoft@gmail.com1-0/+28
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-4/+4
2012-03-07Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth1-2/+2
2012-02-22Added a crude way of disabling redstone. It's necessary though, redstone is completely broken, crashes the server all the timefaketruth1-0/+42
2012-02-17Lots of logging addedmadmaxoft@gmail.com1-4/+28
2012-02-15Can use the 'restart' command again. cAuthenticator no longer asserts because it properly stops when the server is stopped.faketruth1-0/+1
2012-02-08Added total chunk count to webadminmadmaxoft@gmail.com1-0/+14
2012-02-08MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core)madmaxoft@gmail.com1-1/+1
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-1/+67
2012-02-01Removed a few duplicate includesmadmaxoft@gmail.com1-5/+3
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-1/+3
2011-12-23Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking atfaketruth1-1/+1
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-4/+78
2011-10-31Player data is saved and loaded as human readable JSON now.faketruth1-0/+3
2011-10-26Fixed bug in cMakeDir where it would only create directories named "world"faketruth1-31/+11
2011-10-03MCServer c++ source filesfaketruth1-0/+162