Inactive [WEB] Webstatistic for Minecraft v1.10b [1337]

Discussion in 'Bukkit Tools' started by Terra-Network.org, May 18, 2011.

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

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thought i changed this a time ago, will have a look :)

    @moose517
    No idea at the moment, maybe a problem with your directory-permissions?!

    @everyone else waiting for updates
    I wish i would have more time for WS, but i hope i can start working on it again next days.
  2. Offline

    moose517

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I actually found the problem. Line 10 of large_player_image.php i changed it to be this:
    $cache_file = '/image-cache/large_'.$_GET['nick'].'.png';

    the only difference is the / at the beginning of the string, works for me now. Still more errors i see with achievements looking through those now

    EDIT: working through the achievements stuff now, might i ask why you didn't program the achievements part itself like the plugin does? i set the table name to that of the plugins but the naming doesn't match up, i think i've about got it but the score part is wrong for sure LOL.
  3. Offline

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Because the Achievements Table itself is missing alot of information that is stored inside the txt-file, that's why i'm using my OEM table.
  4. Offline

    moose517

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hmmm i understand that, but i got it working for the most part without the extra data. I just would prefer to have a single database table to update with achievements if i add more. I guess if i create a gui to add them though then it won't be a problem.
  5. Offline

    rbs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't get it working:
    http://91.226.88.173/mcstats

    my Database contains the following:

    Code:
    mysql> SELECT * FROM mcstat.mcstat;
    +--------+----------+------------+------------+
    | player | category | stat       | value      |
    +--------+----------+------------+------------+
    | rbs90  | stats    | playedfor  |        136 |
    | rbs90  | stats    | command    |          5 |
    | rbs90  | stats    | lastlogin  | 1312648596 |
    | rbs90  | stats    | login      |          1 |
    | rbs90  | stats    | move       |         21 |
    | rbs90  | stats    | lastlogout | 1312648734 |
    +--------+----------+------------+------------+
    6 rows in set (0.00 sec)
    
    this is my config.php-file:

    PHP:
    <?php

    // Script by Jan-Eric Dre�ler, Terra-Network.org, Webstats for Minecraft (c) 2011

    // Database-Information

    //Insert your host!
    define('WS_CONFIG_DBHOST''localhost');
    //Insert your port! (optional)
    define('WS_CONFIG_DBPORT''');
    //Database username
    define('WS_CONFIG_DBUNAME''mcstat');
    //Database password
    define('WS_CONFIG_DBPASS''**********');
    //Database name
    define('WS_CONFIG_DBNAME''mcstat');

    //Stats Table
    define('WS_CONFIG_STATS''stats');
    //Jobs Table
    define('WS_CONFIG_JOBS''jobs');
    //Jobs Table
    define('WS_CONFIG_LEVELCRAFT''experiencetable');
    //iConomy Table
    define('WS_CONFIG_ICONOMY''iconomy');
    //WS_Achievements Table
    define('WS_CONFIG_ACHIEVEMENTS''ws_achievements');
    //Achievements-Plugin Table
    define('WS_CONFIG_PLAYERACHIEVEMENTS''playerachievements');

    //Default Langue (de, eng, fr)
    define('WS_CONFIG_LANGUAGE''eng');

    //Default Logo "http://....."
    define('WS_CONFIG_LOGO''images/site_logo.png');
    //Server Name
    define('WS_CONFIG_SERVER''rbs_server');

    //Menu Signs (the signs between two links in the main menu!
    define('WS_OPTICAL_SIGNS''-----');

    //Number of users per page
    define('WS_CONFIG_PAGENUM'25);

    //Time in seconds, images are cached 86400 = 1day, 259200 = 3days
    define('WS_CONFIG_CACHETIME'259200);

    ?>
    I think the problem is, that I only have one table...what should I do to get multiple tables?
  6. Offline

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @rbs

    One table is correct, you're just using the stats-module.
    It has to be:
    Code:
    //Stats Table
    define('WS_CONFIG_STATS', 'mcstat');
    because here it is "mcstat"
    Code:
    mysql> SELECT * FROM mcstat.mcstat;

    This post has been edited 1 time. It was last edited by Terra-Network.org Aug 7, 2011.
  7. Offline

    rbs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    thx. it works now:)

    One suggestion from me: Is it possible to create an achievement detail page for every single Archievement? Would be very nice, when people also could read what they get:)

    Its a very nice plugin, many thx for your work!
  8. Offline

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    A lot to do, alot i promised, maybe!
    Will start working on WS again next days.
  9. Offline

    rbs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    if you want I could help you. I just have written (most copy-pasted) an function for showing the playernames that got an achievement.

    I never done something with PHP before, but I seems to be simple :) My SQL is not really the best, but it doesn't seem to be very hard.

    I'm also from Germany (therefore my bad English).

    Edit: Integrated also some more information about the Achievements. If you want to see what I have done:
    91.226.88.173/mcstats/

    Edit²: Added Achievements in the player-overview.

    Edit³: Added remaining achievements for every player (with progress bar).

    This post has been edited 3 times. It was last edited by rbs Aug 9, 2011.
  10. Offline

    tom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    mcmmo :( ?
  11. Offline

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I know, it's not what you want to hear, but i have no tome at the moment to work on it.
    It works with the last updates of minecraft and before 1.8 i won't change it anymore.

    v0.92b is out, with small updates.
  12. Offline

    tomomsius

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    could u add towny?

    and users curently online?

    This post has been edited 1 time. It was last edited by tomomsius Aug 28, 2011.
  13. Offline

    tom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    We need an update to the stats plugin by nidefawl and this :)
  14. Offline

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There is a problem with "Stats" by nidefawl with the new RB1185.
    It's spamming errors :(
  15. Offline

    tom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you fix it ? I really like your web stats plugin :)
  16. Offline

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't know, i need to try it.

    edit:

    I tested it 2min ago and everything works just fine!
    So i will add the new monsters and blocks.

    This post has been edited 1 time. It was last edited by Terra-Network.org Sep 24, 2011.
  17. Offline

    tom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When will it be ready?
  18. Offline

    DemonCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Where do I add my information to my server, like where I add the IP and Port to my MC Server so it gets the information?
  19. Offline

    Fr0zenfr0g

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Mcmmo plz :)
    Full 1.8 suport plz :)
    Amezome feature :)

    This post has been edited 1 time. It was last edited by Fr0zenfr0g Sep 25, 2011.
  20. Offline

    Survivorman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi, any plans for a small update to the iConomy module so that it has pages? Rendering 100s of players on the same page lags some browsers.
  21. Offline

    DemonCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is he ever going to reply? It's been a few days now, :(
  22. Offline

    HakkaH

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The plugin is borked when you use a permission plugin like PEX somehow only the admins get updated :(

    This post has been edited 1 time. It was last edited by HakkaH Oct 2, 2011.
  23. Offline

    DemonCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  24. Offline

    DemonCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Untrue, you just need the nodes;
    Code:
    [SIZE=12px]Achievements:
    achievements.check - only players that have that permissions will be checked + awarded
    achievements.view.own - grants access to /achievements (/ach)
    achievements.view.list - grants access to /listachievements (/listach)
    achievements.admin.check - grants access to /checkachievements (/chekcach)
    achievements.admin.reload - grants access to /reloadachievements (/reloadach)
    
    Stats:
    stats.log - only actions of players that have that permissions will logged
    stats.view.own - allows a player to watch his own stats with the /stats command
    stats.view.others - allows a player to watch other players stats with the /stats <player> command
    stats.view.playtime - allows a player to watch his play-time with the /played command
    stats.admin - grants access to /stats debug + /stats set + /stats list[/SIZE]
    [SIZE=12px]
    [/SIZE]
  25. Offline

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm really sry, but i had no time the last weeks.
    I've got some free days now and i'm working on version 1 of webstats.
    It a completely new version, more modular, easier to upgrade!

    ToDo:
    -> 1.9 upgrades
    -> rewrite old modules *mostly done*
    -> code cleanup *mostly done*
    -> "new" design *mostly done*
    -> new modules (mcmmo)
    -> pagination for all modules *mostly done*

    This post has been edited 2 times. It was last edited by Terra-Network.org Oct 7, 2011.
  26. Offline

    DemonCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you show me how you get your Achievements?
    Like, I don't even know how to get it started :/

    This post has been edited 1 time. It was last edited by DemonCraft Oct 7, 2011.
  27. Offline

    DemonCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How do I get the achievements to display on the Statics thingy?
    DemonCraftonline.com/stats
    Like a Achievement button and add-on to the thingy.
  28. Offline

    itsmei

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Looking forward till the update is finished
  29. Offline

    Terra-Network.org

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ToDo:
    -> 1.9 upgrades *1.8 done - 1.9 to do*
    -> rewrite old modules *mostly done*
    -> code cleanup *mostly done*
    -> "new" design *mostly done*
    -> new modules (mcmmo) *database installed, waiting for other tasks being done*
    -> pagination for all modules *done*

    Upgrades:
    - complete new set of icons
    - configurable background image (choose from 4 textures atm)
    - improved image cache
    - support for different databases (config every single module for it's own!)
    - Stats (& Achievements) no longer required, but nice to have!

    This post has been edited 1 time. It was last edited by Terra-Network.org Oct 7, 2011.
  30. Offline

    moose517

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    outstanding, can't wait for the update. Also and i know this is a bit nitpicky, but is there any easy way you could make it user adjustable for the width? reason being i include your stats page in an iframe on my website and the webpage is only 850px wide. allowing full width totally breaks the look and i don't have time to go through and edit all the files to make it fit.
Thread Status:
Not open for further replies.

Share This Page