• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Statistics”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
FAQ
FAQ
第77行: 第77行:
 
<p></p>
 
<p></p>
 
<p>Q: 网站需要一定时间去加载页面. 超过了20秒! 尽管我只有10个玩家.</p>
 
<p>Q: 网站需要一定时间去加载页面. 超过了20秒! 尽管我只有10个玩家.</p>
<p>A: Make sure you set the caching time for the player skins to an high value. This will speed up the page load!</p>
+
<p>A: 确保你把玩家皮肤缓存设定为一个较高的值. 这将会提高页面加载速度!</p>
 
<p></p>
 
<p></p>
<p>Q: I want to update from last recommended build to the newest approved version.</p>
+
<p>Q: 我想要升级到更新版本的插件.</p>
<p>A: Download the newest version, delete the installation folder and the install.php file and override all other files.</p>
+
<p>A: 下载最新版本插件, 删除安装文件夹还有install.php文件并且覆盖其他文件.</p>
 
<p></p>
 
<p></p>
<p>Q: The portal shows only the standard faces instead of the player skins.</p>
+
<p>Q: 门户网站只显示了玩家的默认皮肤[就是steve啦].</p>
<p>A: Make sure the cache/skins folder is writable by the portal and check if allow_url_fopen is enabled.</p>
+
<p>A: 确保 cache/skins 文件夹可写并检查allow_url_fopen是否启用.</p>
 
<p></p>
 
<p></p>
<p>Q: How to set up mutli portal?</p>
+
<p>Q: 如何制作好多个门户网站?</p>
 
<p>A: First of all you need seperate database for each server/plugin. Or at least use different prefixes for each server you wanna track. If this is done and the database are initialized you have to install ONE portal like you would do it with only one server. After that go to the settings menu of the portal at go to the "Multi Portal" Section. Here you can enter informations for the other servers/databases. If there are some entries you will notice a new box on the portal main page.</p>
 
<p>A: First of all you need seperate database for each server/plugin. Or at least use different prefixes for each server you wanna track. If this is done and the database are initialized you have to install ONE portal like you would do it with only one server. After that go to the settings menu of the portal at go to the "Multi Portal" Section. Here you can enter informations for the other servers/databases. If there are some entries you will notice a new box on the portal main page.</p>
 
<p></p>
 
<p></p>
<p>... to be continued</p>
+
<p>... 继续吧</p>
  
 
=配置=
 
=配置=

2015年8月8日 (六) 22:39的版本

Icon-info.png
本页面已存在其他语言的内容,请协助翻译为本地化的中文。
  • 点击此处开始翻译。
  • 如本模板出现在原文存档页面,请注意更新主页面后,仍需要去除此处该模板。
  • 如当前页面已经没有需要翻译的内容,请删去待翻译模板。
  • 有标题的大篇幅文章,如果短时间内无法全部翻译,请先把所有的标题翻译出来,以便之后的贡献者选择与翻译章节内容。
Icon-info.png
已检索到其他语言的内容,请协助搬运外文内容至本页面,并翻译为本地化的中文。

点击此处开始搬运。(搬运完毕后请移除本模板并添加“待翻译”模板)

1 2

Statistics
外文名Statistics
插件类型Spigot / CraftBukkit
最新版本v.1.2.4
兼容服务端CraftBukkit 1.7.2-R0.3<->1.8.1
前置插件
源地址http://dev.bukkit.org/bukkit-plugins/Statistics

概览

你是否在寻找一款高端的插件去探寻你的玩家数据? 看看这个插件吧! 在其他地方也有一些类似的插件, 他们追踪正面的数据, 当然, Statistics 会一步一步深入、完整地历遍来实现追踪式统计, TA可以收集到数量惊人的玩家数据. 命名一个数据点,我们不出意外也可以追踪到其. 这个插件可以被高度地自定义; 你告诉其它应做什么,其便会作甚.

功能

服务器统计:

  • 定时启动与关闭
  • 即时服务器状态
  • 正常运行时间统计
  • 总游戏时间
  • 在线玩家
  • .... 以及更多!

世界统计:

  • 玩家在这个世界运动距离(包括矿车,船,高空落下)
  • PVP(被玩家杀死), PVE(被怪物杀死), 自然死亡
  • 方块被放置或被破坏
  • 拾起物品, 掉落物品, 使用物品, 吃掉物品, etc.
  • .... 以及更多!

