Automatically gives players ranks based on playtime

Supported Games
GameServerKingsGameServerKings

Player Rankings automatically gives players ranks based on playtime on a server.

Note: You MUST either use Connection DB or Playtime Tracker for this plugin for data collection of playtime.

Chat Commands

  • /ranks -- Show a list of ranks, playtime required, and the player's own playtime

Installation

  • Install Player Rankings, Better Chat, and (Connection DB or Playtime Tracker)
  • Set up your Player Rankings config the way you want it to be
  • Add those groups through Better Chat and modify them to your preference

How to include rewards

  • Since PlayerRankings relies on BetterChat's grouping system which automatically creates an oxide group, permissions can be given from various plugins to include rewards when a player has met the criteria (hours) to be in that group.

Configuration

{
  "A": {
    "Oxide Group": "Regular",
    "Playtime": 10.0
  },
  "B": {
    "Oxide Group": "Pro",
    "Playtime": 25.0
  },
  "Settings": {
    "Ignore Admins": false
  }
}

Credits

  • LaserHydra, for his support with Better Chat functionality and the original co-development of this plugin

MIT License


Copyright (c) 2019 Ankawi


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.