forked from DArkHekRoMaNT/CommonLib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCore.cs
More file actions
25 lines (22 loc) · 652 Bytes
/
Copy pathCore.cs
File metadata and controls
25 lines (22 loc) · 652 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
using CommonLib.Commands;
using Vintagestory.API.Common;
using Vintagestory.API.Server;
namespace CommonLib
{
public class Core : ModSystem
{
public override void Start(ICoreAPI api)
{
api.ChatCommands
.Create("cl")
.RequiresPrivilege(Privilege.chat)
.WithDescription("CommonLib commands");
ConfigCommand.Create(api, Mod.Logger);
}
public override void StartServerSide(ICoreServerAPI api)
{
RandomTeleportCommand.Create(api, Mod.Logger);
RestoreStabilityCommand.Create(api, Mod.Logger);
}
}
}