DiscordRPC

DiscordRPC

Adds Discord Rich Presence support for 7 Days to Die, showing your current in-game status (e.g., server host, player state, and map info) on your Discord profile. เพิ่ม การแสดง DiscordRPC ใน 7DayToDie เช่นการแสดง สถานะ อยู่เมนูหลัก / 为《七日杀》添加 Discord 富文本状态支持,在你的 Discord 个人资料上显示当前游戏内状态(例如:服务器主机、玩家状态和地图信息)。 增加在《七日杀》中显示 DiscordRPC 的功能,例如显示在主菜单中的状态/

实用工具

// 七日杀 DiscordRPC 插件

此模组将 Discord 状态 集成到 7 Days to Die 中,使你的 Discord 状态能够实时反映当前的游戏活动。

// 特色功能

  • 显示当前地图、玩家状态、服务器名称
  • 显示玩家名称、游戏内天数、血月幸存状态
  • 显示游戏状态(游戏中、主菜单中、加入服务器中)
  • 显示僵尸总击杀数、玩家等级
  • 主菜单和游戏内可配置的 RPC 按钮
  • 可配置开启/关闭 显示僵尸击杀数 和 显示玩家等级 (RPC)
  • 可选语言设置(英语/泰语)
  • 可通过 [u]Config.xml[/u] 轻松自定义

// 可配置选项(Config.xml):

<Config>
<Language>中文</Language> <!-- 英文或泰文 -->
<MainMenuButton enabled="true" multiplayerOnly="false"> <!-- 主菜单RPC按钮 -->
<Label>查看模组</Label> <!-- 按钮的自定义文本 -->
<Url>https://github.com/punyjin</Url>
</MainMenuButton>
<!-- multiplayerOnly表示需要多人游戏才能显示rpc按钮 -->
<InGameButton enabled="true" multiplayerOnly="true"> <!-- 游戏中RPC按钮 -->
<Label>加入服务器</Label>
<Url>https://www.youtube.com/shorts/41iWg91yFv0</Url> 
<!--<Url>steam://connect/your.server.ip:port</Url>-->
</InGameButton>
<ShowZombieKills>true</ShowZombieKills>  <!-- 开启/关闭显示击杀僵尸数(True / False) -->
<ShowLevel>true</ShowLevel>  <!-- 开启/关闭显示玩家等级(True / False) -->
<UseGameName>true</UseGameName> <!-- 开启/关闭 使用游戏名替代服务器名 -->
</Config>

// 安装方法:

  • 将模组解压到你的文件夹中,例如:
    7DaysToDie\Mods\DiscordRPC\

此模组仅限客户端使用,因此请勿在服务器上安装。 它也很难与 EAC(Easy Anti-Cheat)兼容——如果你在使用这个模组,请确保将其关闭。

源代码: Github