欢迎客人!

注册账号后就可以下载免费插件了.也可以享受折扣了

文件链接损坏请在文件下方留言,不会使用,我们将会及时更新来自备份服务器的新链接。如有其它问题请 提交工单 和我们联系!【加入QQ群:188710777

现在注册 立即登录
  • 网站问题工单提交(无底部颜色)
stopwatch.png.1b2f20e01498b4288a76a10e074f7922.png


可搭配插件实现意想不到的效果:
僵尸部落
幽灵般天空
True PVE
关于定时命令

每天或每周在一天中的特定时间或特定日期执行控制台命令,并提供可选的多条 Discord 消息支持和可配置的服务器时钟偏移。


配置:

{
"Offset": "00:00:00:00.0000000",
"InitCommands": [
"oxide.unload PluginA",
"oxide.unload PluginB"
],
"Timers": [
{
"Time": "17:00:00",
"DayOfWeek": 0,
"Commands": [
"oxide.unload PluginC",
"oxide.unload PluginD"
],
"DiscordMessages": null
},
{
"Time": "6PM",
"DayOfWeek": 6,
"Commands": [
"oxide.unload PluginC",
"oxide.unload PluginD"
],
"DiscordMessages": null
},
{
"Time": "09/29/2022 19:00:00",
"DayOfWeek": null,
"Commands": [
"oxide.unload PluginC",
"oxide.unload PluginD"
],
"DiscordMessages": null
},
{
"Time": "09/30/2022 8PM",
"DayOfWeek": null,
"Commands": [
"oxide.load PluginC",
"oxide.load PluginD"
],
"DiscordMessages": [
{
"webhook": "",
"username": "My Untitled Rust Server",
"avatar_url": "",
"content": "```{0}```"
}
]
}
]
}
偏移量 - 从实时偏移服务器时间的时间量,由 TimeSpan 格式字符串表示。
如果服务器的时钟是 1 天 10 小时 2 分 33 秒和 444.5555 毫秒,请使用“-01:10:02:33.4445555”
如果服务器的时钟比 1 天 10 小时 2 分 33 秒和 444.5555 毫秒晚,请使用“01:10:02:33.4445555”

InitCommands - 服务器启动或加载插件时要执行的命令列表。

定时器
时间 - 由 TImeSpan 格式字符串表示的时间,或由 DateTime 格式字符串表示的日期。
DayOfWeek - 由 DayOfWeek 枚举值表示的星期几,范围为 0(星期日)到 6(星期六)。
如果使用某个值,则计时器将每周运行一次,否则计时器将每天运行。仅供 TimeSpan 格式计时器使用。
命令 - 计时器触发时要执行的命令列表。
DiscordMessages - 计时器触发时要发送的 Discord 消息列表,每个消息都有自己的 Webhook。需要 DiscordMessageAPI
作者
642969490
下载
0
类型
数字产品
许可证期限
无限
价格
9.90 CNY
查看
125
首次发布
最后更新
评分
0.00 星 0 星

来自642969490的更多资源

后退
顶部