接口


不和谐嵌入

安装
- 上传插件到服务器
- 在创建的配置中oxide/config/RustAppLite.json,指定要向其接收报告的Discord Webhook通道
- 重新加载插件o.reload RustAppLite
配置
设置和选项可以在RustAppLite文件下的config目录。建议使用编辑器和验证程序,以避免格式问题和语法错误。
代码:
{
"[UI] Chat commands": [
"report"
],
"[UI] Report reasons": [
"Cheat",
"Abusive",
"Spam"
],
"[UI] Cooldown between reports (seconds)": 300,
"[UI] Auto-parse reports from F7 (ingame reports)": true,
"[Discord] Webhook to send reports": "https://discord.com/api/webhooks/...",
"[Discord-Translations] Nickname field": "Nickname",
"[Discord-Translations] Reason field": "Reason",
"[Discord-Translations] Comment field": "Comment",
"[Discord-Translations] Report sent text": "Report sent"
}