summaryrefslogtreecommitdiffstats
path: root/src/RankManager.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed all Printf-family functions from StringUtils.Mattes D2023-05-161-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.
* refactor: removed m_MojangAPI from RankManager (#5483)stevenzr2023-04-041-6/+1
| | | | | * refactor: removed m_MojangAPI from RankManager * docs: updated CONTRIBUTORS
* Update submodules (#4727)peterbell102020-05-091-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.
* Remove cRankManager migration code (#4714)Mat2020-05-051-379/+2
| | | | | | | * Remove cRankManager migration code * Restore mistakenly removed code * Display log message when creating ranks
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-2/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Add cUUID class (#3871)peterbell102017-08-251-36/+50
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-127/+127
|
* Added "core.help" permission to Default rank.Mattes D2016-01-101-0/+1
|
* Fix wrong teleport permission. (solves #2369)Alexander Harkness2015-10-281-4/+4
|
* Update cRankManager::SetRankVisualsAZARI Nicolas2015-08-251-1/+1
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Added player restrictions to the DB and API.Mattes D2015-04-251-0/+379
|
* Merged IniFile into main MCS sources.Mattes D2014-10-231-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* RankMgr: GetAllPlayers() returns players sorted by name.madmaxoft2014-09-291-1/+1
|
* Style fixes.madmaxoft2014-09-291-1/+2
|
* Renamed GetAllPlayers() to GetAllPlayerUUIDs()Howaner2014-09-291-1/+1
|
* cRankManager: Added ClearPlayerRanks()Howaner2014-09-281-0/+19
|
* cRankManager: Added GetAllPlayers() and GetPlayerName()Howaner2014-09-281-0/+81
|
* Removed isDone checkworktycho2014-08-311-2/+2
| | | The same data is returned by executeStep so why execute a call when you have the data.
* Fixed basic style violations.Mattes D2014-08-271-6/+4
|
* RankMgr: Default rank is applied to players without any rank.Mattes D2014-08-241-57/+12
|
* RankMgr: Implemented default rank, added defaults.Mattes D2014-08-231-21/+179
|
* cMojangAPI updates cRankManager's playernames.Mattes D2014-08-211-1/+38
|
* RankMgr: Added cRankManager::RemovePlayerRank().Mattes D2014-08-211-0/+23
|
* RankMgr: Removed unneeded testing code.madmaxoft2014-08-141-208/+2
|
* RankMgr: Fixed multithreading issues.madmaxoft2014-08-131-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.
* RankMgr: Initial migration code.madmaxoft2014-08-131-1/+539
|
* RankMgr: Added GetRankVisuals() function.madmaxoft2014-08-091-3/+34
|
* RankMgr: Finished API implementation.madmaxoft2014-08-081-31/+390
|
* RankMgr: Implemented GetXforY and GetAll APIs.madmaxoft2014-08-081-15/+156
|
* RankMgr: Implemented the basic API functions.madmaxoft2014-08-081-59/+679
|
* RankMgr: Renamed PermissionGroup to Group in API and PermGroup in DB.madmaxoft2014-08-081-13/+13
| | | | "Group" is SQL keyword and shouldn't be used as table name.
* RankMgr: Added SQL integer datatypes.madmaxoft2014-08-051-5/+5
|
* RankMgr: Initial interface declaration.madmaxoft2014-08-051-0/+153