CS2-呼叫管理员 服务器管理 数据统计

xiewangzhenyan 一级用户组 4月前 366

CS2 呼叫管理员

CS2 插件,用于报告玩家的游戏并向 discord 发送 webhook 消息。 管理员可以通过将报表标记为已处理来处理报表。 所有报告都存储在数据库中(optional)(optional)

安装

  1. 安装 CounterStrike Sharp  Metamod:Source;
  2. 下载 CallAdmin;
  3. 解压缩存档并将其上传到csgo/addons/counterstrikesharp/plugins;

配置

配置是自动创建的。(路径:csgo/addons/counterstrikesharp/configs/plugins/CallAdmin

{
  "Version": 7,
  "ServerIpWithPort": "",
  "CooldownRefreshCommandSeconds": 30,
  "Reasons": "Hack;Toxic;Camping;Your Custom Reason{CUSTOMREASON}",
  "WebHookUrl": "",
  "Debug": true,
  "Database": {
    "Host": "",
    "Port": 3306,
    "User": "",
    "Password": "",
    "Name": "",
    "Prefix": "call_admin"
  },
  "Commands": {
    "ReportPrefix": "report;calladmin",
    "ReportPermission": "",
    "ReportHandledEnabled": true,
    "ReportHandledPrefix": "report_handled;handled",
    "ReportHandledPermission": "@css/ban"
  },
  "Embed": {
    "ColorReport": 16711680,
    "ColorReportHandled": 65280
  },
  "ConfigVersion": 7
}
 

命令

  • report - 报告玩家;(需要 #css/admin组才能使用)
  • report_handled [标识符] - 将报告标记为已处理;(使用时需要 @css/generic;@css/ban 标志)

注意

要添加更多命令的名称,只需用“;” -> report;calladmin

翻译

你可以在 counterstrikesharp 的 core.json 上选择翻译或键入 !lang lang(路径:csgo/addons/counterstrikesharp/plugins/CallAdmin/lang

{
  "Prefix": "[{green}CallAdmin{default}]",
  "MissingCommandPermission": "{red}You don't have permission to use this command!",
  "NoPlayersAvailable": "There are no players available",
  "InCoolDown": "You are on a cooldown...wait {0} seconds and try again",
  "ReportSent": "Your report has been sent to the admins!",
  "WebhookError": "There was an error sending the webhook",
  "InsertIntoDatabaseError": "There was an error while inserting into database!",
  "ReportNotFound": "I couldn't find this report",
  "MarkedAsHandledButNotInDatabase": "This report has been marked as handled on Discord but not in database!",
  "ReportMarkedAsHandled": "This report has been marked as {green}handled!",
  "CustomReason": "Type the reason for the report",
  "Embed.Title": "Report",
  "Embed.Player": "Player",
  "Embed.PlayerName": "Name",
  "Embed.PlayerSteamid": "SteamID",
  "Embed.Suspect": "Suspect",
  "Embed.SuspectName": "Name",
  "Embed.SuspectSteamid": "SteamID",
  "Embed.Admin": "Admin",
  "Embed.AdminName": "Name",
  "Embed.AdminSteamid": "SteamID",
  "Embed.Reason": "Reason",
  "Embed.Ip": "Ip",
  "Embed.Map": "Map",
  "Embed.ContentReport": "!{0} {1}** in the game to mark this report as handled. -> You can write anything here or leave it blank. Ping a member like this: <@MemberId> or a role: <@&RoleId>",
  "Embed.ContentReportHandled": "Handled by {0}",
  "ChatMenu.ReasonsTitle": "[{green}REPORT{default}] Choose a Reason",
  "ChatMenu.PlayersTitle": "[{green}REPORT{default}] Choose a Player"
}



参考:github.com/1Mack/CS2-CallAdmin
上传的附件:

CSGO插件分享-申明 1、本网站名称:CSGO插件分享-中文站  网址:https://bbs.csgocn.net
2、本站的宗旨在于为CSGO玩家提供一个插件分享的中文资源平台,多数插件来源于SourceMod论坛,并配以中文介绍和安装教程。
3、欢迎有能力的朋友共享有趣的CSGO插件资源。
4、本站资源大多为百度网盘,如发现链接失效,可以点: 这里进行反馈,我们会第一时间更新。
最新回复 (1)
返回