免费插件

Headquarters

总部

允许玩家拥有一个受保护的总部基地(保护百分比随存储使用情况而变化)。

raidprotectcasual娱乐玩法conquer

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

插件介绍

允许玩家拥有一个受保护的总部基地(保护百分比随存储使用情况而变化)。

Allows players to enjoy an improved mid and end game PVP experience in Rust. This is a hybrid raid protection system. It is not no raid, it is not noob protect, and it is not PVE. Players can still raid, be killed, and lose their bases with Headquarters mod.

Version 1.0.0 is not backwards compatible with the data from previous versions. There were some fields renamed and some commands added to accomodate for the new form of the mod. Therefore its suggested to start fresh with this update. If you wish to attempt to manually modify the data file to be compatible you will need to replace in your data file "DisbandedAt" with "DismantleStartedAt", and "FounderId" to "LeaderId". Additionally I would suggest running the hq.clear-quitters command so you don't have to worry about that data. Also just in case remove the headquarters language file in the lang directory.

This all goes in line with the changes to allow a leader to quit their headquarter without affecting other members and with the addition of conquest mode. This also means the /hq.disband command for founders is no longer utilized. There is now a state called "dismantling" which is essentially the penalty period where the headquarter still exists but without protection and its members can't start or join another headquarter. A headquarter can end up in this state if it has only a leader with no other members and the leader quits, or if the headquarter is conquered.

There is a new command to show the status to players (/hq.status used to be /hq.check). This will tell them if they're in a headquarter, as well as any penalties, configurations, etc. As well as some new commands for admins (hq.remove-quitter {id} and hq.clear-quitters).

主要用途

主要用于raid、protect、casual、娱乐玩法等服务端功能。 本插件由 digital0iced0 发布,当前目录记录版本为 v1.2.0,uMod 累计下载 4,334 次。

适用场景

  • PVP、战斗或攻防玩法服务器
  • 希望改善玩家交互与日常体验的社区服务器

功能分类

raidprotectcasual娱乐玩法conquer
查看 uMod 官方英文简介

Allows players to have one protected headquarter base (protection % varies with storage usage).

权限节点

headquarters.admin

Grants access to run console commands.

授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke

指令说明

hq.hide-markers

Hides all map markers.

hq.show-markers

Shows all map markers.

hq.clear-all

Removes all headquarters permanenetly.

hq.start-ffa

Starts free for all mode manually.

hq.stop-ffa

Stops free for all mode manually.

