generated from AriasCreations/vsmodtemplate
Initial commit
This commit is contained in:
commit
c416e6e5e1
17 changed files with 1243 additions and 0 deletions
26
ModTemplate/ModTemplateModSystem.cs
Normal file
26
ModTemplate/ModTemplateModSystem.cs
Normal 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");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue