summaryrefslogtreecommitdiffstats
path: root/source/Root.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cRoot::SaveAllChunks() doesn't wait for the save (deadlocks).madmaxoft2013-11-151-1/+1
| | | | Rather, it only queues the save task onto each world's tick thread.
* Fixed cRoot::FindAndDoWithPlayer().madmaxoft2013-11-101-2/+2
| | | | Now /kick and /ban work.
* Added hardcore client effectTiger Wang2013-11-071-1/+4
| | | | Also fixed multiple world comments issue.
* Autogeneration of settings.ini and webadmin.iniTiger Wang2013-11-041-3/+14
| | | | Fixes issue #75
* Authenticator doesn't save the ini file.madmaxoft2013-10-271-1/+2
| | | | Didn't load it -> shouldn't save it.
* Merge branch 'origin/LoadWorlds/cAuthenticatorINI'madmaxoft2013-10-271-6/+3
|\
| * Changed "cIniFile IniFile" to cIniFile & IniFile"STRWarrior2013-10-261-1/+1
| |
| * Both the LoadWorlds() function and cAuthenticator now use the cIniFile object from the Root::Start() function.STRWarrior2013-10-261-5/+3
| |
* | cIniFile doesn't store filename internally anymore.madmaxoft2013-10-251-4/+5
|/
* Fixed webadmin logging.madmaxoft2013-10-181-3/+0
| | | | This fixes #262.
* Implemented the two memory-statistics functions in cRoot.madmaxoft2013-10-081-2/+112
| | | | This fixes #185. cWebAdmin::GetMemoryUsage() is accessible but deprecated (with a warning output to the screen).
* Merge pull request #208 from mc-server/NewWebServerMattes D2013-10-071-11/+6
|\ | | | | New web server
| * Merge branch 'master' into NewWebServermadmaxoft2013-10-061-22/+31
| |\ | | | | | | | | | This should simplify merging
| * | WebAdmin uses the new HTTP functionality.madmaxoft2013-10-051-9/+6
| | | | | | | | | | | | This is a partial implementation of #183.
| * | Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes.madmaxoft2013-09-271-1/+1
| | |
| * | Implemented basic HTTP message header parsing.madmaxoft2013-09-241-4/+2
| | |
* | | Fixed startup timings on server restart.madmaxoft2013-10-071-4/+3
| |/ |/|
* | Removed unneeded statementTiger Wang2013-09-301-2/+1
| | | | | | | | Also LOGINFO'd "Starting WebAdmin"
* | Improvements to startup timerTiger Wang2013-09-291-15/+7
| | | | | | | | | | As suggested by xoft. Also reverted changes of displayed protocol version.
* | Minor startup streamliningTiger Wang2013-09-281-23/+41
|/ | | | | | * LOGD'd unneeded debugging messages, streamlining startup + Added a basic timer for how long in seconds it took to start up + Added two checks for plural (plugin/s, second/s)
* Moved entities into the Entities subfolder.madmaxoft2013-08-191-1/+1
|
* Added cRoot:BroadcastChat() to the Lua API.madmaxoft2013-08-171-0/+12
| | | | This allows plugins to broadcast a chat message to all connected players. It is a replacement for previously removed cServer:BroadcastChat().
* Added simple deadlock detection code.madmaxoft2013-08-141-4/+13
| | | | This will assert and then deliberately crash the server once a deadlock is detected. For detection, only the world tick threads are considered, cWorld's m_WorldAge is checked periodically and if it doesn't increment for several seconds, a deadlock is reported.
* Each world now ticks in a separate thread.madmaxoft2013-08-111-10/+5
|
* Removed Squirrel.madmaxoft2013-08-071-8/+0
| | | | This compiles under Windows, but is untested in Linux.
* cIniFile now reads .example.ini if not requested not to.madmaxoft2013-08-051-12/+5
| | | | As specified in #44, when the .ini file cannot be opened, a .example.ini is tried, and if it succeeds, it is written as .ini. This makes it easy to provide ini file templates.
* Server shuts down when the stdin is closed (linux Ctrl+D / win Ctrl+Z)madmaxoft@gmail.com2013-07-241-2/+11
| | | | | | Fixes FS #419 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1679 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com2013-06-291-30/+64
| | | | | | | | | RCON authentication is now required before executing commands. Console command handlers now return two values, bool (IsHandled) and string (CommandOutput). API change: removed cRoot:ExecuteConsoleCommand(), added cRoot:QueueExecuteConsoleCommand(). API change: removed cPluginManager:ExecuteConsoleCommand(), use cRoot:QueueExecuteConsoleCommand() instead git-svn-id: http://mc-server.googlecode.com/svn/trunk@1631 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed server stopping after #363 fixmadmaxoft@gmail.com2013-04-271-10/+10
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1422 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed a deadlockmadmaxoft@gmail.com2013-04-271-0/+23
| | | | | | FS #363 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1421 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Moved client socket accepting into a separate thread object, cListenThreadmadmaxoft@gmail.com2013-03-041-11/+10
| | | | | | | MCServer can now listen on multiple ports FS #312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1252 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Plugins can now bind console commandsmadmaxoft@gmail.com2013-02-151-8/+19
| | | | | | | FS #300 Most console commands are now implemented in the Core plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1214 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com2013-02-051-2/+3
| | | | | | http://forum.mc-server.org/showthread.php?tid=464&pid=6312#pid6312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1193 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Android: Made the initial pre-calculated spawn area smallerfaketruth2012-11-161-6/+12
| | | | | | | | | Android: Fixed FastNBT Android: Fixed level.dat reading/writing GroupManager uses groups.example.ini as default WebAdmin uses webadmin.example.ini as default git-svn-id: http://mc-server.googlecode.com/svn/trunk@1049 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed boolean comparison.madmaxoft@gmail.com2012-11-161-1/+1
| | | | | | Don't compare booleans to false / true, use them directly. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1048 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Settings.ini is read only once on server startmadmaxoft@gmail.com2012-11-111-4/+5
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1035 0a769ca7-a7f5-676a-18bf-c427514a06d6
* PrimaryServerVersion is not force-saved into settings.ini. madmaxoft@gmail.com2012-11-111-3/+12
| | | | | | Server admins are advised to keep the value undefined, which will default in the latest supported version being the primary git-svn-id: http://mc-server.googlecode.com/svn/trunk@1034 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Made settings.ini default to settings.example.ini when it doesn't existfaketruth2012-11-101-1/+6
| | | | | | I suggest to do the same with the other ini files? git-svn-id: http://mc-server.googlecode.com/svn/trunk@1030 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com2012-10-311-1/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1018 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Completely removed the old (buggy) redstone simulator.madmaxoft@gmail.com2012-10-061-6/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Unified folder name-casingmadmaxoft@gmail.com2012-09-291-2/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com2012-09-241-0/+524
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6