Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VelocityConnectInfo 1.2.0

功能:

  • 获取玩家连接 Velocity 时实际使用的 Virtual Host / 域名
  • 根据域名显示节点介绍
  • 查询玩家 Ping
  • 查询当前后端服务器
  • 玩家在线时长统计
  • 节点在线人数实时统计
  • 特定域名 WARN / KICK 限制
  • 配置热重载
  • 独立语言文件,所有提示文本均可自定义

文件结构

plugins/connectinfo/
├── config.yml          # 节点 / 域名规则 / 统计设置
└── lang/
    └── zh_cn.yml       # 语言文件(玩家可见文本)

语言文件在首次启动时自动从插件内置资源生成。修改 config.yml 中的 language 即可切换语言文件(如 language: "en_us" 会加载 lang/en_us.yml); 若对应文件不存在,插件会以默认语言内容生成,缺失的键位自动回退到内置 zh_cn。

Commands

  • /connectinfo - 查看自己
  • /connectinfo <player> - 查看其他在线玩家
  • /connectinfo nodes - 查看各节点实时在线人数
  • /connectinfo reload - 重载配置

Aliases: /serverinfo, /cinfo

Permissions

  • connectinfo.use
  • connectinfo.other
  • connectinfo.nodes
  • connectinfo.reload
  • connectinfo.alert.domain

Build

mvn clean package

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages