-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInfo.lua
39 lines (35 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
-------------------------------------------------------------------------------
-- Info.lua
-- Logger
-- http://luaapi.cuberite.org/InfoFile.html
-------------------------------------------------------------------------------
g_PluginInfo = {
Name = "Logger",
Version = "2015081901",
Date = "2015-08-19",
SourceLocation = "https://github.com/DrMasik/mcserver-logger",
Description = [[Record all commands on the server console and user's game console.]],
ConsoleCommands = {
logger = {
HelpString = "Execute some of Logger plugin commands",
Subcommands = {
count = {
HelpString = "Database records count",
Handler = HandleConsoleDBCount,
},
clean = {
HelpString = "Clean database (delete all records).",
Handler = HandleConsoleDBClean,
},
show = {
HelpString = "Show database records, sorted by date in reverse order",
Handler = HandleConsoleDBShow,
ParameterCombinations = {
Params = "count",
HelpString = "Return last <count> records"
},
},
},
},
},
}