Simple PVP Webstats with Division

Discussion in 'Bukkit Tools' started by pandapipino, Dec 13, 2011.

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

    pandapipino

    NEW UPDATE! PVP Webstats 2.0!

    [​IMG]

    Description

    A PVP Webstats tool for PVP stats created by slipcor.

    A simple Webstats that creates a list of players with the highest ranking points. Gain points and be ranked according to divisions. Each points will give a player a cool Division Avatar Icon.
    - Inspired by Starcraft 2

    How it works?
    It computes the value: kill (-) deaths = POINTS
    - the more kills you get the more points you get and get listed to the highest rank, the more deaths you have the least you will get to the top of the list.

    Requirements:
    PVP Stats plugin installed to your server
    MySQL Database
    Website Hosting

    Division Points:
    25 points - Wood Division
    50 points - Stone Division
    150 points - Iron Division
    200 points - Gold Division
    350 points - Diamond Division
    500 points - Master Division
    750 points - Epic Division
    1000 points - Legend Division

    Demo:
    http://warzonedefenders.com/pvpstats

    Download:
    PVP Webstats v2.0

    How to install:
    UnRar and upload the directory to your host public web directory:

    Edit your MySQL Configuration:
    navigate and edit this file: ewcfg10.php

    Search and Edit these values with your existing mysql connection settings:

    // Database connection info
    define("EW_CONN_HOST", 'localhost', TRUE);
    define("EW_CONN_PORT", 3306, TRUE);
    define("EW_CONN_USER", 'mysqluser', TRUE);
    define("EW_CONN_PASS", 'mysqlpass', TRUE);
    define("EW_CONN_DB", 'mysqldb', TRUE);

    Save....

    Now View your PVP Webstats Online
    ex: http://yourwebsitedomain.com/pvpwebstats

    Done.


    Changelog:

    2.0
    New Multiple Column View
    New Design
    Added Kills, Deaths and Streak column view
    Added Top Rank and Top Kills
    Added Player Rank Number
    Added Page number links
    0.2
    Did some image url link changes
    Deleted some unnecessary files
     
    xbenas likes this.
  2. Offline

    pandapipino

    that might be a problem on your mySQL host, try checking if your hosting provider allows remote connection
     
  3. Offline

    Sebzinat0r

    Can you tell me specific how to innstall please? Im useing Joomla. But i have access to MySql
     
  4. Any chance of adding a "minimum points needed" so people can define how many points you need to show up on the list?
     
  5. Offline

    alexiskn

    Help me please =(
    Error : Failed to connect to minecraft_7918 at minecraft06.omgserv.com:3306. Error: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
     
  6. Offline

    pandapipino

    That's a problem with your mySQL connection, make sure you have port forwarded the port 3306 correctly and all mySQL login details are correct.
     
  7. Offline

    Tinkerballs

    I truly love this these webstats and it gives my players something to compete for! However, I was wondering.. would it be possible to modify the amount of points needed for divisions? I tried modifying it myself but I couldn't find out in which file the configuration of it is.

    Much appreciated!
     
  8. For some reason its only displaying the person in first place on my site? how do i fix this

    thanks
    rebz
     
  9. Offline

    pandapipino

    Right now the points is code based but I'll try if I have time to make it sql based. You can also try digging up to the codes for the points and try modifying it.

    It will only display the players higher than zero(0) points, players that has negative points will not be displayed.
     
  10. Offline

    pandapipino

    Oh cool, Thanks for using it :)
     
  11. Offline

    williamj2543

    Hello,
    Can someone please give me the customview3rpt file for cardinal craft or something? Mine only displays points and I want to display everything including kills, deaths, kdr RATIO, and points.
    Thanks,
    William
     
  12. Offline

    pandapipino

    Check the new version, scroll up!
     
  13. Offline

    Kelvin Kam

    Can you add the daily pvp / monthly pvp column?
    So that I can give player some reward if they are the monthly no.1?? Or other plugin can do that ?
    Also, can we set the row 3 to 4, the the wide screen can be more useful.
    Thank you so much :D
     
  14. Offline

    pandapipino

    Hi Kevin handling date/time is not possible since the plugin itself does not have the functionality and I'm not sure if there's a plugin that does that specifically for the PVP Stats plugin. I do think I did the display fairly for both wide and non-wide screen display but I might experiment a bit more in the future.
     
  15. Offline

    DutchRastaCraft

    Thanks for those web stats!
    But is it possible to add a search function to search for players?
     
  16. Offline

    Doodledew

    A search option is the only thing that's missing now! I'm loving the new design, waaaay better than the old one! Hoping to see a search option, and then this webstats will be complete ;D
     
    brammes likes this.

  17. a search function would be very nice, what i also like to see is an option to see more stats ( killed by who and weapon, time ect.)
     
  18. Offline

    Tinkerballs

    Liking the new website, got one question though, currently people with negative scores are being displayed on the site as well. In which file would I modify it so this doesn't happen?

    Example:


    [​IMG]
     
  19. Offline

    pandapipino


    Edit your MySQL Configuration:
    navigate and edit this file: ewcfg10.php

    Search and Edit these values with your existing mysql connection settings:

    // Database connection info
    define("EW_CONN_HOST", 'localhost', TRUE);
    define("EW_CONN_PORT", 3306, TRUE);
    define("EW_CONN_USER", 'mysqluser', TRUE);
    define("EW_CONN_PASS", 'mysqlpass', TRUE);
    define("EW_CONN_DB", 'mysqldb', TRUE);

    Save....
     
  20. pandapipino what my sql applicaton for localhost?

    i use XAMPP
     
  21. Offline

    pandapipino



    No, I'm using a webhosting.

    go to your pvpwebstats folder and find this file >>> ewcfg10.php

    find this text:

    // Database connection info
    define("EW_CONN_HOST", 'localhost', TRUE);
    define("EW_CONN_PORT", 3306, TRUE);
    define("EW_CONN_USER", 'mysqluser', TRUE);
    define("EW_CONN_PASS", 'mysqlpass', TRUE);
    define("EW_CONN_DB", 'mysqldb', TRUE);

    You must put your own "correct" mysql information.

    edit these values with your own correct mysql information:
    localhost = ip address / localhost
    mysqluser = your mysql username
    mysqlpass = your mysql password
    mysqldb = pvpstats database name (the one that the plugin has created, you must run the plugin first on your bukkit server)

    That was actually intentional, the correct formula is (kills - death) = points
     
  22. Offline

    EvilGooD

  23. Offline

    pandapipino

    your table u559569890_stats.pvpstats does not exist in your database.
     
  24. Offline

    15987632

  25. Offline

    pandapipino

    Theyre too low to get a division, they must have atleast a minimum of 25 points.

    Division Points:
    25 points - Wood Division
    50 points - Stone Division
    150 points - Iron Division
    200 points - Gold Division
    350 points - Diamond Division
    500 points - Master Division
    750 points - Epic Division
    1000 points - Legend Division
     
  26. Offline

    15987632

    pandapipino gotcha by bad and thanks for making this
     
  27. Offline

    ToPoEdiTs

    wow nice job
     
  28. Offline

    Onuraygun

Thread Status:
Not open for further replies.

Share This Page