通过 tcmds,你可以将任何类型的 craftbukkit 或插件命令链接到按钮/拉杆/压力板上。 它的使用非常简单,并且具有持久性,因此你可以在重启服务器时不会丢失任何内容。
功能
- 简单的方式将命令链接到触发器
- 理论上几乎适用于所有命令
- 使用持久化保存所有触发器
- 拥有权限("triggercmds")
- 批量触发器,可以连续执行多个命令。
教程
创建触发器
- /tcmds edit TriggerName - 打开/创建触发器编辑界面
- /tcmds set $me:/tp $ply $me - 使按下按钮的玩家传送到你所在的位置
- 左键点击开关 - 注册开关并关闭编辑界面
创建批量触发器
现在有两种创建批量触发器的方法:一次性完成或逐个命令添加。
一次性完成
- /tcmds edit TriggerName - 打开/创建触发器编辑界面
- /tcmds set $ply:/spawn & $me:/time day - 使按下按钮的玩家传送到出生点 AND 改变时间。这里的 & 周围的空格非常重要。你可以列出尽可能多的命令。
- 左键点击开关 - 注册开关并关闭编辑界面
逐个命令添加
- /tcmds edit TriggerName - 打开/创建触发器编辑界面
- /tcmds set $ply:/spawn - 使按下按钮的玩家传送到出生点
- /tcmds add $me:/time day - 在玩家传送后改变时间。
- 左键点击开关 - 注册开关并关闭编辑界面
删除触发器
- /tcmds edit TriggerName - 打开/创建触发器编辑界面
- /tcmds del - 从数据库中删除触发器
删除链接
- /tcmds edit TriggerName - 打开/创建触发器编辑界面
- 右键点击开关 - 删除开关并关闭编辑界面
执行者
- $me: - 命令将由触发器创建者执行(仅在其在线时)
- $ply: - 命令将由按下触发器的玩家执行
- $con: - 命令将由控制台执行
变量
- $me & $ply - 用于你想声明的命令内部
With tcmds you can link any type of craftbukkit or plugin commands to buttons/levers/plates It's simple too use and it has persistence so you can reboot your server without loosing anything
Features
- Simple way to link cmds to triggers
- Works (in theory) with almost any command
- Uses persistence to save all the triggers
- Has permissions ("triggercmds")
- Batch triggers where several commands can be executed in succession.
Tutorial
Make a trigger
- /tcmds edit TriggerName - Opens/creates the trigger edit
- /tcmds set $me:/tp $ply $me - Makes you teleport the player that presses the button to you
- Left Click on the switch - Regs the switch and closes the edit
Make a batch trigger
There are now two ways to create batch triggers. All in one go or one command at a time.
All in one go
- /tcmds edit TriggerName - Opens/creates the trigger edit
- /tcmds set $ply:/spawn & $me:/time day - Makes the player that presses the button teleport to the spawn AND change the time. The spaces around the & are important here. You can list as many commands as you can fit.
- Left Click on the switch - Regs the switch and closes the edit
One command at a time
- /tcmds edit TriggerName - Opens/creates the trigger edit
- /tcmds set $ply:/spawn - Makes the player that presses the button teleport to the spawn
- /tcmds add $me:/time day - Change the time after making the player teleport.
- Left Click on the switch - Regs the switch and closes the edit
Delete a trigger
- /tcmds edit TriggerName - Opens/creates the trigger edit
- /tcmds del - Deletes the trigger from the db
Delete a Link
- /tcmds edit TriggerName - Opens/creates the trigger edit
- Right Click on the switch - Deletes the switch and closes the edit
Executors
- $me: - The cmd will be executed by the trigger maker (only if is online)
- $ply: - The cmd will be executed by the player that pressed the trigger
- $con: - The cmd will be executed by the console
Variables
- $me & $ply - Used inside the command you want to declare
版本游戏版本平台发布时间本站下载
正式版
v1.4.2
1.5.2 13 年前 ·
0
1.5.2
下载 TriggerCmds
测试版
v1.4.1
14 年前 ·
0
下载 TriggerCmds
正式版
v1.4.0-jre7
14 年前 ·
0
下载 TriggerCmds
正式版
v1.3.2-jre6
14 年前 ·
0
下载 TriggerCmds
正式版
v1.3.2
14 年前 ·
0
下载 TriggerCmds
正式版
v1.3.1
14 年前 ·
0
下载 TriggerCmds
开发版
v1.3.0
14 年前 ·
0
下载 TriggerCmds
正式版
v1.2
14 年前 ·
0
下载 TriggerCmds
正式版
v1.1
14 年前 ·
0
下载 TriggerCmds
正式版
v1.0
14 年前 ·
0
下载 TriggerCmds
v1.4.2
正式版
2013-06-01
版本 1.4.2
- 添加了木质按钮支持
- 与最新版本的 bukkit 兼容。
版本 1.4.1
- 进行了一些后端工作,为新功能做准备
- 当触发器被破坏时,管理员和触发器所有者将删除命令链接
- 触发器受到保护,防止被破坏
版本 1.4.0-jre7
- 添加了新的执行器。现在可以通过控制台使用 $con 执行器执行命令
- 添加了 add 命令,允许在已设置的命令之上添加另一个命令,从而将其转变为一批命令。
- 添加了 set 命令 - 用于替换 "cmd" 命令。
版本 1.3.2-jre6
- 兼容并测试了 JRE6
版本 1.3.2
- 添加了批处理命令/脚本
版本 1.3.1
- 所有来自 1.2 的功能都已恢复。
版本 1.3.0
- 新开发者加入
- 新的事件系统
- 大量内容损坏
版本 1.2
- 添加了变量 $me 和 $ply
- 重新编码了 reg 的一些部分
- 移除了冗余的命令
- /tcmds stop 现在在左键或右键点击时自动生效
- 添加了压力板
- Reg Trigger Link - 左键点击
- Del Trigger Link - 右键点击
版本 1.1
- 修复了 yml 错误(对此表示抱歉)
- 添加了删除功能(发布时切勿匆忙)
版本 1.0
- 首次发布
无法控制新功能。
创意模式用户无法创建触发器。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
插件
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
插件
WorldEdit
me4502
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
前置管理
10
插件
LobbyAPI
Zombie_Striker_Dev
创建用户友好的菜单以前往不同的世界
管理交通
9
插件
tkChat
tkkr
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
管理社交
9
插件
Yeth's TPA
yethdev
一个高度兼容、功能完善且稳定的 TPA 模组
社交交通
9
评论 0
登录后参与评分
还没有评论,来抢沙发吧