-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInfo.lua
48 lines (43 loc) · 1.1 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
g_PluginInfo = {
Name = PLUGIN,
Date = "2016-11-17",
Description = "Simple currency system with API.",
-- Information about plugin.
AdditionalInfo = {
{
Title = PLUGIN .. "Plugin",
Contents = "Simple currency system with account balance view and plugin API.",
},
},
-- Plugin commands.
Commands = {
["/coin"] = {
Permission = "",
HelpString = "Coin plugin commands.",
Handler = nil,
Subcommands = {
balance = {
HelpString = "View your account balance.",
Permission = "",
Handler = HandleBalance,
ParameterCombinations = {},
},
send = {
HelpString = "Send Coin to a player.",
Permission = "",
Handler = HandleSend,
ParameterCombinations = {
{
Params = "player amount",
Help = "Send amount of provided Coin to player.",
},
},
},
},
},
},
-- TODO: Add console command for the server console.
ConsoleCommands = {},
-- Setup permissions
Permissions = {},
}