summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2015-11-23Removed dashes in help messages for consistencyJulian Laubstein1-8/+8
2015-11-22Revert "Changed description to "Cuberite - Minecraft in C++!""Safwat Halaby1-1/+1
2015-11-20Changed description to "Cuberite - Minecraft in C++!"Safwat Halaby1-1/+1
2015-09-28Added LuaState tracker and memory stats logging.Mattes D1-0/+9
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-1/+1
2015-09-25Namechange to CuberiteMattes D1-1/+1
2015-07-31Unified the doxy-comment format.Mattes D1-4/+4
2015-05-23Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch1-1/+1
2015-05-16Initial implementation of IniFile overloadingtycho1-11/+11
2015-05-01A* Pathfinding and better monster AIwiseoldman951-19/+19
2015-04-19Refresh plugin list before trying to load.Mattes D1-0/+1
2015-04-19Split the plugin names and plugin folders to avoid confusing them.Mattes D1-15/+4
2015-03-11Fixes #493 and #490flx51-1/+1
2015-01-27Replaced atoi() with StringToInteger().Mattes D1-2/+2
2015-01-27Converted cServer to use the cNetwork API.Mattes D1-192/+78
2015-01-27Fixed a crash in RCON server.Mattes D1-1/+0
2015-01-17Fixed CppCheck: (performance) Possible inefficient checking for emptiness.Kirill Kirilenko1-1/+1
2014-12-08Fixed compile errorsVincent1-5/+6
2014-12-07changed from using iterator to auto for server and clienthandleVincent1-2/+2
2014-12-07Fixed c++11 branch issues.Mattes D1-1/+2
2014-12-03Server: Fixed a MSVC warning.Mattes D1-1/+1
2014-11-29fixed naming of strings and changed from i to IVincent1-3/+3
2014-11-29issue 1253 - prevent multiple logins with same usernameVincent1-0/+17
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-11/+11
2014-10-21Missing space.Alexander Harkness1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-11/+11
2014-10-20Migrated cSleep and cTimer to std::chronoTiger Wang1-10/+6
2014-10-20Fix for fix #1552Julian Laubstein1-2/+2
2014-10-20Added error messageJulian Laubstein1-0/+11
2014-10-19Migrated random generators to std::randomTiger Wang1-2/+0
2014-10-17cMojangAPI: Don't update data if server is in offline mode.Mattes D1-2/+2
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D1-1/+1
2014-09-17Added an explicit setting for allowing BungeeCord handshake.madmaxoft1-0/+7
2014-08-29Added new console command with cleanupTiger Wang1-17/+42
2014-08-21Added initializers for class members.Mattes D1-1/+3
2014-08-21Removed cGroup and cGroupManager.Mattes D1-18/+8
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-2/+2
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
2014-07-20Revert "Only one instance of server can be started"Tiger Wang1-0/+2
2014-07-19Code style: Fixed braces on separate lines.madmaxoft1-1/+2
2014-07-18Removed duplicate IPvX labels.madmaxoft1-2/+2
2014-07-17Normalized comments.madmaxoft1-3/+3
2014-07-17Fixed spaces around single-line comments.madmaxoft1-3/+3
2014-07-16Store properties as Json::ValueTiger Wang1-1/+1
2014-07-14Player properties are now retrievedTiger Wang1-2/+2
2014-07-13Only one instance of server can be startedTiger Wang1-2/+0
2014-07-11Player data filenames are based on UUID.madmaxoft1-0/+3
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-05-19Fixed some warnings in Server.cpp, and in UI/Julian Laubstein1-1/+7
2014-05-18removed the <list> includeJulian Laubstein1-1/+0
2014-05-18Added unload <pluginname> commandJulian Laubstein1-5/+9
2014-05-17Added load cmdJulian Laubstein1-5/+29
2014-05-17Added load command in the cServer classJulian Laubstein1-0/+6
2014-04-19Declared one mutex as mutable in order to allow for const correct get accessors.jfhumann1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-1/+1
2014-04-13Added Yggdrasil Authentication Systemdaniel09161-2/+2
2014-03-11Fixed more Format issuesTycho1-1/+1
2014-03-11Unified Vector classesandrew1-1/+1
2014-02-21Remove old Output FinishHowaner1-2/+0
2014-02-21Add 'Group not found', when the Server load the users.ini and add auto generate from users.iniHowaner1-0/+4
2014-02-20Disabled the leak finder.madmaxoft1-1/+3
2014-02-09"reload" is back.STRWarrior1-0/+7
2014-02-09Split "reload" in "reloadplugins" and "reloadgroups".STRWarrior1-2/+5
2014-02-09The console reload command also reloads the groups.STRWarrior1-0/+1
2014-01-28Protocol 1.7: Forced encryption on all connections.madmaxoft1-1/+2
2014-01-25Mob bugfixesTiger Wang1-1/+1
2014-01-23PolarSSL is fully used for 1.3.2 protocol encryption.madmaxoft1-10/+2
2014-01-21Scoreboard protocol supportandrew1-1/+1
2014-01-19Rewritten SocketThreads for proper shutdown scenario.madmaxoft1-10/+1
2014-01-18Command blocks: Execute()andrew1-1/+1
2014-01-07Fixed faviconsTiger Wang1-13/+1
2014-01-07Avoid making copies of favicon stringBill Derouin1-1/+1
2014-01-07More MSVC warning fixes.madmaxoft1-1/+1
2014-01-07A few more touch upsBill Derouin1-1/+1
2014-01-07A few touch upsBill Derouin1-1/+4
2014-01-07Implement favicon for 1.7.2Bill Derouin1-0/+11
2013-12-31fixxed warnings in Server.cppTycho Bickerstaff1-0/+5
2013-12-16Fixed cClientHandle::Tick() being called from two threads.madmaxoft1-1/+1
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
2013-11-27Fixed the remaining derpsAlexander Harkness1-2/+2
2013-11-26Compile fix againTiger Wang1-1/+1
2013-11-26Fixed Linux compile againTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-2/+2
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-13Implemented the "help" console command in the server.madmaxoft1-1/+33
2013-11-13Console "reload" command implemented in MCServer, rather than in a plugin.madmaxoft1-0/+23
2013-11-05Implemented suggestionsTiger Wang1-2/+2
2013-11-04Autogeneration of settings.ini and webadmin.iniTiger Wang1-4/+5
2013-10-04Made MagicCarpet more magical!Tiger Wang1-1/+1
2013-09-29Improvements to startup timerTiger Wang1-2/+2
2013-09-28Minor startup streamliningTiger Wang1-4/+3
2013-09-21Fixed Linux threading issues.madmaxoft1-2/+2
2013-08-19Fixed WorldTickThread reporting wrong time durations for each tick.madmaxoft1-1/+1
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-2/+1
2013-08-17The server Tick thread ticks PluginManager.madmaxoft1-0/+5
2013-08-14Server counts the players correctly.madmaxoft1-1/+1
2013-08-14Player counts are now properly handled.madmaxoft1-0/+45
2013-08-13Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft1-13/+35
2013-08-12Removed cServer::BroadcastChat() and cServer::SendMessage().madmaxoft1-36/+10
2013-08-11Each world now ticks in a separate thread.madmaxoft1-1/+1
2013-08-11Removed cServer::m_pState, dissolved into direct member variables.madmaxoft1-91/+50
2013-08-11Moved MaxPlayers and Description from cWorld to cServer.madmaxoft1-29/+35
2013-08-03Removed some stuff again.Alexander Harkness1-14/+0
2013-08-03Revert "Rm'd startup credits & mv'd to README"Alexander Harkness1-0/+17
2013-08-03Rm'd startup credits & mv'd to READMETiger Wang1-17/+0
2013-08-03Updated inbuilt commands descriptionTiger Wang1-5/+4
2013-06-29Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com1-4/+8
2013-06-27Added a basic RCON protocolmadmaxoft@gmail.com1-2/+5
2013-06-22Plugins can modify message in the OnChat() hook handler.madmaxoft@gmail.com1-1/+1
2013-04-03Server: removed the artificial cap on reported tick durationmadmaxoft@gmail.com1-7/+4
2013-03-23Added auto-kill-with-dump to LeakFinder if the allocated memory grows over 1 GiB.madmaxoft@gmail.com1-0/+8
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com1-5/+25
2013-03-04Moved client socket accepting into a separate thread object, cListenThreadmadmaxoft@gmail.com1-93/+46
2013-03-04Starting an IPv6 support / cSocket rewritemadmaxoft@gmail.com1-6/+1
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com1-83/+21
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-11/+2
2012-11-20Added "primaryserverversion" to the "help" list.madmaxoft@gmail.com1-0/+1
2012-11-20Added primary server version interface to cRoot and "primaryserverversion" console command.madmaxoft@gmail.com1-0/+19
2012-11-11Settings.ini is read only once on server startmadmaxoft@gmail.com1-34/+31
2012-10-20Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command.madmaxoft@gmail.com1-0/+23
2012-10-19Removed unused [Physics].Water section from settings.ini.madmaxoft@gmail.com1-8/+2
2012-09-25Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com1-8/+8
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-13/+13
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-2/+2
2012-09-23Source files cleanup: Mobs-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-1/+1
2012-09-23Source files cleanup: Protocol-related files in a separate subfoldermadmaxoft@gmail.com1-1/+1
2012-09-20Refactored windows.madmaxoft@gmail.com1-1/+0
2012-09-06Officially added 1.3.2 protocol supportmadmaxoft@gmail.com1-1/+2
2012-09-04Fixed a possible race condition in cClientHandle's packet sending code; prepared for moving cSocket out of cClientHandle's ownership.madmaxoft@gmail.com1-1/+1
2012-09-04Removed OS dependencies from CryptoPP; Removed unused modules that didn't compile on some platformsmadmaxoft@gmail.com1-1/+4
2012-08-30Implemented 1.3.2 protocol encryption using CryptoPP, up to Client Status packet (http://wiki.vg/Protocol_FAQ step 14)madmaxoft@gmail.com1-0/+18
2012-08-27Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com1-18/+0
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-14/+32
2012-08-18Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com1-36/+15
2012-08-15Console command "chunkstats" now lists each world and also totalsmadmaxoft@gmail.com1-26/+1
2012-08-15Added a true "all chunks saved" message for the save-all console command (FS #215)madmaxoft@gmail.com1-1/+1
2012-06-19Fixed a possible crash when restarting / stopping the server.madmaxoft@gmail.com1-0/+1
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-738/+738
2012-06-12Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com1-1/+0
2012-06-09More ini settings save their defaultsmadmaxoft@gmail.com1-6/+2
2012-05-30Added more statistics to the "chunkstats" server console commandmadmaxoft@gmail.com1-1/+19
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-64/+79
2012-04-11Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core pluginfaketruth1-60/+0
2012-04-10Added the permission "builtin.regeneratechunk" needed for regenerating chunks using a command.madmaxoft@gmail.com1-0/+5
2012-04-10Added the "/regeneratechunk" command that regenerates either current chunk or a chunk specified with x, z parameters. TODO: permissions - we don't want guests erasing our chunks!madmaxoft@gmail.com1-1/+28
2012-03-26Added the supported client version to banner; shamelessly added myself to the authors list ;)madmaxoft@gmail.com1-3/+5
2012-03-19Fixed player heads always pointing north (new EntityHeadLook packet)madmaxoft@gmail.com1-3/+7
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-1/+1
2012-03-10Fixed a few obsoleted functionsmadmaxoft@gmail.com1-3/+3
2012-03-10Using references instead of pointers for sending packetsmadmaxoft@gmail.com1-1/+1
2012-03-10Fixed *nix threading issue;madmaxoft@gmail.com1-3/+3
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-5/+5
2012-03-05Fixed a potential deadlock ( http://forum.mc-server.org/showthread.php?tid=374 )madmaxoft@gmail.com1-4/+9
2012-02-28Improved threading performance by reducing thread-hopping in queue locks (cs unlocked before event set)madmaxoft@gmail.com1-3/+5
2012-02-26Attempt at fixing crashes with disconnecting playersmadmaxoft@gmail.com1-0/+9
2012-02-26Using cSocketThreads for client outgoing packets. Unfortunately had to put in one intermediate thread (cServer::cNotifyWriteThread) to avoid deadlocks. Still, seems we have a proper multithreading for clients and no more per-client threads, yay :)madmaxoft@gmail.com1-24/+136
2012-02-26Extended SocketThreads for writing support (unusable in cClientHandle due to too many deadlock possibilities)madmaxoft@gmail.com1-1/+1
2012-02-23Made the viewdistance settable by users and default in settings.ini. The default is 9.madmaxoft@gmail.com1-13/+34
2012-02-17Lots of logging addedmadmaxoft@gmail.com1-1/+1
2012-02-16git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6faketruth1-1/+1
2012-02-16New server command "unload" to manually unload unused chunksmadmaxoft@gmail.com1-1/+9
2012-02-16Fixed logging in cServermadmaxoft@gmail.com1-1/+1
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-17/+17
2012-02-08cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties.madmaxoft@gmail.com1-49/+16
2012-02-05Now showing proper error messages when sockets fail :)faketruth1-3/+3
2012-02-02cSocket API fix (possible invalid pointer)madmaxoft@gmail.com1-8/+14
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-8/+101
2012-02-01Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com1-39/+17
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-11/+7
2012-01-22Improved Core's WebAmin interface a bit.faketruth1-3/+9
2012-01-21Bug FS#131 http://www.mc-server.org/support/index.php?do=details&task_id=131 should be fixedfaketruth1-0/+1
2012-01-19Terrain generation is synchronous again, async generation has bugs.faketruth1-2/+1
2012-01-01Fixed the numchunks console command.faketruth1-1/+1
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth1-10/+0
2011-12-25Code improvementslapayo94@gmail.com1-1/+18
2011-12-23Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking atfaketruth1-2/+2
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-19/+19
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-3/+5
2011-10-23Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms.faketruth1-58/+24
2011-10-21Compiles for linuxfaketruth1-0/+1
2011-10-03MCServer c++ source filesfaketruth1-0/+553