此插件允许用户以非常简单且可靠的方式包装或创建现有命令的别名。
功能特性
- 为命令创建简单别名(例如:将 "/weather sunny" 设为 "/sunny")
- 使一个命令执行多个命令
- 创建自定义变量并传递给别名使用
- 使用预定义的变量之一进行命令自动补全
- 提供 ChatAs、Message、Kick、Kill 等实用函数
- 支持彩色消息
快速菜单
当前版本
此版本应适用于 1.7.2 及之前所有版本,所做的更改请参阅:更新日志。
示例
- 快捷方式
- 在 commands.yml 中添加 "/day = /time set 8000"
现在如果你输入 /day,时间将被设置为 8000
- 缩短支付命令
- 在 commands.yml 中添加 "/pay {TargetPlayer} {Amount} = /money pay {TargetPlayer} {Amount}"
玩家现在只需输入 /pay 名称 金额,而无需输入完整的 /money pay 名称 金额
- 以其他玩家身份说话/执行命令 [仅 OP]
- 在 commands.yml 中添加 "/sayas {TargetPlayer} {$String} = [ChatAs] {TargetPlayer} {$String} "
使用示例:"/sayas KoffiePatje /rules",这将使 KoffiePatje 执行命令 "/rules"
- 规则
- 在 commands.yml 中添加 "/rules = [Message] Don't Grief | [Message] Be Kind | [Message] Say Hi! "
如果玩家输入 /rules,将显示以下内容:
Don't Grief
Be Kind
Say Hi!
示例配置
点击此处... ( 版本 1.0 )
点击此处... ( 版本 1.1 )
预定义变量与函数
这些内容均在配置说明中进行了详细解释:这里...
贡献与功能请求
我欢迎任何形式的贡献!欢迎提出功能请求(非常欢迎!因为我已无计可施),如果你是开发者或 Bug 测试人员并希望提供帮助,请与我联系!
源代码: GitHub
指标统计 (Lite)
此插件使用 Hidendra 开发的 "Metrics" 插件来收集统计数据,收集的信息包括:
- Java 版本
- 操作系统类型、架构和 CPU 核心数。
- Minecraft 服务器的认证模式(在线/离线)
- 服务器位置
- 游戏版本和插件版本
你可以在这里查看结果:CommandEdit 指标统计。
<sub>Command Edit - Patrick le Duc / KoffiePatje</sub>
This plugin allows the user to wrap / create aliases for existing commands in a very simple and reliable way.
Features
- Create simple alias for a command ( example: "/weather sunny" to "/sunny" )
- Make 1 command that runs multiple commands
- Create your own variables to pass to aliases
- Autocomplete commands using one of the predefined variables
- Usefull functions as ChatAs, Message, Kick, Kill
- Coloured Messages
QuickMenu
Current Build
This build should work on all versions before/on 1.7.2, changes made can be found here: changelog.
Examples
- Shortcut
- Add "/day = /time set 8000" to commands.yml
If you use /day now it will set the time to 8000
- Shorten long payment command
- Add "/pay {TargetPlayer} {Amount} = /money pay {TargetPlayer} {Amount}" to commands.yml
Players can now simply type /pay name amount instead of /money pay name amount
- Talk / Execute command as other player [ OP only ]
- Add "/sayas {TargetPlayer} {$String} = [ChatAs] {TargetPlayer} {$String} " to commands.yml
Example use: "/sayas KoffiePatje /rules" this will make KoffiePatje execute command "/rules"
- Rules
- Add "/rules = [Message] Don't Grief | [Message] Be Kind | [Message] Say Hi! " to commands.yml
If the player types /rules this will be displayed:
Don't Grief
Be Kind
Say Hi!
Example Config
click here... ( version 1.0 )
click here... ( version 1.1 )
Predefined variables and Functions
These are all explained in the configuration explanation here...
Contribute and Feature requests
I am open for any kind of contribution ! Feature requests are welcome ( Very Welcome ! ( I'm out of ideas )) and if you are a developper / bug tester wanting to help please contact me !
Source: GitHub
Metrics ( Lite )
This plugin uses Hidendra's plugin "Metrics" to gather stats, this information is collected:
- Java Version
- Type of Operating System, Architecture and CPU Cores.
- Authentication mode of the MC Server ( On/Offline )
- Server Location
- Game version and Plugin version
You can check out the results here: CommandEdit Metrics.
<sub>Command Edit - Patrick le Duc / KoffiePatje</sub>
评论 0
登录后参与评分
还没有评论,来抢沙发吧