hCore 是一个面向 Spigot 开发者的简化、多功能工具库。它提供了数十种开箱即用的功能,代码完全开源,并支持从 1.8 到 1.20.x 的所有 Minecraft 版本。
hCore 包含以下功能模块,旨在简化插件开发流程:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.hakan-krgn.hCore</groupId>
<artifactId>hCore-bukkit</artifactId>
<version>0.7.2.0</version>
</dependency>
<dependency>
<groupId>com.github.hakan-krgn.hCore</groupId>
<artifactId>hCore-bungee</artifactId>
<version>0.7.2.0</version>
</dependency>在 build.gradle 中添加以下仓库和依赖:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.hakan-krgn.hCore:hCore-bukkit:0.7.2.0'
annotationProcessor 'com.github.hakan-krgn.hCore:hCore-bukkit:0.7.2.0'
implementation 'com.github.hakan-krgn.hCore:hCore-bungee:0.7.2.0'
annotationProcessor 'com.github.hakan-krgn.hCore:hCore-bungee:0.7.2.0'
}hCore 是一款功能丰富的 Minecraft 服务器核心插件,旨在为服务器管理员提供一系列强大的工具,用于管理玩家、物品、世界、经济等各个方面。它集成了多种实用功能,帮助简化日常管理任务并增强游戏体验。
hCore 提供了广泛的管理和实用功能,主要包括:
hCore 拥有大量命令,主要命令为 /hcore 或简写 /hc。以下是一些常用命令示例:
/hcore - 显示插件信息。/hcore help - 显示详细的帮助页面。/hcore check <玩家名> - 检查玩家的游戏状态(生命值、饥饿值、位置等)。/hcore inventory see <玩家名> - 查看并编辑玩家的背包。/hcore enderchest see <玩家名> - 查看并编辑玩家的末影箱。/hcore ban <玩家名> [原因] - 封禁一名玩家。/hcore tempban <玩家名> <时长> [原因] - 临时封禁一名玩家(时长示例:1d2h30m)。/hcore banlist - 查看封禁列表。/hcore history chat <玩家名> - 查看玩家的聊天历史。/hcore tp <玩家名> - 传送到玩家身边。/hcore tphere <玩家名> - 将玩家召唤到自己身边。/hcore give <物品ID/名称> [数量] [玩家名] - 生成物品。若不指定玩家,则给予自己。/hcore repair hand - 修复手中的物品。/hcore repair all - 修复背包中所有物品。/hcore exp give <数量> <玩家名> - 给予玩家经验值。/hcore exp set <数量> <玩家名> - 设置玩家的经验等级。/hcore time set <day/night/数值> [世界名] - 设置时间。/hcore weather set <sun/rain/thunder> [世界名] - 设置天气。/hcore maintenance <on/off> - 开启或关闭维护模式。/hcore tps - 查看服务器 TPS。/hcore clearentities <实体类型> [世界名] - 清除实体(如 item, arrow, all)。/hcore money give <数量> <玩家名> - 给予玩家金钱。/hcore money set <数量> <玩家名> - 设置玩家金钱。/hcore pay <玩家名> <数量> - 向其他玩家支付金钱。hCore 的权限基于其命令结构,主要格式为 hcore.command.<子命令>。例如:
hcore.command.give - 允许使用 /hcore give 命令。hcore.command.ban - 允许使用封禁命令。hcore.command.tp - 允许使用传送命令。hcore.command.maintenance - 允许切换维护模式。hcore.command.* - 授予所有 hCore 命令的权限(管理员推荐)。您可以在权限管理插件(如 LuckPerms)中将这些权限分配给特定的组或玩家。
hCore.jar 文件。hCore.jar 文件放入服务器的 plugins 文件夹中。/hcore money),必须安装 Vault 及一个兼容的经济插件(如 EssentialsX Econ、CMI、或单独的经济插件)。/hcore money 命令测试。plugins/hCore 文件夹中找到并编辑 config.yml 文件。messages_en.yml)来自定义消息。plugins/hCore/data 目录中。定期备份整个 plugins/hCore 文件夹即可。注意:本插件功能强大,请谨慎使用管理员命令,尤其是在生产服务器上。建议先在测试环境中熟悉各项功能。
友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:2,615,580 | 历史访问人次:3,171,574
今日访问人数:36,683 | 今日访问人次:41,195
昨日访问人数:24,332 | 昨日访问人次:29,698
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6