Steps:
dotnet ...
public static class MyPlugin { public static int GetValue() => 15; }
dotnet publish
DivookaDistribution/<MyPlugin>/<MyPlugin>.dll
(Add screenshots)
Read more on the topic on the Plugin development page.