欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“Statistics”的源代码
←
Statistics
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
、
巡查者
您可以查看和复制此页面的源代码。
{{待翻译}} {{待搬运}} [http://dev.bukkit.org/bukkit-plugins/statistics/pages/wiki/permissions/ 1] [http://dev.bukkit.org/bukkit-plugins/statistics/pages/wiki/commands/ 2] {{Bukkit Plugin Infobox |版本=v.1.2.4 |前置插件=无 |兼容服务端版本=CraftBukkit 1.7.2-R0.3<->1.8.1 }} =概览= 你是否在寻找一款高端的插件去探寻你的玩家数据? 看看这个插件吧! 在其他地方也有一些类似的插件, 他们追踪正面的数据, 当然, Statistics 会一步一步深入、完整地历遍来追踪式统计, 可以收集到数量惊人的玩家数据. 命名一个数据点,我们不出意外也可以追踪到其. 这个插件可以被高度地自定义; 你告诉其它应做什么,其便会作甚. ==功能== 服务器统计: *Startup and shutdown times *Current server status *Uptime statistics *Total gameplay *Online players *.... and more! World Statistics: *Distance Travelled *PVP, PVE, natural deaths *Blocks played and broken *Items picked up, dropped, used, eaten, etc. *.... and more! Player Statistics: *Player inventory *Health, hunger, experience *Armour rating *Game mode *Words said, command sent *Login and logout times *Time spent on the server *Distance travelled *Detailed kills and deaths *... and more! Plugin Statistics: *Vault (Money, Groups) *... more coming soon! ==其它== *All Statistics are displayed on an homepage *Statistics can be displayed ingame on an scoreboard *Statistics can be displayed ingame in an Book ==需求== *PHP 5.3.2 or greater **GD2 library **cURL library **fsockopen *MySQL 5.5 or greater **InnoDB support **remote connections allowed =安装= Before you begin the installation process, you need to have full access to a MySQL database. It can be an existing database, or you can create a new one; the later is preferable, but not required. Additionally, you have to have a web server to host the YASP portal. #Copy the Statistics.jar to the /plugins/ directory of your Minecraft server. Restart the server. The plugin will complain about the lack of connection to the database - this is normal and expected. #Open /plugins/Statistics/config.yml and fill in the necessary MySQL database details. Restart or reload the server again. #The plugin will complete the initial set up of the database tables. You will see the patch notification - please, be patient and wait until the plugin says that the database is up to date. #The plugin installation is complete. #Copy the contents of the web archive to the desired directory on your web server. For example, /home/public_html/stats. #Make the cache and include/config dirs writable. (chmod 777) #Proceed to the URL associated with that directory and follow the instructions on screen. #Portal installation is complete. =FAQ= Q: The plugin cannot connect to the database, even though I have filled out all the appropriate details! A: Make sure that the database is capable of accepting incoming (remote) connections, and the user has all the appropriate permissions. Additionally, ensure that the configuration syntax is correct. Q: The portal takes ages to load one page. Over 20 secs! Even I got only 10 players tracked. A: Make sure you set the caching time for the player skins to an high value. This will speed up the page load! Q: I want to update from last recommended build to the newest approved version. A: Download the newest version, delete the installation folder and the install.php file and override all other files. Q: The portal shows only the standard faces instead of the player skins. A: Make sure the cache/skins folder is writable by the portal and check if allow_url_fopen is enabled. Q: How to set up mutli portal? 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. ... to be continued =配置= 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: <source lang="java">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</source> 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). [[Category:信息]][[Category:网页]]
本页使用的模板:
模板:ArticleCategory
(
查看源代码
)
模板:Bukkit Plugin Infobox
(
查看源代码
)
模板:Plugin Infobox
(
查看源代码
)
模板:信息表
(
查看源代码
)
模板:信息表/列表
(
查看源代码
)
返回
Statistics
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft纪念论坛
Minecraft百度贴吧
虚无世界Wiki