-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestCommands.cs
40 lines (37 loc) · 1.01 KB
/
TestCommands.cs
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
30
31
32
33
34
35
36
37
38
39
40
using NLog;
using Sandbox.Game.Entities;
using Sandbox.Game.Entities.Blocks;
using Sandbox.Game.Entities.Cube;
using Sandbox.ModAPI;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using Torch.Commands;
using Torch.Commands.Permissions;
using VRage.Game;
using VRage.Game.ModAPI;
using VRageMath;
namespace KothPlugin
{
[Category("Koth")]
public class TestCommands : CommandModule
{
private static readonly Logger Log = LogManager.GetLogger("Koth");
public KothPlugin.TestPlugin Plugin
{
get
{
return (KothPlugin.TestPlugin)this.Context.Plugin;
}
}
[Command("clearscores", "This clears koth scores", null)]
[Permission(MyPromoteLevel.Admin)]
public void ClearScores()
{
Communication.Message();
this.Context.Respond("Koth plugin reset koth scores");
}
}
}