LoopCommands
描述
LoopCommands 是一款专为 SammyT291 创建的插件,允许服务器管理员在设定的延迟后循环执行近乎无限数量的特定命令。要使用此插件,你需要在 config.yml 中添加以下几行内容。
loops:
ANYTHING_1:
command: "say The Command"time: 1D
- "ANYTHING_1" 是循环任务的名称,可以是任意字符串,主要用于标识该命令的作用。
- command 是要执行的命令。
- time 是两次执行之间的延迟时间。支持小数。使用 D 表示天,H 表示小时,M 表示分钟。
功能
- 服务器管理员可以循环执行命令,并且可以设置任意数量的命令。
命令
- /LoopCommandReload:如果你更新了 /command 文件夹(例如添加了新的 .txt 文件),此命令用于重新加载插件本身。(需要权限 "Loop.canReload")
依赖与兼容性
无
安装方法
- 将此插件放入你的 plugins 文件夹中。
- 重启服务器。
- 创建文本文件,文件名即为命令名称,第一行为命令,第二行为秒数(注意:确保文本文件至少有两行)。
更新日志
1.3:
- 修复了一些小错误。
- 添加了调试控制功能。你现在可以设置为不显示调试信息。
1.2:
- 修复了初始化错误。
1.1:
- 首次发布。
待办事项
我将继续根据实际需求对此插件进行扩展。如果你有添加功能的想法,请在评论区留言,我会考虑将其加入。
LoopCommands
Description
LoopCommands is a plugin that was created for SammyT291, which lets server owners loop an near infinite amount specific commands after a delay of however long they want. To use this plugin, you would need to add the next few lines in the config.yml.
loops:
ANYTHING_1:
command: "say The Command"time: 1D
- "ANYTHING_1" is the name of the repeat. It can be anything. This just helps identify what the commands does
- command is the command that will be sent
- time is the delay between repeats. Demicals are accepted. Use D to specify the time in days, H for hours, and M for minutes
Features
- Server owns can loop commands, and have as many commands as they want.
Commands
- /LoopCommandReload : reloads just the plugin itself if you update the /command folder (e.g. add a new .txt file) (Must have permission "Loop.canReload" )
Dependencies and Compatibility
none
How to Install
- Drop this plugin into you plugins folder
- Restart your server
- Create the Text files with the name of the command on one line, and the time in seconds on the other (NOTE: make sure the text files have at least two lines)
ChangeLog
1.3:
- Fixed some minor bugs
- Added debug control. You can now set it so there will be no debug messages.
1.2:
- Fixed initialization errors
1.1:
- Just released
To-Do
I will add on to this plugin whatever seems needed. If you have an idea for what I could add, post in the comments and I may add it.
下载 LoopCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LoopCommands
下载 LoopCommands
下载 LoopCommands
下载 LoopCommands
下载 LoopCommands
下载 LoopCommands
更新代码。修复了更新器版本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