D1GQ-FishUtilities icon

FishUtilities

An api that simplifies the task of adding custom Network Objects.

By D1GQ
Last updated 5 days ago
Total downloads 16671
Total rating 2 
Categories Tools Libraries
Dependency string D1GQ-FishUtilities-1.3.3
Dependants 10 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
hiccup-ModSync-1.0.8 icon
hiccup-ModSync

A plugin for Mage Arena that synchronizes mods between host and clients. Press F9 to enable auto-kicking of non matching mod lists.

Preferred version: 1.0.8

README

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

  1. Prerequisites:

    • Mage Arena with BepInEx 5.4.21 or newer
    • ModSync
  2. Installation:

    MageArena/
    └── BepInEx/
        └── plugins/
            └── FishUtilities.dll
    

Example

private void Awake()
{
	FishManager.RegisterNetworkObjectPrefab(MyPlugin, MyMono, "OptionalUniqueIdentifier");
}

Changelog

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<T> is now Obsolete.
  • FishManager.SendCmd<T> is now Obsolete.

v1.3.0

  • Added FishRpc Attribute
  • Added FishCmd Attribute
  • Added SendRpc<T> to FishManager
  • Added SendCmd<T> 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.