-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInfo.lua
58 lines (49 loc) · 1.15 KB
/
Info.lua
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
-- Info.lua
-- Implements the g_PluginInfo standard plugin description
g_PluginInfo =
{
Name = "PreciousBlocks",
Version = 4,
DisplayVersion = "3.1",
Date = "2016-01-09", -- yyyy-mm-dd
SourceLocation = "https://github.com/NiLSPACE/PreciousBlocks",
Description =
[[
This plugin allows admins to see who or what placed a block, and revert it if needed.
]],
Commands =
{
['/pb'] =
{
Permission = "",
HelpString = "",
Handler = nil,
Subcommands =
{
revert =
{
HelpString = "Revert an area around you",
Permission = "preciousblocks.reverse",
Handler = HandleRevertCommand,
ParameterCombinations =
{
{
Params = "PlayerName, RadiusAroundPlayer",
Help = "Revert all the changes from a player in the given radius",
},
{
Params = "PlayerName, RadiusAroundPlayer, TimeAgo",
Help = "Revert changes from a player in the given radius from a certain time ago.",
},
},
},
inspect =
{
HelpString = "Inspect who changed certain blocks",
Permission = "preciousblocks.inspect",
Handler = HandleInspectCommand,
}
},
},
},
}