CampfireTimer

版本 v0.1.0·更新於 2026-09-05

Climbing timer and leaderboard: records every player's time at each campfire checkpoint and ranks them.

模組介紹 作者原文

CampfireTimer

A climbing timer and leaderboard mod for PEAK,

built on top of PEAKLib.

Records every player's climb time using segment timing between

consecutive campfires: the first campfire (flame/beach) starts the clock,

each following campfire records the segment time and stops the clock, and

lighting a campfire restarts it for the next segment.

Features

  • Segment timing – each segment (between two campfires) is timed independently.
  • Multiplayer – results are shared over Photon, so everyone sees everyone's times.
  • Leaderboard – opened with a hotkey (P by default), with one foldable

section per checkpoint.

  • Configurable – trigger radii and the info toggle are editable from sliders in

the UI and sync to the config file instantly.

  • Show info – an optional toggle that shows an on-screen notification while timing.
  • Language – the UI follows the game language (Simplified Chinese or English);
  • In-memory only – times are session-only; no files are written.

Configuration

The mod writes a BepInEx config file. Available options:

  • OpenKey – hotkey that opens the leaderboard UI (default P).
  • CampfireRadius – trigger radius around each campfire (default 3.5, 1–20).
  • StatueRadius – trigger radius around the summit amulet statue (default 4, 1–20).
  • ShowInfo – whether on-screen timing information is shown (default false).

The radii and the info toggle can also be changed from sliders/buttons inside the

leaderboard page; changes are saved to the config and take effect immediately.

How timing works

  • Reaching the first campfire (flame/beach) starts the clock.
  • Reaching the next campfire records the segment time and stops the clock.
  • Lighting that campfire restarts the clock for the next segment.
  • Getting close to the amulet scout statue ends the last segment.
  • Each player triggers each checkpoint once per session (no double counting).
  • Returning to the airport clears every record from the previous run.

Detection

Player arrivals are detected with each campfire's own

Campfire.PlayerCharactersInRadius query. This runs on every modded client

and detects every player in range — including players whose game does not have

the mod installed.

The final segment ends when a player gets close to the summit's amulet scout

statue (Peak.ScoutStatue, falling back to MapHandler.respawnThePeak or the

highest revive statue).

Multiplayer sync

Every modded client marks itself over Photon with a custom player property.

  • Host has the mod — the host times everyone using Photon network time and

broadcasts the results; clients do not time locally, they only record the

host's broadcasts.

  • Host does not have the mod — each client records locally on its own (it

still times every player via radius detection) and sends no network traffic.

Installation

  • Install BepInEx for PEAK.
  • Install PEAKLib_Core and PEAKLib_UI (installed automatically as dependencies).
  • Install this mod.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

BepInEx-BepInExPack_PEAKPEAKModding-PEAKLib_CorePEAKModding-PEAKLib_UI

檔案與校驗

檔案名稱
CampfireTimer-0.1.0.zip
檔案大小
192.5 KiB