forked from Ridderrasmus/RPVoiceChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRPVoiceChatModSystem.cs
More file actions
29 lines (24 loc) · 864 Bytes
/
RPVoiceChatModSystem.cs
File metadata and controls
29 lines (24 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Vintagestory.API.Client;
using Vintagestory.API.Common;
using Vintagestory.API.Config;
using Vintagestory.API.Server;
namespace RPVoiceChat
{
public class RPVoiceChatModSystem : ModSystem
{
// Called on server and client
// Useful for registering block/entity classes on both sides
public override void Start(ICoreAPI api)
{
api.Logger.Notification("Hello from template mod: " + api.Side);
}
public override void StartServerSide(ICoreServerAPI api)
{
api.Logger.Notification("Hello from template mod server side: " + Lang.Get("rpvoicechat:hello"));
}
public override void StartClientSide(ICoreClientAPI api)
{
api.Logger.Notification("Hello from template mod client side: " + Lang.Get("rpvoicechat:hello"));
}
}
}