hq.remove {leader player's id}

Removes the headquarter, along with its leader and members from the plugin's data. This will allow all member players to build another headquarter.

hq.remove-quitter {player's id}

Removes the specified player id from the list of quitters.

hq.clear-quitters

Clears all players flagged as quitters.

配置说明

Radius: The radius of the HQ. This should match the Tool Cupboard's range (or slightly smaller).

MapMarkersEnabled: Whether to show map markers on the map.

TeleportEnabled: Whether players can teleport to their HQ (disabled by default).

QuitPenaltyHours: Number of hours HQ members must wait before being able to start new Headquarters after quiting their HQ or being conquered.

DistanceToTC: How close to the TC you need to be to start a headquarter (Probably shouldn't modify).

ConquerModeEnabled: Allows headquarter members to conquer other headquarters (disband them, and take their base). The conquered headquarter becomes a regular base for the conqueror and loses all protection. For full raiding and conquering its suggested to disable InvulnerableTC. If InvulnerableTC is on, then you will only be able to conquer by authenticating at enemy TC.

InvulnerableTC: Enabled by default, prevents all damage to HQ TCs. This should be disabled if you want to allow conquering by destroying enemy TC.

FreeForAllEnabled: Whether scheduled free for all is enabled or disabled.

FreeForAllHoursAfterWipe: How many hours from the previous wipe until FFA is scheduled to be enabled.

MarkerPrefab: Prefab for marker. Should not need to be changed unless the game changes.

ProtectionPercent: Protection level offered to a protected headquarter base (without storage penalties).

ProtectionPercentMinimum: Lowest protection level offered to a protected headquarter (even with high item count).

ProtectionSlotsWithoutPenalty: How many slots can be filled before penalties start to accrue.

ProtectionPenaltyPercentPerSlot: Percentage penalty per slot filled past the ProtectionSlotsWithoutPenalty.

ProtectionConstantSecondsAfterDamage: Maintains the protection level constant while a raid is happening. The seconds represents the time it remains constant after the last time the base was damaged.

MessagePlayersHeadquarterAttacked: Whether to message all players when a headquarter is attacked. Uses ProtectionConstantSecondsAfterDamage seconds to determine how often to send the message.

MessagePlayersHeadquarterDestroyed: Whether to message all players when a headquarter is destroyed.

UIEnabled: Whether UI functionality is displayed.

UIRefreshRateSeconds: How often the UI will update after a change occurs to protection. Default is 0, however if server performance is suffering, you can increase the value.

UIAnchorMin: UI position min.

UIAnchorMax: UI position max.

AdditionalProtectedEntities: Adds headquarter protection to other types of game entities besides doors and building blocks. Only a part of the prefab name is necessary. Keep in mind a large list can affect performance. If you don't care about performance you can add two big ones: "deploy" and "building". These two will affect most entities.

{ "HeadquartersConfig": { "Radius": 27.5, "MapMarkersEnabled": true, "TeleportEnabled": false, "QuitPenaltyHours": 3, "DistanceToTC": 2.0, "InvulnerableTC": true, "ConquerModeEnabled": false, "FreeForAllEnabled": true, "FreeForAllHoursAfterWipe": 144.0, "MarkerPrefab": "assets/prefabs/tools/map/genericradiusmarker.prefab", "ProtectionPercent": 100.0, "ProtectionPercentMinimum": 10.0, "ProtectionSlotsWithoutPenalty": 30.0, "ProtectionPenaltyPercentPerSlot": 1.5, "ProtectionConstantSecondsAfterDamage": 300, "MessagePlayersHeadquarterAttacked": true, "MessagePlayersHeadquarterDestroyed": true, "UIEnabled": true, "UIRefreshRateSeconds": 0, "UIAnchorMin": { "X": 0.83, "Y": 0.93 }, "UIAnchorMax": { "X": 0.995, "Y": 0.99 }, "AdditionalProtectedEntities": [ "window", "barricade", "turret", "cctvcamera", "dropbox", "mailbox", "lantern", "sign" ] } }

官方配置示例

{
  "HeadquartersConfig": {
    "Radius": 27.5,
    "MapMarkersEnabled": true,
    "TeleportEnabled": false,
    "QuitPenaltyHours": 3,
    "DistanceToTC": 2.0,
    "InvulnerableTC": true,
    "ConquerModeEnabled": false,
    "FreeForAllEnabled": true,
    "FreeForAllHoursAfterWipe": 144.0,
    "MarkerPrefab": "assets/prefabs/tools/map/genericradiusmarker.prefab",
    "ProtectionPercent": 100.0,
    "ProtectionPercentMinimum": 10.0,
    "ProtectionSlotsWithoutPenalty": 30.0,
    "ProtectionPenaltyPercentPerSlot": 1.5,
    "ProtectionConstantSecondsAfterDamage": 300,
    "MessagePlayersHeadquarterAttacked": true,
    "MessagePlayersHeadquarterDestroyed": true,
    "UIEnabled": true,
    "UIRefreshRateSeconds": 0,
    "UIAnchorMin": {
      "X": 0.83,
      "Y": 0.93
    },
    "UIAnchorMax": {
      "X": 0.995,
      "Y": 0.99
    },
    "AdditionalProtectedEntities": [
      "window",
      "barricade",
      "turret",
      "cctvcamera",
      "dropbox",
      "mailbox",
      "lantern",
      "sign"
    ]
  }
}

更新日志

最新版本: v1.2.0
最后版本发布: 2024-01-26
最后更新(条目): 2026-07-18

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

安装方法

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

使用前注意

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

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