summaryrefslogtreecommitdiffstats
path: root/source/Server.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Console "reload" command implemented in MCServer, rather than in a plugin.madmaxoft2013-11-131-0/+3
| | | | First part of #42.
* Autogeneration of settings.ini and webadmin.iniTiger Wang2013-11-041-0/+4
| | | | Fixes issue #75
* Server counts the players correctly.madmaxoft2013-08-141-2/+2
| | | | Was missing the PlayerDestroying() call, so players weren't removed from the playercount.
* Player counts are now properly handled.madmaxoft2013-08-141-2/+12
| | | | Fixes #80
* Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft2013-08-131-2/+6
|
* Removed cServer::BroadcastChat() and cServer::SendMessage().madmaxoft2013-08-121-6/+5
| | | | 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.
* Removed unused cServer::IsConnected() function.madmaxoft2013-08-121-4/+2
|
* 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-10/+25
| | | | The server tick thread is now in the cServer::cTickThread object.
* Moved MaxPlayers and Description from cWorld to cServer.madmaxoft2013-08-111-1/+16
| | | | Also started creating a new cWorld::cTickThread class, but not used yet.
* WebAdmin templates can use LuaFakeTruth2013-07-291-1/+1
| | | | | New WebAdmin templates can use Lua to completely compose the pages themselves. This should allow infinite WebAdmin design possibilities.
* Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com2013-06-291-1/+5
| | | | | | | | | 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-14/+9
| | | | 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
* Made ListenThread an OSSupport part, as it's generic enoughmadmaxoft@gmail.com2013-03-051-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1258 0a769ca7-a7f5-676a-18bf-c427514a06d6
* IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com2013-03-051-2/+4
| | | | 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-8/+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-2/+6
| | | | | | | 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-7/+5
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Settings.ini is read only once on server startmadmaxoft@gmail.com2012-11-111-1/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1035 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com2012-09-251-3/+3
| | | | 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/+141
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6