• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

m0r13/mclogalyzer: Minecraft Server Log Analyzer

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

m0r13/mclogalyzer

开源软件地址(OpenSource Url):

https://github.com/m0r13/mclogalyzer

开源编程语言(OpenSource Language):

Python 64.2%

开源软件介绍(OpenSource Introduction):

MCLogalyzer

This is a small Python 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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap