FishUtilities
An api that simplifies the task of adding custom Network Objects.
About this mod Author’s original text
FishUtilities
FishUtilities is a BepInEx plugin that simplifies the process of adding custom Network Object Prefabs to be able to spawn on the Network.
Features
- Simplified Network Objects: Add Network Object Prefabs to the Network with ease.
Installation
- Prerequisites:
- Mage Arena with BepInEx 5.4.21 or newer
- ModSync
- Installation:
MageArena/
└── BepInEx/
└── plugins/
└── FishUtilities.dll
Example
private void Awake()
{
FishManager.RegisterNetworkObjectPrefab(MyPlugin, MyMono, "OptionalUniqueIdentifier");
}
Changelog
v1.4.0
- Added NetworkManager to FishManager.
- Added IsHost to FishManager.
- Backend changes.
- Fixed exceptions errors.
v1.3.3
- Add FishTargetRpcAttribute
v1.3.2
- Rpc and Cmd automatic ID assignment.
- ID Constructors for FishRpc and FishCmd are now Obsolete with error.
v1.3.1
- Allow Rpc and Cmd functions to be directly called and synchronized.
- FishManager.SendRpc is now Obsolete.
- FishManager.SendCmd is now Obsolete.
v1.3.0
- Added FishRpc Attribute
- Added FishCmd Attribute
- Added SendRpc to FishManager
- Added SendCmd to FishManager
v1.2.3
- Make all members public for DataWriter.
v1.2.2
- Fix namespace.
v1.2.1
- Added ability to FastRead and FastWrite game objects.
v1.2.0
- Add CustomNetworkBehaviour.
- Add SpawnNetworkObject to FishManager.
v1.1.1
- Add xml documentation.
v1.1.0
- Sort prefab list by ID after adding prefabs.
v1.0.0
- Initial release.
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPackhiccup-ModSync