summaryrefslogtreecommitdiffstats
path: root/source/Server.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Server counts the players correctly.madmaxoft2013-08-141-1/+1
| | | | Was missing the PlayerDestroying() call, so players weren't removed from the playercount.
* Player counts are now properly handled.madmaxoft2013-08-141-0/+45
| | | | Fixes #80
* Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft2013-08-131-13/+35
|
* Removed cServer::BroadcastChat() and cServer::SendMessage().madmaxoft2013-08-121-36/+10
| | | | These two functions make it difficult to move to the new ticking system, and they aren't used anyway. If so required, they can be emulated by ForEachWorld / ForEachPlayer calls.
* Each world now ticks in a separate thread.madmaxoft2013-08-111-1/+1
|
* Removed cServer::m_pState, dissolved into direct member variables.madmaxoft2013-08-111-91/+50
| | | | The server tick thread is now in the cServer::cTickThread object.
* Moved MaxPlayers and Description from cWorld to cServer.madmaxoft2013-08-111-29/+35
| | | | Also started creating a new cWorld::cTickThread class, but not used yet.
* Removed some stuff again.Alexander Harkness2013-08-031-14/+0
|
* Revert "Rm'd startup credits & mv'd to README"Alexander Harkness2013-08-031-0/+17
| | | | This reverts commit 2383977fe76287f4a3cc93c802d83966726ee8a4.
* Rm'd startup credits & mv'd to READMETiger Wang2013-08-031-17/+0
| | | Removed as I feel it serves no purpose other than spam console and bury real error messages from plugins, etc. This is especially the case with running under screen, which makes it very difficult to scroll up or down.
* Updated inbuilt commands descriptionTiger Wang2013-08-031-5/+4
| | | Did this to meet help format standards.
* Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com2013-06-291-4/+8
| | | | | | | | | 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
* Added a basic RCON protocolmadmaxoft@gmail.com2013-06-271-2/+5
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1628 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Plugins can modify message in the OnChat() hook handler.madmaxoft@gmail.com2013-06-221-1/+1
| | | | | | FS #376 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Server: removed the artificial cap on reported tick durationmadmaxoft@gmail.com2013-04-031-7/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1353 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added auto-kill-with-dump to LeakFinder if the allocated memory grows over 1 GiB.madmaxoft@gmail.com2013-03-231-0/+8
| | | | | | | Only works on Windows and only present in Debug mode. Produces memdump.xml for analysis. http://forum.mc-server.org/showthread.php?tid=826&pid=6948#pid6948 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1302 0a769ca7-a7f5-676a-18bf-c427514a06d6
* IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com2013-03-051-5/+25
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1253 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Moved client socket accepting into a separate thread object, cListenThreadmadmaxoft@gmail.com2013-03-041-93/+46
| | | | | | | 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
* Starting an IPv6 support / cSocket rewritemadmaxoft@gmail.com2013-03-041-6/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1250 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Plugins can now bind console commandsmadmaxoft@gmail.com2013-02-151-83/+21
| | | | | | | 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
* Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2013-01-121-11/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added "primaryserverversion" to the "help" list.madmaxoft@gmail.com2012-11-201-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1060 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added primary server version interface to cRoot and "primaryserverversion" console command.madmaxoft@gmail.com2012-11-201-0/+19
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1059 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Settings.ini is read only once on server startmadmaxoft@gmail.com2012-11-111-34/+31
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1035 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command.madmaxoft@gmail.com2012-10-201-0/+23
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@984 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Removed unused [Physics].Water section from settings.ini.madmaxoft@gmail.com2012-10-191-8/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@982 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com2012-09-251-8/+8
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com2012-09-241-0/+714
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6