promotional bannermobile promotional banner

SvrStats

Abandoned
Lightweight stat logging plugin with MySQL support.

This is a stat logging plugin that logs everything from blocks broken to characters chatted to time online. It has MySQL support, but currently no commands as it's (currently) meant for online stats (and you have to make the frontend yourself). In the future i might go ahead and add commands or a frontend but right now i'm focused on adding moar stuff to log. GitHub (Source)

Backstory

I was surfing the interwebz, when suddently i saw a page for some server's player stats. I then thought "this would be good for my server" and i checked out the server's website. Turns out they were selling the stat system for 200 dollars. I thought "i can do this myself" and then went on coding, while testing on a production server (i'm hardcore like that).

Technical stuff

When the plugin first launches, it connects to the database. If the connection is successful, it checks if there's a table named "stats" in the selected database. If there isn't, it creates one.

When a player joins, it checks if the player is in the database. If not, it creates a coloumn for the player with the default values. Here's the field specs:

fielddescription
playerThe name of the player.
joinsThe amount of times the player has joined.
lastjoinThe last unix time the player joined the server.
playtimeAmount of seconds the player has played on the server.
firstjoinThe first unix time the player joined the server. Set to the current unix time when the coloumn is created, then never modified.
chatcharAmount of characters typed in chat.
chatsAmount of chat messages sent.
placedAmount of blocks placed.
brokeAmount of blocks broken.

The SvrStats Team

profile avatar
  • 9
    Projects
  • 29.7K
    Downloads

More from _ForgeUser7314939View all

  • BanStuff project image

    BanStuff

    • 884
    • Bukkit Plugins

    Allows admins to ban blocks and items from being placed, used or shot out of a dispenser.

    • 884
    • August 18, 2013
    • Bukkit Plugins
    • +1
  • ServerBlox project image

    ServerBlox

    • 2.0K
    • Bukkit Plugins

    ServerBlox is a general server plugin offering a variety of commands for both the player and the admin.

    • 2.0K
    • December 14, 2012
    • Bukkit Plugins
    • +1
  • EntityCleaner project image

    EntityCleaner

    • 1.7K
    • Bukkit Plugins

    A plugin that can clean a world of any entity you'd like, not just mobs. Someone spams pig eggs? /clean pig!

    • 1.7K
    • November 17, 2012
    • Bukkit Plugins
    • +1
  • ChatUtils project image

    ChatUtils

    • 5.8K
    • Bukkit Plugins

    ChatUtils adds several functions to the chat, including colors, logging and caps blocking.

    • 5.8K
    • September 7, 2012
    • Bukkit Plugins
    • +1
  • BanStuff project image

    BanStuff

    • 884
    • Bukkit Plugins

    Allows admins to ban blocks and items from being placed, used or shot out of a dispenser.

    • 884
    • August 18, 2013
    • Bukkit Plugins
    • +1
  • ServerBlox project image

    ServerBlox

    • 2.0K
    • Bukkit Plugins

    ServerBlox is a general server plugin offering a variety of commands for both the player and the admin.

    • 2.0K
    • December 14, 2012
    • Bukkit Plugins
    • +1
  • EntityCleaner project image

    EntityCleaner

    • 1.7K
    • Bukkit Plugins

    A plugin that can clean a world of any entity you'd like, not just mobs. Someone spams pig eggs? /clean pig!

    • 1.7K
    • November 17, 2012
    • Bukkit Plugins
    • +1
  • ChatUtils project image

    ChatUtils

    • 5.8K
    • Bukkit Plugins

    ChatUtils adds several functions to the chat, including colors, logging and caps blocking.

    • 5.8K
    • September 7, 2012
    • Bukkit Plugins
    • +1