Ranked PVP Statistics

Discussion in 'Plugin Requests' started by TheJerryGoes, Jan 4, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    TheJerryGoes

    Plugin category: PVP

    Suggested name: RankPVPStats

    What I want: A Multiworld support and Customizable plugin that keeps record of the PVP Stats of players and puts them in a leaderboard, sorting them by rank.

    The leaderboard will be sorted from #1 to #1000, the players above the rank #1000, when they request their stats, they will see their rank as #+1000. Also players who have no kills, deaths, etc, will see their rank as #UNRANKED. The Rank sorting will be considered with kills, meaning that the player with most kills will be #1 therefore the player with less kills will be #+1

    There will also be a score system, pretty much like points, Every time a player kills another player, the killer obtains the percentage set in config of score that the victim had. That means:
    KILLER X VICTIM = Killer +% of Victim's score & Victim -% of His own score.
    The score will only be there show off :).

    Config will look like this:
    Code:
    ============================
    [Ranked PVP Statistics]
    ============================
    '1'
    Statistics Enabled: true
    Score Gain/loose percentage: '5'
    #The World listed below will be the only one affected by the plugin
    World: 'world'
    whitelist enabled: true
    whitelist: 'pvp, market'
    #NOTE: The worlds in the whitelist will be linked with the main world, meaning that: 'pvp' & 'market' will have the same statistics as 'world'.
    #Messages displayed in chat:
    Prefix: '&7>>'
    Player: '&6%player%''s Stats:'
    Rank: '&6Rank: &e&l#%rank%'
    Kills: '&6Kills: &e%kills%'
    Deaths: '&6Deaths: &e%deaths%'
    K/D Ratio: '&6Ratio: &e%ratio%'
    Score: '&6Score: &e%score%'
    
    Leaderboard Enabled: true
    #Messages Displayed in Leaderboard GUI (When cursor hovered over player head):
    Line1: '&3Rank &b#%rank% &7> &e%player%'
    Line2: ''
    Line3: '&6Kills: &e%kills%'
    Line4: '&6Deaths: &e%deaths%'
    Line5: '&6KDR: &e%ratio%'
    Line6: ''
    Line7: '&6Score: &e%score%'
    
    Stats Reset Enabled: true
    #Message for Stats reset:
    Reset Message: '&7>> &cYou are about to reset your stats! This cannot be undone! &8&l(YES/NO)'
    Reset Yes: '&7>> &8You have successfully rested your statistics!'
    Reset No: '&7>> &8You have aborted stats reset...'
    
    Booster Availability: true
    Booster time (s=seconds, m=minutes, h=hours): '1h'
    
    
    '2'
    Statistics Enabled: true
    Score Gain/loose percentage: '10'
    World: 'magic'
    whitelist enabled: false
    whitelist: ''
    #Messages displayed in chat:
    Prefix: '&5Magical Stats>'
    Player: '&6%player%''s Stats:'
    Rank: '&6Rank: &e&l#%rank%'
    Kills: '&6Kills: &e%kills%'
    Deaths: '&6Deaths: &e%deaths%'
    K/D Ratio: '&6Ratio: &e%ratio%'
    Score: '&6Score: &e%score%'
    
    Leaderboard Enabled: false
    #Messages Displayed in Leaderboard GUI (When cursor hovered over player head):
    Line1: '&3Rank &b#%rank% &7> &e%player%'
    Line2: ''
    Line3: '&6Kills: &e%kills%'
    Line4: '&6Deaths: &e%deaths%'
    Line5: '&6KDR: &e%ratio%'
    Line6: ''
    Line7: '&6Score: &e%score%'
    
    Stats Reset Enabled: false
    #Message for Stats reset:
    Reset Message: '&7>> &cYou are about to reset your stats! This cannot be undone! &8&l(YES/NO)'
    Reset Yes: '&7>> &8You have successfully rested your statistics!'
    Reset No: '&7>> &8You have aborted stats reset...'
    
    Booster Availability: true
    Booster time (s=seconds, m=minutes, h=hours): '1h'
    When the player uses the command to see his/her statistics, it will show like this in chat (Have in mind it will have the colors set in config):
    (This is an example of the player Steve123's stats shown in chat when he is either in 'world' 'pvp' or 'market'.)
    >> Steve123's Stats:
    >> Rank: #94
    >> Kills: 34
    >> Deaths: 36
    >> KDR: 0.9
    >> Score: 2,343

    When the player does /leaderboard, a Chest GUI will open and will look like this:
    [​IMG]
    And as set in config, when you hover your cursor in a player head, it displays the statistics of that player, for example:
    Rank #1 > MangoKiller337
    (theres no text here)
    Kills: 1834
    Deaths: 39
    KDR: 0.1
    (theres no text here)
    Score: 34,299

    Ideas for commands:
    - /stats = Will display the statistics of the player.
    - /stats [player] = Will display the statistics of the requested player.
    - /leaderboard = Shows the Top 17 players sorted by rank in a Chest GUI
    - /statsreset = Reset the statics of the player, can only be used with permission. When it asks the player If YES or NO to the reset, the player will have to type in chat 'yes' or 'no', and the command will do either an abort or keep on going.
    - /statsreset [player] = Reset the statistics of the requested player, only with permission.
    - /statsboost = Activates booster, Everytime you pass to a next rank, instead of going 1 postion in front, you go 2 positions in front, a x2 rank Booster, can only be obtained with permission.
    Ideas for permissions:
    - rankpvpstats.reset = Permission to reset your own statistics.
    - rankpvpstats.admin = Permission to reset anyone's statistics.
    - rankpvpstats.booster = Permission to gain the x2 rank booster.
    When I'd like it by: Before March
     
    Last edited: Jan 5, 2015
Thread Status:
Not open for further replies.

Share This Page