Sueta

PvPRanking - Normalization | Rank | Score | API

1.2.8

A ranking system using normalization as calculating method

·Plugin


Description

This is a rank calculation plugin.

Unlike add and reduce the scores, this plugin is using score normalization to calculate the rank.

Z-scores and Min-Max normalization method are provided in this plugin.

Simulation

you can check from wiki.

Commands

  • /pvprank <info | reset> - check/reset rank data
  • /pvpdata <info | reset> - check/reset player data

Permissions

  • pvprank.info - check rank data
  • pvprank.reset - reset rank data
  • pvprank.help - help
  • pvpdata.info - check player data
  • pvpdata.reset - check player data
  • pvprank.admin - above all

Config

# support two different method: "Z_SCORE" , "MIN_MAX"
ran-cal-method: Z_SCORE

# require played times to have rank
require-plays: 20

# reset time (24 hours)
update-time: 00:00

# ranking data showing format
info-message:
  - "&bplayer: &e<name>"
  - "&brank: &e<rank>"
  - "&bscores: &e<score>"
  - "&bn-scores: &e<n-score>"
  - "&bplayed: &e<plays>"

# whether to make it only for show info but not calculate
show-info-only: false

# if disabled, this plugin will not handle any save
handle-data-save: true

# default calculated format
default-calculate-format: "<kills> * 50 - <deaths> * 20"

#Unranked tag
unranked-tag: "UnRanked"

#rankup title
rankup-subtitle: "&k&a||&e RANK UP &k&a||"

#rank updated msg,can be either rank up or rank down
rank-updated-msg: "&bRank data has been updated。"

For more config, you can check from here

Hooking

PlaceHolderAPI:

%pvprank_rank% - get the rank
%pvprank_score% - get the scores
%pvprank_n-score% - get the n-scores
%pvprank_plays% - get the played times

API

check from here
If there are any issue, please PM me, or post into the discussion to let me know. thank you

Similar projects

Plugin →