MinimapFriends

版本 v1.0.0·更新於 2026-07-09

Highlights your Steam friends on the minimap with a colored dot drawn on top of everyone else

模組介紹 作者原文

Minimap Friends

A small BepInEx plugin for On-Together that makes your Steam friends easy to spot on the minimap.

When you open the map (M), every player who is a Steam friend of yours is drawn with a colored dot instead of the default white one, and their dot is rendered on top of the other players' dots (the same way your own dot is), so friends never get hidden underneath a crowd.

Features

  • Steam friends show up as a green dot on the minimap.
  • Friend dots are drawn above non-friend dots so they're always visible.
  • Your own dot is unchanged and still stays on top.
  • No configuration required.

Installation

With a mod manager (recommended)

Install Mod Manager or r2modman — it pulls in BepInEx automatically.

Manual

  • Install BepInEx 5 for On-Together.
  • Drop MinimapFriends.dll into On-Together/BepInEx/plugins.

Building from source

Requires the.NET SDK.

dotnet build -c Release src/MinimapFriends.csproj

By default the build compiles against the stripped reference assemblies committed in libs, so it works without the game installed (this is what CI uses). To build against your live game instead — e.g. to catch API changes after a game update — point ManagedPath at the game's Managed folder:

dotnet build -c Release src/MinimapFriends.csproj \

-p:ManagedPath="/path/to/On-Together.app/Contents/Resources/Data/Managed"

The built plugin lands at src/bin/MinimapFriends.dll.

CI/CD

Two GitHub Actions workflows drive builds and releases:

  • build.yml — on every push to main, pull request, or manual dispatch: builds the plugin and the package, and uploads the package as a build artifact.
  • release.yml — on a v* tag: builds and publishes the package, then attaches the.zip to a GitHub Release.

Both build against libs, so no game files or Steam credentials are needed in CI.

One-time setup

  • Create a service account token for your team ( → team settings → Service Accounts).
  • Add it to a GitHub Environment named store as a secret called _TOKEN (repo → Settings → Environments → store).
  • Set namespace.toml to your team.

Cutting a release

The tag drives the version — no manual version bumping required:

git tag v1.2.3

git push origin v1.2.3

release.yml derives 1.2.3 from the tag, stamps it into the plugin and the package, publishes, and creates the matching GitHub Release.

You can also publish manually:

dotnet tool install -g tcli

dotnet build -c Release src/MinimapFriends.csproj

tcli publish --token --package-version 1.2.3

Updating reference assemblies

The assemblies in libs/ are public-API-only reference stubs generated with Refasmer from the game's Managed DLLs (no game code is redistributed). Regenerate them after a game update that changes the API:./scripts/generate-libs.sh "/path/to/On-Together.app/Contents/Resources/Data/Managed"

License

See LICENSE.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
MinimapFriends-1.0.0.zip
檔案大小
22.7 KiB