KibbleCommands
KibbleCommands 允许你在 Minecraft 服务器或代理上创建自定义命令别名。你可以将简单的快捷方式映射到冗长或复杂的命令,将多个命令链接在一起,设置命令冷却时间,并以控制台或玩家身份运行操作。
原生支持单服务器(Paper/Spigot/Folia/Sponge)和代理网络(Velocity/BungeeCord)。
功能
- 自定义别名: 将冗长的命令转换为简短、易记的快捷方式。
- 命令链: 从单个别名触发器按顺序执行多个命令。
- 随机执行模式: 从列表中随机选择一个命令(非常适合随机奖励、传送或广播)。
- 控制台执行: 强制别名以控制台身份执行,即使是由玩家触发的。
- 代理服务器传输: 使用
server:servername目标在 Velocity 或 BungeeCord 之间连接玩家所在的服务器。 - 冷却支持: 为每个别名设置冷却时间,并支持数据库持久化(SQLite 和 MySQL)。
- 权限锁定: 为每个别名要求特定的权限,或切换全局权限检查。
- 动态标签补全: 自动将新增或更新的命令同步到玩家客户端的建议中,无需重启。
示例配置 (config.yml)
message-prefix: "&8[&bKibbleCommands&8] "
require-use-permission: false
send-action-messages: true
database:
type: "sqlite" # sqlite or mysql
host: "localhost"
port: 3306
database: "kibblecommands"
username: "root"
password: ""
aliases:
lobby:
description: "Send player to lobby server"
permission: "kibblecommands.alias.lobby"
permission-message: "&cYou do not have permission to go to lobby."
cooldown: 5
player-only: true
console-exec: false
random-mode: false
action-message: "&aSending you to the lobby..."
commands:
- "server:lobby"
discord:
description: "Display discord link"
permission: ""
cooldown: 0
commands:
- "tellraw {player} {\"text\":\"Join our Discord: https://discord.gg/example\",\"color\":\"blue\"}"
starterpack:
description: "Give starter kit and message"
permission: "kibblecommands.alias.starterpack"
cooldown: 86400
player-only: true
console-exec: true
commands:
- "give {player} iron_sword 1"
- "give {player} cooked_beef 16"
- "msg {player} Enjoy your starter kit!"
KibbleCommands
KibbleCommands lets you create custom command aliases on your Minecraft server or proxy. You can map simple shortcuts to long or complex commands, chain multiple commands together, set up command cooldowns, and run actions as console or player.
Works natively across single servers (Paper/Spigot/Folia/Sponge) and proxy networks (Velocity/BungeeCord).
Features
- Custom Aliases: Turn long commands into short, easy-to-remember shortcuts.
- Command Chaining: Run multiple commands sequentially from a single alias trigger.
- Random Execution Mode: Pick a random command from a list (great for random rewards, teleports, or broadcasts).
- Console Execution: Force aliases to execute from console even if run by a player.
- Proxy Server Transfers: Connect players between servers on Velocity or BungeeCord using
server:servernametargets. - Cooldown Support: Set per-alias cooldowns with database persistence (SQLite & MySQL).
- Permission Locks: Require specific permissions per alias or toggle global permission checks.
- Dynamic Tab Completion: Automatically syncs new or updated commands to player client suggestions without restarting.
Example Configuration (config.yml)
message-prefix: "&8[&bKibbleCommands&8] "
require-use-permission: false
send-action-messages: true
database:
type: "sqlite" # sqlite or mysql
host: "localhost"
port: 3306
database: "kibblecommands"
username: "root"
password: ""
aliases:
lobby:
description: "Send player to lobby server"
permission: "kibblecommands.alias.lobby"
permission-message: "&cYou do not have permission to go to lobby."
cooldown: 5
player-only: true
console-exec: false
random-mode: false
action-message: "&aSending you to the lobby..."
commands:
- "server:lobby"
discord:
description: "Display discord link"
permission: ""
cooldown: 0
commands:
- "tellraw {player} {\"text\":\"Join our Discord: https://discord.gg/example\",\"color\":\"blue\"}"
starterpack:
description: "Give starter kit and message"
permission: "kibblecommands.alias.starterpack"
cooldown: 86400
player-only: true
console-exec: true
commands:
- "give {player} iron_sword 1"
- "give {player} cooked_beef 16"
- "msg {player} Enjoy your starter kit!"
下载 KibbleCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 KibbleCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 KibbleCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 KibbleCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 KibbleCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 KibbleCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 KibbleCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
v2.1.0 更新内容(Fabric 支持)
- Fabric 专用服务器支持:KibbleCommands 现已作为 Minecraft 1.20+ 的服务端 Fabric 模组提供。
- Fabric API 依赖:基于 Fabric API 构建,用于命令分发和连接生命周期管理。
- Brigadier 命令注册:动态将配置的别名直接绑定到服务器命令树中。
- 玩家与服务器生命周期钩子:在玩家加入/离开时进行连接跟踪,以实现 SQLite 和 MySQL 冷却时间的持久化存储。
- 管理员命令:新增
/kc和/kibblecommands(支持reload、list、info、help)对 Fabric 的支持。 - 二进制安全性:使用 ProGuard 混淆并优化发布版二进制文件。
运行要求
- Java 21 或更高版本
- Minecraft 1.20 至 1.21.x+
- Fabric Loader 0.15.0 及以上版本
- Fabric API(服务端必需)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