Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 1 | -9/+5 | |
* Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | |||||
2020-01-07 | Added temporary block type mapping for 1.13+ protocols. | Mattes D | 1 | -17/+44 | |
2020-01-07 | Root: Load the UpgradeBlockTypePalette on startup. | Mattes D | 1 | -0/+19 | |
2019-09-27 | Fixed MSVC warnings (#4400) | Mattes D | 1 | -1/+1 | |
2019-08-05 | Register vanilla blocks in BlockTypeRegistry. | Mattes D | 1 | -0/+1 | |
2018-05-06 | Use clang-tidy to check more code conventions (#4214) | Bond-009 | 1 | -1/+0 | |
* Create clang-tidy.sh * Add clang-tidy to circle.yml * Fixed some naming violations Fixes #4164 | |||||
2018-04-02 | Broadcast playerlist removal in every world (#4201) | mathiascode | 1 | -0/+19 | |
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 1 | -5/+5 | |
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | |||||
2017-12-21 | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 1 | -1/+1 | |
* Fixed Clang 5.0 compile errors * Fixed wrong comment * Only disable warnings in Clang 5 or higher * Added a CMake condition for the Clang 5 no-zero-as-null-pointer-constant warning * Now using the use_nullptr branch of the Cuberite specific SQLiteCpp fork | |||||
2017-10-21 | cWorld: Move Initialization from Start to the constructor. | peterbell10 | 1 | -10/+19 | |
Start now does nothing more than launch the world's threads. | |||||
2017-09-19 | cRoot: Make PollPeriod representation 32 bit (#4030) | peterbell10 | 1 | -3/+1 | |
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 1 | -1/+1 | |
2017-09-14 | Fix error with implicit cast from long long to long (#4026) | Alexander Harkness | 1 | -1/+1 | |
2017-09-12 | Limit how long cRoot::InputThread may block (#4019) | peterbell10 | 1 | -10/+26 | |
Limit how long cRoot::InputThread may block Only calls `std::getline` when there is input available which removes the need to "notify" the input thread. Fixes #2494 and fixes #3177 | |||||
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -45/+25 | |
2017-09-07 | Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912) | Lane Kolbly | 1 | -14/+34 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -25/+45 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -45/+25 | |
2017-08-25 | Add cUUID class (#3871) | peterbell10 | 1 | -2/+2 | |
2017-06-03 | Add command line argument for disabling the logfile | worktycho | 1 | -6/+11 | |
2017-05-05 | Prevent infinite loop when logging fails (#3693) | josh-parris | 1 | -0/+1 | |
Prevent infinite loop when logging fails | |||||
2017-03-17 | Fixed looping when unable to bind port (#3621) | johnsoch | 1 | -0/+7 | |
Fixes #3593 | |||||
2017-02-24 | Changed world_end to world_the_end #3531 (#3538) | Bond-009 | 1 | -11/+26 | |
2017-02-22 | Add support for alternate config file locations (#3578) | Gareth Nelson | 1 | -1/+7 | |
2017-01-18 | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 1 | -7/+7 | |
2017-01-03 | Disconnect sent flag added | sweetgiorni | 1 | -5/+6 | |
Truthiness no longer assumed | |||||
2017-01-03 | Player check | sweetgiorni | 1 | -4/+7 | |
Checks if there are any players connected to the server before running PlayerCallback and waiting 1 second. | |||||
2017-01-03 | Api Documentation | sweetgiorni | 1 | -1/+1 | |
Added API documentation for GetShutdownMessage. Style fix in Root.cpp | |||||
2017-01-03 | Custom Disconnect Message | sweetgiorni | 1 | -0/+16 | |
Adds a m_ShutdownMessage option to the settings. When the stop command is issued, players are kicked with said message before the server shuts down. | |||||
2017-01-01 | Fix crash after attempting to kill a non-running thread (#3504) | Fabian Stein | 1 | -4/+7 | |
Fixes #3221 | |||||
2017-01-01 | Disabled anticheat (#3511) | LogicParrot | 1 | -1/+2 | |
2016-12-12 | Use CMake's Android generators to crosscompile | Tiger Wang | 1 | -12/+10 | |
2016-11-18 | Removed ClientHandle.h dependencies from common headers. | Mattes D | 1 | -13/+17 | |
2016-11-06 | Anticheat fastbreak (#3411) | mohe2015 | 1 | -0/+3 | |
Added block hardness checks when breaking blocks. | |||||
2016-08-29 | Remove settings.ini world migration code (#3360) | LogicParrot | 1 | -49/+0 | |
2016-07-29 | Fix the error in #3270. | Alexander Harkness | 1 | -1/+1 | |
2016-07-21 | Tab completion across worlds (#3270) | Alexander Harkness | 1 | -0/+30 | |
Fixes #2563. | |||||
2016-06-18 | SelfTests: Removed the unneeded cSelfTests class. | Mattes D | 1 | -6/+0 | |
2016-04-19 | Auto clean bad world linkages | LogicParrot | 1 | -1/+1 | |
2016-02-09 | Write to console when autofixing linkages | LogicParrot | 1 | -0/+1 | |
2016-02-08 | Add DefaultWorld to newly generated INI | LogicParrot | 1 | -1/+2 | |
2016-02-08 | remove cWorld::createAndInitializeWorld | LogicParrot | 1 | -28/+1 | |
2016-02-06 | Proper world linkages and dimension types for newly created world.ini's | LogicParrot | 1 | -1/+59 | |
2016-02-05 | Prevent server from starting if there's bad world linkage | LogicParrot | 1 | -3/+12 | |
2016-02-04 | Fix unexpected world creation introduced by #2821 | LogicParrot | 1 | -1/+1 | |
2016-01-28 | Front-end update | Mathias | 1 | -1/+0 | |
2016-01-21 | Fix running as a service. | Anthony Birkett | 1 | -10/+3 | |
Two problems identified, both traced to commit 4315a11 (main.cpp) ParseArguments() was no longer being called before checking cRoot::m_RunAsService. This led to m_RunAsService never being set (we use -d on the command line to instigate a service start). (Root.cpp) Terminate events were being ignored when running as a service. We only need to ignore the cin.good() call, not terminate events as a whole. | |||||
2016-01-12 | Fixed crash introduced by #2821 | LogicParrot | 1 | -29/+31 | |
2016-01-06 | Fixed Clang warnings. | Mattes D | 1 | -3/+3 | |
2015-12-25 | Fix pre - #2815 default world linkage configs | Safwat Halaby | 1 | -2/+48 | |
2015-12-25 | Nether and End in settings.ini by default, and created at startup | Safwat Halaby | 1 | -3/+17 | |
2015-12-19 | Added HTTPS links wherever they are supported. | Alexander Harkness | 1 | -4/+4 | |
2015-11-03 | Implemented brewing | Lukas Pioch | 1 | -5/+3 | |
2015-09-25 | Compile.sh namechange to cuberite | Safwat Halaby | 1 | -1/+1 | |
2015-09-25 | Namechange to Cuberite | Mattes D | 1 | -1/+1 | |
2015-09-15 | Increase robustness of the logging subsystem | tycho | 1 | -9/+10 | |
2015-08-27 | Include signal.h jointly for POSIX systems | Matti Hanninen | 1 | -5/+7 | |
Otherwise, for example, FreeBSD the build fails due to SIGKILL not being around. | |||||
2015-08-22 | Cast UINT to WORD to appease warning | Tiger Wang | 1 | -6/+5 | |
* Additional minor cleanups | |||||
2015-08-20 | Fixed and improved restarting | Tiger Wang | 1 | -130/+161 | |
Restarts are now an actual, close-as-possible to application exit+reopen. | |||||
2015-08-12 | Fix old style casts and implicit conversions | Matti Hänninen | 1 | -2/+2 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -5/+5 | |
2015-07-10 | Updated and submodularised JsonCPP | Tiger Wang | 1 | -0/+2 | |
Conflicts: lib/jsoncpp | |||||
2015-06-14 | Fixed log files' timestamps | Tiger Wang | 1 | -1/+1 | |
Also made Release mode log less technical information about the world storage threads. | |||||
2015-06-13 | Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld. | Lane Kolbly | 1 | -2/+5 | |
2015-06-12 | Fixed build error on Linux | Alexander Harkness | 1 | -1/+1 | |
2015-06-11 | SelfTests are registered and executed after logging framework init. | Mattes D | 1 | -3/+14 | |
Fixes #2228. | |||||
2015-06-05 | Daemon support on Linux. | Anthony Birkett | 1 | -1/+1 | |
Added null console log listener, avoid printf() when stdout is closed. | |||||
2015-05-29 | Fix for the way connecting clients receive player lists and broadcast chat | b33duck | 1 | -2/+17 | |
2015-05-28 | Fixed the way connecting clients receive player lists and broadcast chat to worlds | b33duck | 1 | -2/+8 | |
2015-05-26 | Added method to get the uptime of the server in seconds. Implements #1650. | Lukas Pioch | 1 | -16/+16 | |
2015-05-16 | Move make_unique into a namespace to avoid ADL issues | tycho | 1 | -2/+2 | |
this prevents VS finding std::make_unique for constructors that take types from std | |||||
2015-05-16 | Initial implementation of IniFile overloading | tycho | 1 | -27/+30 | |
2015-05-09 | CheckBasicStyle: checks spaces around * and &. | Mattes D | 1 | -2/+2 | |
2015-04-24 | Eliminate race condition in cRoot::FindAndDoWithPlayer | worktycho | 1 | -4/+4 | |
Avoid a race condition where a player gets deleted during the FindAndDoWithPlayer callback by moving the callback into DoWithPlayer. | |||||
2015-04-05 | Fixed crash on exit introduced with Windows Service capability. | Mattes D | 1 | -20/+14 | |
Ref.: #1845 | |||||
2015-04-01 | Working as a Windows service. Starts and stops correctly. | Anthony Birkett | 1 | -1/+11 | |
Added "/service" switch, to prompt the binary to attempt starting as a service. Added service* methods, to control service startup. Split up main() into universalMain(), which contains the startup code for both service and normal start. Added cRoot::m_RunningAsService bool, Added cRoot::SetStopping(bool) to allow a stop request to be sent by the service controller. Added cBlockIDMap::init() to avoid loading items.ini before the working directory has been set. | |||||
2015-01-27 | Fixed server failure to open any port not aborting the server. | Mattes D | 1 | -29/+35 | |
2015-01-17 | Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types. | Kirill Kirilenko | 1 | -1/+1 | |
2014-12-23 | Init Mojang API pointer | worktycho | 1 | -0/+1 | |
Fixes CID 90583 | |||||
2014-12-21 | Fixed crash on restart | Tiger Wang | 1 | -3/+12 | |
2014-12-12 | Fixed print of milliseconds from chrono | Lukas Pioch | 1 | -1/+1 | |
2014-12-09 | Fixed compiling. | Howaner | 1 | -1/+1 | |
2014-12-09 | Changed DoWithPlayer to auto instead of using iterator. | Vincent | 1 | -2/+2 | |
2014-12-08 | created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World. | Vincent | 1 | -1/+8 | |
2014-12-08 | Fixed compile errors | Vincent | 1 | -1/+1 | |
2014-12-08 | Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added. | Vincent | 1 | -0/+9 | |
2014-12-04 | Fixed trailing whitespace. | Mattes D | 1 | -1/+1 | |
2014-11-26 | cRoot: Fixed a memory leak with cRankManager. | Mattes D | 1 | -1/+1 | |
2014-11-12 | Fixed trailing whitespace. | Mattes D | 1 | -1/+1 | |
2014-11-05 | renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump | Lukas Pioch | 1 | -2/+2 | |
2014-11-02 | Added FindAndDoWithUUID | Lukas Pioch | 1 | -0/+16 | |
2014-10-24 | Suggestions | Tiger Wang | 1 | -1/+1 | |
2014-10-23 | Merged IniFile into main MCS sources. | Mattes D | 1 | -3/+2 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -22/+22 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -20/+20 | |
2014-10-20 | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 1 | -9/+3 | |
2014-10-19 | Migrated random generators to std::random | Tiger Wang | 1 | -16/+6 | |
2014-10-19 | Use std::thread | Tiger Wang | 1 | -10/+20 | |
2014-10-18 | Fixed failure for cRankManager to restart | Tiger Wang | 1 | -1/+2 | |
2014-10-17 | cMojangAPI: Don't update data if server is in offline mode. | Mattes D | 1 | -2/+3 | |
2014-09-27 | Dropped support for <1.7.x | Tiger Wang | 1 | -12/+0 | |
2014-09-17 | Fixed minor style issues. | madmaxoft | 1 | -2/+2 | |
2014-09-10 | Added abilty to set build info | Tycho | 1 | -0/+6 | |
build info is displayed at startup Fixes #1410 | |||||
2014-09-08 | capitalisation error | worktycho | 1 | -1/+1 | |
2014-09-08 | derp | worktycho | 1 | -1/+1 | |
2014-09-08 | If server fails init, save any changed or generated settings. | worktycho | 1 | -0/+1 | |
2014-08-29 | Added new console command with cleanup | Tiger Wang | 1 | -11/+3 | |
2014-08-21 | Removed cGroup and cGroupManager. | Mattes D | 1 | -16/+0 | |
2014-08-13 | RankMgr: Initial migration code. | madmaxoft | 1 | -0/+1 | |
2014-08-12 | Renamed Loggers | Tycho | 1 | -7/+7 | |
2014-08-10 | First Implementatation of new Loggin framework | Tycho | 1 | -8/+18 | |
2014-07-30 | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 1 | -0/+1 | |
The cache is persisted into a SQLite DB file on server shutdown. | |||||
2014-07-27 | Add "Broadcasting" settings to world.ini | Howaner | 1 | -2/+2 | |
2014-07-22 | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 1 | -2/+4 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -12/+12 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 1 | -3/+3 | |
2014-07-20 | Bug and crash fixes | Tiger Wang | 1 | -2/+7 | |
* Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files | |||||
2014-07-20 | main.cpp: field style fixes | archshift | 1 | -4/+4 | |
2014-07-19 | main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATED | archshift | 1 | -2/+0 | |
2014-07-17 | Fixed spaces around single-line comments. | madmaxoft | 1 | -3/+3 | |
There should be at least two spaces in front and one space after //-style comments. | |||||
2014-07-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -4/+4 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-07-16 | Store properties as Json::Value | Tiger Wang | 1 | -1/+1 | |
2014-07-14 | Player properties are now retrieved | Tiger Wang | 1 | -2/+2 | |
2014-06-10 | Portal improvements and suggestions | Tiger Wang | 1 | -3/+3 | |
2014-05-31 | Implemented end and nether portals | Tiger Wang | 1 | -8/+13 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -8/+6 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -8/+6 | |
2014-04-13 | Added Yggdrasil Authentication System | daniel0916 | 1 | -2/+2 | |
Code by Howaner. Fixes/Changes by me. | |||||
2014-03-29 | Fixed a minor ini key duplication bug | Tiger Wang | 1 | -0/+1 | |
2014-03-12 | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 1 | -5/+5 | |
2014-03-11 | Fixed more Format issues | Tycho | 1 | -5/+5 | |
2014-03-08 | Fixed issues with int vs size_t and a few other warnings | Tycho | 1 | -4/+2 | |
2014-03-02 | cBlockInfo now manages the respective cBlockHandler | andrew | 1 | -1/+0 | |
2014-02-21 | Unicode :-( | Howaner | 1 | -1/+1 | |
2014-02-21 | Add 'Group not found', when the Server load the users.ini and add auto generate from users.ini | Howaner | 1 | -1/+3 | |
2014-02-15 | Removed the unnecessary LoopPlayersAndBroadcastChat() functions. | madmaxoft | 1 | -2/+2 | |
2014-02-15 | Implemented cCompositeChat. | madmaxoft | 1 | -1/+13 | |
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | |||||
2014-02-07 | Improved chat messaging functions | Tiger Wang | 1 | -2/+2 | |
* Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API. | |||||
2014-02-07 | WebAdmin is stopped properly on server shutdown / restart. | madmaxoft | 1 | -5/+2 | |
Fixes #272. | |||||
2014-02-07 | Fixed wiki link in auto-generated settings.ini. | madmaxoft | 1 | -1/+2 | |
2014-02-05 | Improvements: | STRWarrior | 1 | -0/+9 | |
Adds a function in cRoot that allows you to reload all the groups permissions. Note: Players don't automatically load their new permissions. You can use cPlayer::LoadPermissionsFromDisk for that. | |||||
2014-01-28 | Fixed timing on *nix. | madmaxoft | 1 | -1/+1 | |
2014-01-01 | Fixed GetPhysicalRAMUsage on Linux | andrew | 1 | -2/+2 | |
2013-12-22 | Added many event catchers | Tiger Wang | 1 | -9/+25 | |
* Window close * CTRL-C * etc. | |||||
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-21 | Root is now warnings clean | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-20 | Fixed the rest of constructor reorders. | madmaxoft | 1 | -34/+38 | |
2013-12-11 | HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used. | STRWarrior | 1 | -0/+1 | |
2013-12-11 | Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. | STRWarrior | 1 | -0/+18 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -1/+1 | |
Ref.: #407 | |||||
2013-12-07 | Console trims its commands before executing 'em | Tiger Wang | 1 | -3/+3 | |
2013-11-30 | DeadlockDetect is configurable now. | madmaxoft | 1 | -4/+7 | |
This is needed when debugging Lua plugins. | |||||
2013-11-27 | Fixed some of tiger's derpyness. | Alexander Harkness | 1 | -1/+1 | |
2013-11-26 | Hopefully fixed last of the Linux compile errors | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Attempt to fix compilation | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-22 | Added cRoot:GetFurnaceFuelBurnTime() to Lua API. | madmaxoft | 1 | -0/+10 | |
2013-11-15 | cRoot::SaveAllChunks() doesn't wait for the save (deadlocks). | madmaxoft | 1 | -1/+1 | |
Rather, it only queues the save task onto each world's tick thread. | |||||
2013-11-10 | Fixed cRoot::FindAndDoWithPlayer(). | madmaxoft | 1 | -2/+2 | |
Now /kick and /ban work. | |||||
2013-11-07 | Added hardcore client effect | Tiger Wang | 1 | -1/+4 | |
Also fixed multiple world comments issue. | |||||
2013-11-04 | Autogeneration of settings.ini and webadmin.ini | Tiger Wang | 1 | -3/+14 | |
Fixes issue #75 | |||||
2013-10-27 | Authenticator doesn't save the ini file. | madmaxoft | 1 | -1/+2 | |
Didn't load it -> shouldn't save it. | |||||
2013-10-26 | Changed "cIniFile IniFile" to cIniFile & IniFile" | STRWarrior | 1 | -1/+1 | |
2013-10-26 | Both the LoadWorlds() function and cAuthenticator now use the cIniFile object from the Root::Start() function. | STRWarrior | 1 | -5/+3 | |
2013-10-25 | cIniFile doesn't store filename internally anymore. | madmaxoft | 1 | -4/+5 | |
2013-10-18 | Fixed webadmin logging. | madmaxoft | 1 | -3/+0 | |
This fixes #262. | |||||
2013-10-08 | Implemented the two memory-statistics functions in cRoot. | madmaxoft | 1 | -2/+112 | |
This fixes #185. cWebAdmin::GetMemoryUsage() is accessible but deprecated (with a warning output to the screen). | |||||
2013-10-07 | Fixed startup timings on server restart. | madmaxoft | 1 | -4/+3 | |
2013-10-05 | WebAdmin uses the new HTTP functionality. | madmaxoft | 1 | -9/+6 | |
This is a partial implementation of #183. | |||||
2013-09-30 | Removed unneeded statement | Tiger Wang | 1 | -2/+1 | |
Also LOGINFO'd "Starting WebAdmin" | |||||
2013-09-29 | Improvements to startup timer | Tiger Wang | 1 | -15/+7 | |
As suggested by xoft. Also reverted changes of displayed protocol version. | |||||
2013-09-28 | Minor startup streamlining | Tiger Wang | 1 | -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) | |||||
2013-09-27 | Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes. | madmaxoft | 1 | -1/+1 | |
2013-09-24 | Implemented basic HTTP message header parsing. | madmaxoft | 1 | -4/+2 | |
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-08-17 | Added cRoot:BroadcastChat() to the Lua API. | madmaxoft | 1 | -0/+12 | |
This allows plugins to broadcast a chat message to all connected players. It is a replacement for previously removed cServer:BroadcastChat(). | |||||
2013-08-14 | Added simple deadlock detection code. | madmaxoft | 1 | -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. | |||||
2013-08-11 | Each world now ticks in a separate thread. | madmaxoft | 1 | -10/+5 | |
2013-08-07 | Removed Squirrel. | madmaxoft | 1 | -8/+0 | |
This compiles under Windows, but is untested in Linux. | |||||
2013-08-05 | cIniFile now reads .example.ini if not requested not to. | madmaxoft | 1 | -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. | |||||
2013-07-24 | Server shuts down when the stdin is closed (linux Ctrl+D / win Ctrl+Z) | madmaxoft@gmail.com | 1 | -2/+11 | |
Fixes FS #419 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1679 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-29 | Advanced RCON: Command output is sent to the RCON client. | madmaxoft@gmail.com | 1 | -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 | |||||
2013-04-27 | Fixed server stopping after #363 fix | madmaxoft@gmail.com | 1 | -10/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1422 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-27 | Fixed a deadlock | madmaxoft@gmail.com | 1 | -0/+23 | |
FS #363 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1421 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-04 | Moved client socket accepting into a separate thread object, cListenThread | madmaxoft@gmail.com | 1 | -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 | |||||
2013-02-15 | Plugins can now bind console commands | madmaxoft@gmail.com | 1 | -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 | |||||
2013-02-05 | Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature. | madmaxoft@gmail.com | 1 | -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 | |||||
2012-11-16 | Android: Made the initial pre-calculated spawn area smaller | faketruth | 1 | -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 | |||||
2012-11-16 | Fixed boolean comparison. | madmaxoft@gmail.com | 1 | -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 | |||||
2012-11-11 | Settings.ini is read only once on server start | madmaxoft@gmail.com | 1 | -4/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1035 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-11 | PrimaryServerVersion is not force-saved into settings.ini. | madmaxoft@gmail.com | 1 | -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 | |||||
2012-11-10 | Made settings.ini default to settings.example.ini when it doesn't exist | faketruth | 1 | -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 | |||||
2012-10-31 | Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct version | madmaxoft@gmail.com | 1 | -1/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1018 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | Completely removed the old (buggy) redstone simulator. | madmaxoft@gmail.com | 1 | -6/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Unified folder name-casing | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -16/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-20 | Refactored windows. | madmaxoft@gmail.com | 1 | -2/+0 | |
As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-23 | Added a RateCompareString function to StringUtils | faketruth | 1 | -0/+53 | |
Created a preprocessor template (define) for DoWith* functions Exported cWorld::FindAndDoWithPlayer(), cRoot::FindAndDoWithPlayer() and cRoot::ForEachPlayer() to Lua Added a function FindAndDoWithPlayer to cRoot and cWorld. It takes a part of a player name and finds a single player based on that. Fixed Core's MOTD to contain the correct URL to the MCServer site Fixed Core /kick command Fixed Core's WebAdmin kick git-svn-id: http://mc-server.googlecode.com/svn/trunk@779 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-22 | Chat history limit on the WebAdmin chat | faketruth | 1 | -33/+26 | |
Did some refactoring on the JavaScript side of the WebAdmin chat Got rid of cRoot::sRootState Fixed a crash on the WebAdmin when a page is loaded before a world exists git-svn-id: http://mc-server.googlecode.com/svn/trunk@775 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Android: Do not create an input thread for Android | faketruth | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@760 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Chat packet handled in the new way; fixed missing packet sending for inventory slot. | madmaxoft@gmail.com | 1 | -9/+9 | |
Again, API change! cPlugin:OnChat() has had its parameters swapped, to match all the other callbacks - Player first, Message second git-svn-id: http://mc-server.googlecode.com/svn/trunk@751 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-16 | MCServer should run just fine on Android now :D | faketruth | 1 | -0/+4 | |
The server is also stoppable from Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@743 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-16 | Windows compilation fix after Android changes | madmaxoft@gmail.com | 1 | -5/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@742 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-15 | Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android! | faketruth | 1 | -0/+2 | |
Disabled Squirrel for Android cLog now logs to Android LogCat as well Fixed Lua so it compiles on Android Removed/commented out exceptions in JsonCpp so it compiles on Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@741 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-15 | Console command "chunkstats" now lists each world and also totals | madmaxoft@gmail.com | 1 | -0/+53 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@739 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -0/+13 | |
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | World threads are stopped before the plugin mgr for clean exit (FS #228) | madmaxoft@gmail.com | 1 | -0/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@669 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-12 | Missed a file | lapayo94@gmail.com | 1 | -1/+1 | |
Patched the server to allow shutdown from other threads git-svn-id: http://mc-server.googlecode.com/svn/trunk@657 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-19 | Made 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.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@633 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -394/+394 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-12 | Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether. | madmaxoft@gmail.com | 1 | -4/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@597 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | More ini settings save their defaults | madmaxoft@gmail.com | 1 | -5/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@588 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-05 | New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld) | madmaxoft@gmail.com | 1 | -16/+33 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@558 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-04 | Added 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.com | 1 | -5/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-02 | Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua) | madmaxoft@gmail.com | 1 | -9/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@534 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -29/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed a few obsoleted functions | madmaxoft@gmail.com | 1 | -0/+28 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-09 | cClientHandles have a unique ID now to distinguish them | faketruth | 1 | -4/+4 | |
cAuthenticator uses unique client ID for authentication Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked Using callback reference instead of pointer in GetChunkData and affiliates GetChunkData returns false when failed, and true when succeeded Renamed entity type enums to something prettier Exposed some functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-07 | Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380 | faketruth | 1 | -2/+2 | |
Also removed the SetClientHandle() function from cPlayer Added a Destroyed() function to cEntity that is called ONLY ONCE after an entity has been 'destroyed' Cleaned up some code, using enums for GameMode and Weather and replaced some 'const char *' with 'const AString &' Exposed some more functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@382 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-22 | Added a crude way of disabling redstone. It's necessary though, redstone is completely broken, crashes the server all the time | faketruth | 1 | -0/+42 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@312 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Lots of logging added | madmaxoft@gmail.com | 1 | -4/+28 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@282 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | Can use the 'restart' command again. cAuthenticator no longer asserts because it properly stops when the server is stopped. | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@266 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | Added total chunk count to webadmin | madmaxoft@gmail.com | 1 | -0/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@248 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@245 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; | madmaxoft@gmail.com | 1 | -1/+67 | |
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Removed a few duplicate includes | madmaxoft@gmail.com | 1 | -5/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@215 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-23 | Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@100 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yet | faketruth | 1 | -4/+78 | |
Players are now stored in separate folder /players instead of in the world folder (!so move the folder!) Fixed a memory leak/error in cPickup.cpp Multiple worlds are stored in cRoot cClientHandle lists are taken out of cWorld and now stored in cServer Worlds now have names to distinguish them by Some functions in the Core plugin now distinguish between worlds git-svn-id: http://mc-server.googlecode.com/svn/trunk@40 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Player data is saved and loaded as human readable JSON now. | faketruth | 1 | -0/+3 | |
cFileFormatUpdate will loop through old files and convert them to new files (should replace legacy old format loading code) cItem has two new functions to load from Json and output Json, this will keep the items in Json standard ChestEntity and FurnaceEntity use the new functions in cItem git-svn-id: http://mc-server.googlecode.com/svn/trunk@35 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Fixed bug in cMakeDir where it would only create directories named "world" | faketruth | 1 | -31/+11 | |
The user input thread now properly stops when the server restarts or stops git-svn-id: http://mc-server.googlecode.com/svn/trunk@13 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+162 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |