Giter VIP home page Giter VIP logo

mclogalyzer's Introduction

MCLogalyzer - python 3 version

Some syntax change to make this script python3 compatible.

This is a small Python3 script to analyze your Minecraft server log file and to generate some nice statistics as HTML-File.

Above you can see an example of MCLogalyzer.

MCLogalyzer is free software and available under the GPL license.

Installation

To run MCLogalyzer you need jinja2 as template engine. You can install it with pip:

pip install jinja2

Then you can install MCLogalyzer with the setup.py script:

python setup.py install 

Now you can run it with mclogalyzer.

Alternatively you can directly run the script mclogalyzer/mclogalyzer.py.

How to use the script

You have to pass the path to the Minecraft server log directory and the path to an output HTML-File to the script:

mclogalyzer server/logs stats.html

Per default the script searches for a template (to generate the output file) in the directory of the mclogalyzer.py script. You can also use your own template file by specifying the option -t template.html or --template=template.html.

You can also skip a part of the log file by specifying a time where the script should start analyzing. To do this use the --since parameter. You have to specify the time in the format year-month-day hour:minute:second, for example --since="2013-05-16 00:00:00". Or, you can simply use --month or --week to generate the report of last month or last week.

You can use the whitelist as a guide using --w whitelist.json. If so, users not included in the whitelist will be removed from final results, and users not present in log file but present in whitelist will be added to the output.

mclogalyzer's People

Contributors

m0r13 avatar edsouthwood avatar pofmagicfingers avatar vikingscientist avatar yodalee avatar rk295 avatar greggubben avatar

Stargazers

Max DeVos avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.