pvp stats + gui

Discussion in 'Archived: Plugin Requests' started by 15987632, Aug 9, 2014.

  1. Offline

    15987632

    Plugin category: Fun

    Suggested name: PvP Stats

    What I want: This plugin would log every kill based on who got killed and who is the killer. It will also log the persons best killstreak with their current killstreak. A Killstreak if you didnt know is howmany kills you get in one life. When you /stats somebody it will show their stats like this

    Rank: (i think you can get this from vault if not than its fine)
    Kills:
    Deaths:
    K/D: (this is only kills/deaths i would only like it to show to the hundredths place so like 2.49 or something)
    Best Killstreak:
    Current Killstreak:
    Points: (this is just their currency you can get this from vault)

    ok now here comes the part that is original about this plugin

    If you type /pvphistory then a gui will pop up. This gui will have 54 slots so 6 rows. On the top 5 rows will be player heads and zombie heads a player head will be a player you killed and a zombie head will be a death. It will be in order from left to right and top to bottom in the order you got the kills. so your most recent kill/death will be on the top left slot and the latest would be on 5th row at the right. On the bottom row will be page turn items. So at the bottom left would be a previous page item (wouldn't be there on the first page) and the bottom right will bea next page item and wouldn't be there on the last page. The previous and next page items will both be arrows. and all the empty slots in the bottom row will be sunflowers that do nothing (cause why not). If you need clarity the gui will have pages each page can hold 45 kills/deaths total because they only use the top 5 rows. The player heads and zombie heads will have the name of the player the you killed or died to. For example if you killed player4456 than the player head would be named player4456 same thing with a zombie skull if you died to player6687 than the zombie head would be named player6687. The lore of the player heads and zombie skulls will be a record between you and the persona and will look like this

    You killed <player> x amount of times
    You killed <player> for x% of your total kills ((number of times you killed him/total kills)*100) i would also like this to only go to the hundredths place

    You died to <player> x amount of times
    You died to <player> for x% of your total deaths

    Also for the player heads can you set the item meta for the player you killed? I know it wont make a difference for 1.7 but in 1.8 it will show the skin if you do that :)

    The last command is /record <player>
    All this does is show the lore part from above so if you need clarity all it does is show this data

    Your record with <player>
    You killed <player> x amount of times
    You killed <player> for x% of your total kills ((number of times you killed him/total kills)*100) i would also like this to only go to the hundredths place

    You died to <player> x amount of times
    You died to <player> for x% of your total deaths

    Ideas for commands:
    /stats <playername>
    if player name is blank than it will stats the layer who is running the command

    /record <playername>
    you cannot /record your self or leave playername blank

    /pvphistory
    no args just this you can only look at your own history

    /stats add <player> <arg> <number>
    adding an amount of an arg to a stats
    for example /stats add player deaths 8 would add 8 deaths to a players stats
    negative numbers should work also

    /stats set <player> <arg> <number>
    same thing as above but setting it not adding it

    /stats clear <player>
    clears a persons stats



    Ideas for permissions:
    pvpstats.stats
    pvpstats.stats.admin
    pvpstats.record
    pvpstats.pvphistory

    When I'd like it by: ASAP but take your time, im not in a rush
     
  2. Offline

    The Fancy Whale

    There are lots of stats plugins out there.
     
  3. Offline

    15987632

    The Fancy Whale i have looked but none of them have a gui of the sort of anything similar and cant tell you the stats between you and that player in my post i made that /record
     
  4. Offline

    Nickolous14

  5. Online

    timtower Administrator Administrator Moderator

    Please look at the chest interface. Most users / devs call that a gui these days
     
    15987632 likes this.
  6. Offline

    LaughingQuoll

  7. Offline

    The Fancy Whale

    Off topic, but yes we are both using vanilla forums with a bootstrap template.
     
  8. Offline

    Nickolous14

  9. Offline

    15987632

    Nickolous14 they can be any multiple of 9... hey can even go past 54 but they look really glitchy
     
  10. Offline

    The Fancy Whale

    Why are you tagging me? Also, why can't they go past 27? I've seen double chests with bigger inventories.
     
  11. Offline

    Nickolous14

    The Fancy Whale Opps tagged wrong person sorry. Also my friend who teaches me Bukkit API said it was 27, he must be wrong.
     
  12. Offline

    ZodiacTheories

  13. Offline

    15987632

  14. Offline

    15987632

  15. Offline

    15987632

  16. Offline

    LaughingQuoll

    Off Topic. I use a heavily modified version of vanilla to suite my servers needs.
     
  17. Offline

    15987632

  18. Offline

    15987632

  19. Offline

    15987632

  20. Offline

    15987632

  21. Offline

    AngryCola

    OffTopic but please stop the bump spam...
     
  22. Offline

    15987632

  23. Offline

    15987632

  24. Offline

    StainedMc

    Very ez to make
     
  25. Offline

    15987632

  26. Offline

    Glumpz

    "Very ez to make" != "I will make it."
     
  27. Offline

    15987632

  28. Offline

    xSketti

    I also like to see this plugin to be made.
     

Share This Page