Fluid MC Stats

Discussion in 'Bukkit Tools' started by Zachary DuBois, Mar 16, 2014.

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


    you need to set the base url in config.

    // This setting defines the base URL to your FMCS install. Leave blank for subdoamin (root) install. For subdirectories, put the full URI to the install root without beginning slash.
    $base_URL = "";
  2. Offline


    I don't know if its possible instead of /players/1 having /players/TNTUP? My main site has a query script with heads, having a link to a player's stats, but now its in player ID that I don't know how to get it to work :x
  3. Offline


    The base URL is right. I changed it to whatever I could think of, but the layout of the homepage broke when I changed it. The stats page is on http://www.the-unknown.com/stats/. The base url in the config is stats/.
  4. Offline


    Make sure you have mod_rewrite enabled, and in your apache2.conf have the
    <Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted

    changed to

    <Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted

    Then it should work ;)

    Hope it helped.
  5. Offline


    This fixed my problem! Thank you so much! :D
  6. Not sure if I am just messing things up here, but I have checked mod_rewrite and I have it enabled, my apache.conf already had the changes, as I had them enabled for my main site.
    However I am still having this same issue, and not sure what else I can do to fix it.

    http://www.ponyconcordia.com/MCStats/ is where I have the stats page, and the base url is set as follows: $base_URL = "MCStats/";

    Any other ideas as to what my problem here is?
  7. Offline


  8. Offline


    I also was under the impression that rewrite was running at the beginning, turns out it was not ;)
    Try sudo a2enmod rewrite and then restart apache

    Also if you are on 14.04 you must edit 000-default.conf aswell
    Last edited: Feb 18, 2015
  9. Offline


    I hope there wouldnt be any copy right issues if I include a fluid mc stats theme in bluestats?
  10. Offline


    This is a really dumb question, but could someone give me a step by step guide on how to install this. I love stats and the website this creates look amazing. I've got a server running stats and a database. Just not sure where to even start. Any help would be amazing. thanks
  11. Offline


    Step by step for it (assuming you already have your server set up for web access)
    download mcfluid stats zip
    on your LAMP (Linux Apache Mysql PHP) server extract to the /var/html/www/
    now go to page in browser http://yoururl.com/yourmcfluidstatsdirectory
    fill out config
    set base if not running as subdirectory.
    delete install folder
    Refresh page and it should load
  12. Offline

    Zachary DuBois

    Wow, my bad. Bukkit hasn't been sending me emails for this thread. I am very sorry for the delay in replies. Bulk reply below.

    @quakemaster1209, Thanks for replying in my absence. It is greatly appreciated. :)

    It is not in the current version but it is coming in v0.3.0. Again, the decline in Minecraft and compatibility with Mac makes this project drop on my priority list. SEO was a big request. I plan on making a setting to either set the URL to the UUID of the player (That crazy string given to Minecraft accounts) or the player name. Problem is, player names can change now causes actually worse SEO than using a UUID or just a database ID.

    Please read the LICENSE.md file. There would be and I do not hesitate to file DMCA takedowns.

    Could you create an issue on GitHub following the information in the contributing file to pull the debug information.
  13. Offline



    I realize that the vote system is not working, there is no Stats_votes in mySQL too.
  14. Offline

    Zachary DuBois

    @N3evin, Vote data is stored as a column in Stats_player table. Votes are not tracked if the player is not online and Stats 3 will fix a lot of issues people have been having with stats. At this time, Fluid MC Stats will not be updated and will not be compatible with Stats 3. I am backlogged in several other projects right now and Minecraft is not one of them.
  15. Offline


    Check your .htaccess file.

    I'm assuming you installed fluid in /var/www/mcstats, so your .htaccess file should be there. Check with ls -al otherwise copy paste the .htaccess file manually.

    pico .htaccess

    Change RewriteBase / to RewriteBase /mcstats/

  16. Offline


    it seems when stats 3 was installed it broke fluidmcstats.
  17. Offline


    Yes, it did. I'd suggest you revert to Stats 2, Stats 3 is very unstable.
  18. Offline


    even reverting to stats 2 i get this error in fluidmcstats
    on top lists: Table 'mcmmo.Stats_player' doesn't exist looking in the db it is listed as Stats_players
    Top Player: unknown column 'player_id' in 'field list'
    Player Lists: Fatal error: Call to a member function fetch_array() on boolean in /opt/lampp/htdocs/stats/inc/util.php on line 177

    lines 174-177 of util.php:
    function getAmountOfPlayers($mysqli$dbPrefix$playtimeLimiter) {
    $query "SELECT COUNT(DISTINCT player_id) AS value FROM {$dbPrefix}player WHERE playtime>={$playtimeLimiter}";
    $result $mysqli->query($query);
    $arr $result->fetch_array();
  19. Offline


    Have version 0.20 installed. Seem to be having issus with player avatars - they don't display on the left of the player name.

    Can you explain how to set the $avatar_service_uri = ''; entry in the config.php file

  20. Offline

    Zachary DuBois

    The configuration file is not made to be edited directly. Please use the installer to set.
  21. Offline

    Zachary DuBois

    Hello everyone, I am pleased to inform you that the recode of Fluid MC Stats is starting. I don't have any ETAs due to school and exams but you can signup for alpha/beta testing notifications in this GitHub issue. Follow the instructions there and let people who are currently using the old one know about this update. I'd like to make it as bug-free as possible and soon to be extendable too.
Thread Status:
Not open for further replies.

Share This Page