免费插件

Discord Sign Logger

不和谐标志记录器

通过按钮交互将 Sign/Firework 更新记录到 Discord

Discord 联动signimagefirework

原作者:MJSU · 查看 uMod 官方页面 ↗

插件介绍

通过按钮交互将 Sign/Firework 更新记录到 Discord

主要用途

主要用于Discord 联动、sign、image、firework等服务端功能。 本插件由 MJSU 发布,当前目录记录版本为 v3.0.0,uMod 累计下载 11,297 次。

适用场景

  • 希望扩展原版服务器功能的服主

功能分类

Discord 联动signimagefirework
查看 uMod 官方英文简介

Logs Sign / Firework Updates to Discord with button interactions

指令说明

dsl.erase {entityId} {textureIndex} - Will erase the image from the entity id with the given indexdsl.signblock {playerId} {durationInSeconds} - Will block a player from updating a sign for specified minutes. If no time is specified block will be permanent.dsl.signunblock {playerId} - Will unblock a previous blocked player. Allowing them to update signs again.

/dsl block - blocks the player from updating signs/dsl unblock - allows previously blocked player to update signs

相关依赖

  • Discord
  • Placeholder API
  • Rust Translation API
  • Sign Artist

配置说明

{ "Discord Bot Token": "", "Disable Discord Button After Use": true, "Action Log Channel ID": "", "Replace Erased Image (Requires SignArtist)": { "Replaced Mode (None, Url, Text)": "Url", "URL": "https://i.postimg.cc/mD5xZ5R5/Erased-4.png", "Message": "ERASED BY ADMIN", "Font Size": 16, "Text Color": "#cd4632", "Body Color": "#000000" }, "Firework Settings": { "Image Size (Pixels)": 250, "Circle Size (Pixels)": 19 }, "Sign Messages": [ { "Message ID": "DEFAULT", "Discord Channel ID": "931295303640961135", "Use Action Button": true, "Buttons": [ "ERASE", "SIGN_BLOCK_24_HOURS", "KILL_ENTITY", "KICK_PLAYER", "BAN_PLAYER" ] } ], "Buttons": [ { "Button ID": "ERASE", "Button Display Name": "Erase", "Button Style": "Primary", "Commands": [ "dsl.erase {discordsignlogger.entity.id} {discordsignlogger.entity.textureindex}" ], "Player Message": "An admin erased your sign for being inappropriate", "Server Message": "", "Show Confirmation Modal": false, "Requires Permissions To Use Button": false, "Allowed Discord Roles (Role ID)": [], "Allowed Oxide Groups (Group Name)": [] }, { "Button ID": "SIGN_BLOCK_24_HOURS", "Button Display Name": "Sign Block (24 Hours)", "Button Style": "Primary", "Commands": [ "dsl.signblock {player.id} 86400" ], "Player Message": "You have been banned from updating signs for 24 hours.", "Server Message": "", "Show Confirmation Modal": false, "Requires Permissions To Use Button": true, "Allowed Discord Roles (Role ID)": [], "Allowed Oxide Groups (Group Name)": [] }, { "Button ID": "KILL_ENTITY", "Button Display Name": "Kill Entity", "Button Style": "Secondary", "Commands": [ "entid kill {discordsignlogger.entity.id}" ], "Player Message": "An admin killed your sign for being inappropriate", "Server Message": "", "Show Confirmation Modal": true, "Requires Permissions To Use Button": false, "Allowed Discord Roles (Role ID)": [], "Allowed Oxide Groups (Group Name)": [] }, { "Button ID": "KICK_PLAYER", "Button Display Name": "Kick Player", "Button Style": "Danger", "Commands": [ "kick {player.id} \"{discordsignlogger.message.player}\"", "dsl.erase {discordsignlogger.entity.id} {discordsignlogger.entity.textureindex}" ], "Player Message": "", "Server Message": "", "Show Confirmation Modal": true, "Requires Permissions To Use Button": false, "Allowed Discord Roles (Role ID)": [], "Allowed Oxide Groups (Group Name)": [] }, { "Button ID": "BAN_PLAYER", "Button Display Name": "Ban Player", "Button Style": "Danger", "Commands": [ "ban {player.id} \"{discordsignlogger.message.player}\"", "dsl.erase {discordsignlogger.entity.id} {discordsignlogger.entity.textureindex}" ], "Player Message": "", "Server Message": "", "Show Confirmation Modal": true, "Requires Permissions To Use Button": false, "Allowed Discord Roles (Role ID)": [], "Allowed Oxide Groups (Group Name)": [] } ], "PluginSettings": { "Sign Artist Settings": { "Log /sil": true, "Log /sili": true, "Log /silt": true } }, "Discord Extension Log Level (Verbose, Debug, Info, Warning, Error, Exception, Off)": "Info" }

