PlaceholderAPI Top KDR

Discussion in 'Plugin Requests' started by CryoCrafter, Sep 4, 2019.

  1. Offline

    CryoCrafter

    Plugin Name: PAPI Top KDR

    Plugin purpose: For displaying the 5 people with the highest KDR

    Features:
    - Hooks into PlaceholderAPI (called PAPI)
    - Adds 5 placeholders which are the following:
    - %player_top_kdr_(number from 1 - 5)%
    - Uses the kills and deaths of "Statistics" (https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#statistic)
    - to create a kdr and always load the top 5 players into those placeholders

    Version:
    - Bukkit / Spigot 1.14.3

    When Id like it by: As soon as possible, of course, please
     
    Last edited by a moderator: Sep 4, 2019
  2. Offline

    Pr0Pancakes

    hey i've tried to fill this for you here. not 100% sure if all my stuff was accessed right test it see if it works. ive never had to create custom papi extension

    placeholders 1 - 5 %KDR1% %KDR2% %KDR3% %KDR4% %KDR5%

    Don't touch the config


    I've noticed a couple bugs and inefficiency's in my code. let me work with this for a bit and ill get back to you
     
    Last edited: Sep 6, 2019
  3. Offline

    CryoCrafter

    Thank you for doing this man
     
  4. Offline

    CryoCrafter

  5. Offline

    CryoCrafter

  6. Offline

    Twisted_Panda

    Ill look into the API and see if I want to get it done for you
     
  7. Offline

    CryoCrafter

Share This Page