PaApi

版本 v1.0.6·更新於 2026-09-29

Adds helper function to facilitate modding

模組介紹 作者原文

PaApi aims to add helper functions to make modding Project Arrhythmia easier

Right now its main function is to facilitate calling events and setting up mod settings in the main

The simplest usage is

PaApi.SettingsHelper.RegisterModSettings(ModGuid, ModName, Color.red, ConfigFile, builder =>

{

builder.Label("YOUR LABEL - generic settings");

builder.Toggle("Your Toggle", ConfigFile.Bind(...));

builder.Slider("Your Value Slider", ConfigFile.Bind(...), UI_Slider.VisualType.line, "35%", "50%", "85%");

builder.Spacer();

builder.Label("MISCELLANEOUS - other settings");

builder.Slider("Your Range Slider", ConfigFile.Bind(...), UI_Slider.VisualType.dot, new Vector2(0, 5));

builder.Toggle("Another Toggle", ConfigFile.Bind(...));

builder.EndPage(); //optional

});

Which should be done only once in your plugin initialization

Another usage is adding custom scenes, this is also done in plugin initialization, and requires you to load a scene asset bundle

Installation

for developers

  • Download the PaApi.dll from the latest github release and reference it in your plugin's project

Put [BepInDependency("me.ytarane.PaApi")] attribute in your plugin

  • Remember to set aiden_ytarame-PaApi-1.0.0 as a dependency in your manifest if you're uploading

r2modman (recommended)

  • Download the r2modman mod manager.
  • Search for Project Arrhythmia and go the Online tab, look for PaApi by aiden_ytarame and click download.
  • Then click Start Modded in the top left of r2modman and youre all set.

Manual

  • Download bepinex from BepInEx 5.4.
  • Extract the files from the BepInEx zip into your game's exe folder (this can be found by right clicking PA on your steam library and going "manage->browse local files").
  • Note: Extract the zip contents into the PA folder like the image below, not a new folder.
  • Download the PaApi zip from latest release available.
  • In your game's folder there will be a new folder called "bepinex". Merge the Bepinex folder on the PaApi zip file with the one in your game's folder.
  • Open the game and enjoy!

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

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
PaApi-1.0.6.zip
檔案大小
77.2 KiB