Velocity Commands
Velocity Commands 是一款功能强大且完全可自定义的 Velocity 代理命令系统。
它允许服务器管理员使用简单的配置文件创建自己的命令——无需编写代码。
在你的整个网络中创建自定义聊天命令、自动化操作、广播消息、运行控制台命令,以及更多功能。
文档:
Discord:
✨ 特性
完全自定义命令
使用简单的 commands.yml 配置文件创建你自己的命令。
多种命令类型
Velocity Commands 支持几种不同的命令行为:
message_self — 向执行命令的玩家发送消息
message_other_player — 向其他玩家发送消息
broadcast — 向整个代理广播消息
console_command — 从控制台执行命令
在此处查找有关命令类型的信息:
? 热重载
添加、删除或修改命令,无需重启服务器。
? 自定义命令参数
创建带有参数的动态命令,例如:
/msg <player> <message>
/punch <player>
支持的参数类型包括:
player(玩家)
string(字符串)
word(单词)
greedy_string(贪婪字符串)
在此处查找有关自定义参数的更多信息:
? 聊天格式化
Velocity Commands 支持:
- MiniMessage 格式化
- 传统颜色代码(
&6、&a 等)
? 自动链接检测
消息中的链接会自动转换为可点击的聊天链接。
? 命令音效
在执行命令时播放音效,为玩家提供反馈。
⚡ 随处执行命令
命令可以以下列身份执行:
- 作为 玩家
- 作为 服务器控制台
- 在 Velocity 代理上
- 在 后端服务器(Spigot、Paper、Purpur 等)上
? 权限支持
通过权限限制命令,确保只有特定玩家才能使用。
你还可以定义 查看权限,以便只有特定玩家能接收广播消息。
? 内置占位符
Velocity Commands 包含几个内置占位符,例如:
%player_name%
%player_ping%
%server_online_players%
- 以及更多!
这些占位符使你能够创建动态和交互式命令。
在此处查找所有可用的基础占位符:
? 文档
完整文档请见此处:
? 支持
如果你需要帮助、有建议或想报告错误,请加入 Discord:
? 示例
示例命令配置:
punch:
type: "broadcast"
aliases: ["broadcast"]
command: /punch [otherPlayerName:player] [reason:greedy_string]
message: "<dark_gray>[<aqua>PUNCHED</aqua><dark_gray>] <white>%player_name% <gray>has punched <white>%otherPlayerName% <gray>for the reason of <white>%reason%"
permission: "velocitycommands.punch"
view_permission: "velocitycommands.view"
enabled: true
这将允许玩家运行:
/punch <player> <reason>
❤️ 为什么选择 Velocity Commands?
Velocity Commands 让你无需编写任何代码即可轻松为网络构建强大的命令。
非常适合用于:
- 网络工具
- 管理工具
- 角色扮演命令
- 公告
- 自动化
- 提升服务器生活质量的功能
Velocity Commands
Velocity Commands is a powerful and fully customizable command system for the Velocity proxy.
It allows server owners to create their own commands using a simple configuration file — no coding required.
Create custom chat commands, automate actions, broadcast messages, run console commands, and much more across your entire network.
Documentation:
Discord:
✨ Features
Fully Custom Commands
Create your own commands using a simple commands.yml configuration file.
Multiple Command Types
Velocity Commands supports several command behaviours:
message_self — send a message to the player executing the command
message_other_player — send a message to another player
broadcast — broadcast a message to the entire proxy
console_command — execute a command from the console
Find information on command types here:
? Hot Reloading
Add, remove, or modify commands without restarting your server.
? Custom Command Parameters
Create dynamic commands with parameters such as:
/msg <player> <message>
/punch <player>
Supported parameter types include:
player
string
word
greedy_string
Find more information on custom parameters here:
? Chat Formatting
Velocity Commands supports:
- MiniMessage formatting
- Legacy colour codes (
&6, &a, etc)
? Automatic Link Detection
Links in messages are automatically converted into clickable chat links.
? Command Sounds
Play sounds when commands are executed to provide feedback to players.
⚡ Run Commands Anywhere
Commands can execute:
- as the player
- as the server console
- on the Velocity proxy
- on backend servers (Spigot, Paper, Purpur, etc)
? Permission Support
Restrict commands with permissions so only certain players can use them.
You can also define view permissions so only certain players receive broadcasted messages.
? Built-in Placeholders
Velocity Commands includes several built-in placeholders, such as:
%player_name%
%player_ping%
%server_online_players%
- and more!
These allow you to create dynamic and interactive commands.
Find all available base placeholders here:
? Documentation
Full documentation can be found here:
? Support
If you need help, have suggestions, or want to report a bug, join the Discord:
? Example
Example command configuration:
punch:
type: "broadcast"
aliases: ["broadcast"]
command: /punch [otherPlayerName:player] [reason:greedy_string]
message: "<dark_gray>[<aqua>PUNCHED</aqua><dark_gray>] <white>%player_name% <gray>has punched <white>%otherPlayerName% <gray>for the reason of <white>%reason%"
permission: "velocitycommands.punch"
view_permission: "velocitycommands.view"
enabled: true
This would allow players to run:
/punch <player> <reason>
❤️ Why Velocity Commands?
Velocity Commands makes it easy to build powerful commands for your network without writing any code.
Perfect for:
- network utilities
- moderation tools
- roleplay commands
- announcements
- automation
- server quality-of-life improvements
评论 0
登录后参与评分
还没有评论,来抢沙发吧