DarkMultiPlayer Client

DarkMultiPlayer Client

38.8k Downloads

A default plugin structure

Xinayder opened this issue ยท 3 comments

commented

I was thinking about my plugin and making an installer when I came across this issue: how to get the plugin info if there's no information about it on a file?

I'd like to suggest the following system for DMP plugins:

  • Plugin Folder
    • Subfolders
    • Plugin.dll
    • info.json

This would make it much easier. Instead of Subfolders\Parts you should have each folder in the root directory of the plugin.

commented

Closing - If anything this is part of plugin documentation which we'll write for 0.1.6 :)

commented

You could always embed the description/author within the assembly, but it's a pain to read it.

commented

Talked about in IRC - this is something that's outside of the scope of DMP, but perhaps we could encourage this setup through a tutorial.

There's currently nothing preventing server mods from doing this.