update mod template for net7

This commit is contained in:
Th3Dilli 2023-08-01 14:38:00 +02:00
parent bea384b470
commit 0b0d49fd1b
No known key found for this signature in database
GPG key ID: B952D7A5ACC404F2
39 changed files with 1054 additions and 53653 deletions

View file

@ -0,0 +1,26 @@
using Vintagestory.API.Client;
using Vintagestory.API.Common;
using Vintagestory.API.Config;
using Vintagestory.API.Server;
namespace ModTemplate
{
public class ModTemplateModSystem : ModSystem
{
// Called on server and client
public override void Start(ICoreAPI api)
{
api.Logger.Notification("Hello from template mod: " + Lang.Get("mymodid:hello"));
}
public override void StartServerSide(ICoreServerAPI api)
{
api.Logger.Notification("Hello from template mod server side");
}
public override void StartClientSide(ICoreClientAPI api)
{
api.Logger.Notification("Hello from template mod client side");
}
}
}