Note: You can use Thread Channel ID's for Channel ID's as of version 1.0.8

Button commands are run as server console commands. Any command that can be ran from the console will work as a button command

Below is a list of button styles that can be used for your "Button Style" in the config

官方配置示例

{
  "Discord Bot Token": "",
  "Disable Discord Button After Use": true,
  "Action Log Channel ID": "",
  "Replace Erased Image (Requires SignArtist)": {
    "Replaced Mode (None, Url, Text)": "Url",
    "URL": "https://i.postimg.cc/mD5xZ5R5/Erased-4.png",
    "Message": "ERASED BY ADMIN",
    "Font Size": 16,
    "Text Color": "#cd4632",
    "Body Color": "#000000"
  },
  "Firework Settings": {
    "Image Size (Pixels)": 250,
    "Circle Size (Pixels)": 19
  },
  "Sign Messages": [
    {
      "Message ID": "DEFAULT",
      "Discord Channel ID": "931295303640961135",
      "Use Action Button": true,
      "Buttons": [
        "ERASE",
        "SIGN_BLOCK_24_HOURS",
        "KILL_ENTITY",
        "KICK_PLAYER",
        "BAN_PLAYER"
      ]
    }
  ],
  "Buttons": [
    {
      "Button ID": "ERASE",
      "Button Display Name": "Erase",
      "Button Style": "Primary",
      "Commands": [
        "dsl.erase {discordsignlogger.entity.id} {discordsignlogger.entity.textureindex}"
      ],
      "Player Message": "An admin erased your sign for being inappropriate",
      "Server Message": "",
      "Show Confirmation Modal": false,
      "Requires Permissions To Use Button": false,
      "Allowed Discord Roles (Role ID)": [],
      "Allowed Oxide Groups (Group Name)": []
    },
    {
      "Button ID": "SIGN_BLOCK_24_HOURS",
      "Button Display Name": "Sign Block (24 Hours)",
      "Button Style": "Primary",
      "Commands": [
        "dsl.signblock {player.id} 86400"
      ],
      "Player Message": "You have been banned from updating signs for 24 hours.",
      "Server Message": "",
      "Show Confirmation Modal": false,
      "Requires Permissions To Use Button": true,
      "Allowed Discord Roles (Role ID)": [],
      "Allowed Oxide Groups (Group Name)": []
    },
    {
      "Button ID": "KILL_ENTITY",
      "Button Display Name": "Kill Entity",
      "Button Style": "Secondary",
      "Commands": [
        "entid kill {discordsignlogger.entity.id}"
      ],
      "Player Message": "An admin killed your sign for being inappropriate",
      "Server Message": "",
      "Show Confirmation Modal": true,
      "Requires Permissions To Use Button": false,
      "Allowed Discord Roles (Role ID)": [],
      "Allowed Oxide Groups (Group Name)": []
    },
    {
      "Button ID": "KICK_PLAYER",
      "Button Display Name": "Kick Player",
      "Button Style": "Danger",
      "Commands": [
        "kick {player.id} \"{discordsignlogger.message.player}\"",
        "dsl.erase {discordsignlogger.entity.id} {discordsignlogger.entity.textureindex}"
      ],
      "Player Message": "",
      "Server Message": "",
      "Show Confirmation Modal": true,
      "Requires Permissions To Use Button": false,
      "Allowed Discord Roles (Role ID)": [],
      "Allowed Oxide Groups (Group Name)": []
    },
    {
      "Button ID": "BAN_PLAYER",
      "Button Display Name": "Ban Player",
      "Button Style": "Danger",
      "Commands": [
        "ban {player.id} \"{discordsignlogger.message.player}\"",
        "dsl.erase {discordsignlogger.entity.id} {discordsignlogger.entity.textureindex}"
      ],
      "Player Message": "",
      "Server Message": "",
      "Show Confirmation Modal": true,
      "Requires Permissions To Use Button": false,
      "Allowed Discord Roles (Role ID)": [],
      "Allowed Oxide Groups (Group Name)": []
    }
  ],
  "PluginSettings": {
    "Sign Artist Settings": {
      "Log /sil": true,
      "Log /sili": true,
      "Log /silt": true
    }
  },
  "Discord Extension Log Level (Verbose, Debug, Info, Warning, Error, Exception, Off)": "Info"
}
{
  "Chat": "<color=#bebebe>[<color=#de8732>Discord Sign Logger</color>] {0}</color>",
  "NoPermission": "You do not have permission to perform this action",
  "BlockedMessage": "You're not allowed to update this sign/firework because you have been blocked. Your block will expire in {0}.",
  "KickReason": "Inappropriate sign/firework image",
  "BanReason": "Inappropriate sign/firework image"
}

更新日志

最新版本: v3.0.0
最后版本发布: 2024-10-14
最后更新(条目): 2026-07-18

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。