该插件增加了冷却时间来供应信号(空投),如果您不希望玩家立即抛出所有信号弹,则该插件非常有用。
如果玩家扔出信号弹(空投),则在冷却结束之前他将无法扔出新的信号弹(空投)。
聊天命令
权限
该插件使用Oxide的权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。
组态
可以SignalCooldown.json在oxide/config目录下的文件中配置此插件的设置和选项。建议使用JSON编辑器或验证站点(例如jsonlint.com),以避免格式问题和语法错误。
本土化
默认消息在SignalCooldown.json目录下的oxide/lang/en文件中。要增加对另一种语言的支持,请创建一个新的语言文件夹(例如de德语)(如果尚未创建),将默认语言文件复制到新文件夹中,然后自定义消息。
如果玩家扔出信号弹(空投),则在冷却结束之前他将无法扔出新的信号弹(空投)。
聊天命令
代码:
/signalreset -重置所有冷却时间
该插件使用Oxide的权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。
代码:
signallimiter.ignore -允许玩家忽略冷却时间
可以SignalCooldown.json在oxide/config目录下的文件中配置此插件的设置和选项。建议使用JSON编辑器或验证站点(例如jsonlint.com),以避免格式问题和语法错误。
代码:
{
"Settings": {
"Auth level admin commands": 1, //Minimum auth level
"Cooldown in seconds": 300,
"Icon for message": 0, //64bit SteamID
"Ignore cooldown permission": "signalcooldown.ignore",
"Refund signal": true
}
}
默认消息在SignalCooldown.json目录下的oxide/lang/en文件中。要增加对另一种语言的支持,请创建一个新的语言文件夹(例如de德语)(如果尚未创建),将默认语言文件复制到新文件夹中,然后自定义消息。
代码:
{
"cooldownActive": "<color=#b7b7b7>Supplysignal cooldown active, wait {0} seconds till you can throw a signal again.",
"cooldownOver": "<color=#b7b7b7>You are able to throw a supplysignal again.",
"noPermission": "<color=#b7b7b7>You don't have the required auth level to run this command.",
"manualReset": "<color=#b7b7b7>All supplysignal cooldowns have been manually reset."
}