Creating Plugin Project
Last updated
Last updated
Creating Plugin require Unity Engine libraries and main game library. You can download libraries archive here:
We recommend to use .NET Framework 4.7.2(because only this version tested).
Create C# .NET Framework Library.
Connect downloaded libraries to your project.
Create Plugin Information class.
You are ready to go!
Each plugin must contain plugin information, otherwise it will not be loaded. There no rules of naming this class. Here is example of plugin information class(we named it "Info").
Now we can compile this plugin and move library to server plugins folder according to Folder Structure After starting server we must see this message:
We will not Name, Id, Version, BundleVersion. We will not consider filling out these fields, since it should be clear to everyone why they are needed. We will only check "MustSpawnClasses", this property contain class names, that must spawn after successfull map generation and will also be spawned on clients, to send messages between server/client. Example Solution can be downloaded here: