summaryrefslogtreecommitdiffstats
path: root/src/RankManager.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-16Removed all Printf-family functions from StringUtils.Mattes D1-2/+2
Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code.
2023-04-04refactor: removed m_MojangAPI from RankManager (#5483)stevenzr1-6/+1
* refactor: removed m_MojangAPI from RankManager * docs: updated CONTRIBUTORS
2020-05-09Update submodules (#4727)peterbell101-1/+1
Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
2020-05-05Remove cRankManager migration code (#4714)Mat1-379/+2
* Remove cRankManager migration code * Restore mistakenly removed code * Display log message when creating ranks
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-2/+1
Add check for number of empty lines between functions and fix the corresponding failures
2017-08-25Add cUUID class (#3871)peterbell101-36/+50
2016-02-05Bulk clearing of whitespaceLogicParrot1-127/+127
2016-01-10Added "core.help" permission to Default rank.Mattes D1-0/+1
2015-10-28Fix wrong teleport permission. (solves #2369)Alexander Harkness1-4/+4
2015-08-25Update cRankManager::SetRankVisualsAZARI Nicolas1-1/+1
2015-05-09More style checking.Mattes D1-1/+1
Spaces around some operators are checked.
2015-04-25Added player restrictions to the DB and API.Mattes D1-0/+379
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-09-29RankMgr: GetAllPlayers() returns players sorted by name.madmaxoft1-1/+1
2014-09-29Style fixes.madmaxoft1-1/+2
2014-09-29Renamed GetAllPlayers() to GetAllPlayerUUIDs()Howaner1-1/+1
2014-09-28cRankManager: Added ClearPlayerRanks()Howaner1-0/+19
2014-09-28cRankManager: Added GetAllPlayers() and GetPlayerName()Howaner1-0/+81
2014-08-31Removed isDone checkworktycho1-2/+2
The same data is returned by executeStep so why execute a call when you have the data.
2014-08-27Fixed basic style violations.Mattes D1-6/+4
2014-08-24RankMgr: Default rank is applied to players without any rank.Mattes D1-57/+12
2014-08-23RankMgr: Implemented default rank, added defaults.Mattes D1-21/+179
2014-08-21cMojangAPI updates cRankManager's playernames.Mattes D1-1/+38
2014-08-21RankMgr: Added cRankManager::RemovePlayerRank().Mattes D1-0/+23
2014-08-14RankMgr: Removed unneeded testing code.madmaxoft1-208/+2
2014-08-13RankMgr: Fixed multithreading issues.madmaxoft1-48/+78
Only one thread is allowed to interact with a SQLite::Database object at a time. Additionally, improved performance of the migration by wrapping the entire thing in a transaction.
2014-08-13RankMgr: Initial migration code.madmaxoft1-1/+539
2014-08-09RankMgr: Added GetRankVisuals() function.madmaxoft1-3/+34
2014-08-08RankMgr: Finished API implementation.madmaxoft1-31/+390
2014-08-08RankMgr: Implemented GetXforY and GetAll APIs.madmaxoft1-15/+156
2014-08-08RankMgr: Implemented the basic API functions.madmaxoft1-59/+679
2014-08-08RankMgr: Renamed PermissionGroup to Group in API and PermGroup in DB.madmaxoft1-13/+13
"Group" is SQL keyword and shouldn't be used as table name.
2014-08-05RankMgr: Added SQL integer datatypes.madmaxoft1-5/+5
2014-08-05RankMgr: Initial interface declaration.madmaxoft1-0/+153