玩家统计:

  • 玩家背包
  • 生命值, 饥饿度, 经验条
  • 武装等级(当玩家穿上盔甲时会增加的那一栏)
  • 游戏模式
  • 在每个世界的发言, 使用的指令
  • 登入与登出的时间
  • 呆在服务器多久时间
  • 玩家运动距离(同上)
  • 击杀与死亡的细节
  • ... 以及更多!

插件统计:

  • Vault (金钱, 用户组)
  • ... 未来将支持更多!

其它

  • 所有统计信息可以被显示在主页上
  • 所有统计可以被作为图片在计分板上显示
  • 所有统计可以被作为图片在书上显示

需求

  • PHP 5.3.2 或更高 (具体搭建请自行解决)
    • GD2 拓展库
    • cURL 拓展库
    • fsockopen (谁跟我解释下...你们确定这不是函数)
  • MySQL 5.5 或更高 (具体搭建请自行解决)
    • InnoDB 支持
    • 允许被远程连接

安装

在你安装本插件前, 你需要MySQL数据库的绝对访问权限. 其可以为一个现有的数据库, 当然你也可以创建一个新的;当然你最好选择后者, 但并不是必需的. 额外的, 你也需要有一个WEB服务器去托管你的门户.

  1. 上传 Statistics.jar 到你服务器的/plugins/ 目录. 然后重启服务器. 插件会报错(数据库未找到)- 这很正常.
  2. 打开 /plugins/Statistics/config.yml 和填上数据库详情. 重启或者重载插件.
  3. 此插件会自动创建和填充表单. 你会看见一个补丁通知 - 请耐心等待, 直到插件设置好数据库.
  4. 插件安装完成.
  5. 将网页文件复制到你的网站服务器下. 举个栗子, /home/public_html/stats.
  6. 做一下高速缓存然后确保目录为可读可写. (chmod 777)(在linux下权限设置.某些时候你会需要用到sudo.)(则命令为sudo chmod 777)
  7. 进入相应URL然后跟随指示完成环境搭建.(不会译.帮忙)
  8. 搭建完成.

FAQ

Q: 尽管我把细节都填入完成了, 插件还是无法连接数据库!

A: 确保数据库允许接收远端控制, 连接用用户拥有所有权限. 还有,确保配置文件语法正确.

Q: 网站需要一定时间去加载页面. 超过了20秒! 尽管我只有10个玩家.

A: 确保你把玩家皮肤缓存设定为一个较高的值. 这将会提高页面加载速度!

Q: 我想要升级到更新版本的插件.

A: 下载最新版本插件, 删除安装文件夹还有install.php文件并且覆盖其他文件.

Q: 门户网站只显示了玩家的默认皮肤[就是steve啦].

A: 确保 cache/skins 文件夹可写并检查allow_url_fopen是否启用.

Q: 如何制作好多个门户网站?

A: First of all you need seperate database for each server/plugin. Or at least use different prefixes for each server you wanna track. If this is done and the database are initialized you have to install ONE portal like you would do it with only one server. After that go to the settings menu of the portal at go to the "Multi Portal" Section. Here you can enter informations for the other servers/databases. If there are some entries you will notice a new box on the portal main page.

... 继续吧

配置

The plugin configuration is generated automatically on the first startup of the plugin. After you fill out the appropriate details, it should look similar to this:

debug: false             #Enables or disables the debug mode
log-prefix: 'Stats'      #The log message prefix. You don't need to change this.
database:                #MySQL server settings
  host: 'localhost'      #MySQL server address
  port: 3308             #MySQL server port
  name: 'pstats'
  prefix: 'stats_'       #The prefix of the stats tables. You only need to changes this if you are using the multi server setup
  user: 'user'           #MySQL username
  pass: 'qwerty'         #MySQL password
  reconnect_interval: 5  #The time in seconds the plugin waits between reconnect tries if the connection to the database is lost

Do not put the quotation marks around the port number and the boolean values.

高级配置

To access the configuration page click on the Admin link on the bottom right end of your stats homepage or open yourstatspage?page=admin in your web browser.

Now log in with your E-Mail and your password (You have set those during the installation process).