服务器统计
想要展示你发布服务器的网站(如 PMC 或 Minestatus)上的统计数据吗?现在,使用 Server Stats 插件,你可以实现上图所示的效果!将以下内容:
71 次浏览,今日 14 次
15 条评论
10 个收藏
转换为:

你只需要提供发布页面的 URL!该插件的工作原理是从 config.yml 中获取 URL,并向这些 URL 发送请求以获取其 HTML 内容。随后,插件将 HTML 转换为字符串(即文本行),并提取出我们需要的服务器统计数据部分。目前仅支持 PMC (Planetminecraft.com) 和 Minestatus (Minestatus.com) 的部分功能。我正在开发对其他网站的支持,它们即将推出。请使用此插件向其他玩家展示你的服务器统计数据。
示例服务器
如果你想查看此插件的实际效果,可以连接至示例服务器并试用相关命令。
需要示例服务器名额!请联系我!仅剩 1 个可用槽位!
本插件支持的网站(当前版本)
PMC
Minestatus
Minecraft-mp
正在开发中的其他网站?
Minestatus
MCSL
命令
Server Stats 的基础命令会显示其他子命令
基础命令: /serverstats
/serverstats pmc
/serverstats minestatus
/serverstats mcsl
/serverstats minecraft-mp
/serverstats all
安装方法
1. 下载 jar 文件
2. 将 jar 文件拖放到你的 plugins 文件夹中 3. 进入 plugins 文件夹内的 server stats 文件夹,打开 config.yml
4. 粘贴你想要展示的页面的发布 URL
5. 完成!
Server Stats
Want to display statistics from websites where you posted your server like PMC or minestatus? now with server stats you are able to(example in picture above)! turn this:
71 Views, 14 today
15 Comments
10 Favorites
into this:

the only thing that you need is the URL of the page where you posted it! what this plugin does is take the URLS's from the config.yml and send a request to the URL asking for its HTML. the plugin then turn the HTML into a String(a string is a line of text). it then cuts out the parts we don't need to get the statistics of the server. currently only PMC (Planetminecraft.com) and a bit of Minestatus (Minestatus.com) is working. i am currently working on others but they will be out soon. Use this plugin to show your sever statistics to other players.
Sample Server
if you would like to see this plugin in action you may connect to the sample server and try out the command.
SAMPLE SERVER NEEDED! CONTACT ME! ONLY 1 SLOT IS AVAILABLE!
This Plugin Supports the Following Websites(current version)
PMC
Minestatus
Minecraft-mp
What Other Websites are Being Worked On?
Minestatus
MCSL
Commands
the base command of Server Stats shows the other commands
Base: /serverstats
/serverstats pmc
/serverstats minestatus
/serverstats mcsl
/serverstats minecraft-mp
/serverstats all
Installation
1. download the jar
2. drag and drop the jar into your plugins folder 3. go into the server stats folder within the plugins folder and open the config.yml
4. paste in your post URL for the pages you want
5. your done!
下载 Website Server Statistics
下载 Website Server Statistics
下载 Website Server Statistics
下载 Website Server Statistics
下载 Website Server Statistics
下载 Website Server Statistics
下载 Website Server Statistics
下载 Website Server Statistics
下载 Website Server Statistics
下载 Website Server Statistics
v1.5:
-获取统计数据的更高效方式。(统计数据现在基于计时器。每次计时器到期时,统计数据将被推送到插件中并保留至被调用时。你可以在配置文件中设置计时器时长)
v1.4:
-修复了 minecraft-mp 统计数据的最终问题。minecraft-mp 现在应该可以正常工作
v1.3:
-修复了配置文件与 minecraft-mp 统计数据冲突的问题
编辑:登录时的统计数据现已生效
v1.2:
-PMC 重新可用
-支持 Minecraft-mp.com
v1.1.1:
-支持 minestatus!
-为 minestatus 添加了标题
-为 minestatus 添加了运行时间
v1.1.1-B2:
-添加了作者信息
-标题功能恢复正常
-添加了“截至当前”字段
-服务器评分功能恢复正常
-添加了服务器投票数
v1.1.1-B1:
-由于插件对 PMC 服务器造成负载,现从 PMC 的编码字符串中获取统计数据。
v1.1:
-权限系统现已可用
-在配置文件中为 MCSL 和 Minestatus 创建了槽位 *这并不意味着已添加 MINESTATUS 和 MCSL!*
-可开启或关闭 minestatus、mcsl 或 pmc
-新增广播服务器统计信息的命令
-PMC 统计数据命令现在会在 PMC 帖子中显示服务器标题
v1.0:
-新增对 PMC 的支持
-添加了针对以下异常的捕获:
MalformedURLException
ConnectionException
IOException
-请删除你的配置文件,让插件重新生成以修复配置问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