-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInfo.lua
54 lines (53 loc) · 1.11 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
g_PluginInfo =
{
Name = "PhysicalCurrency",
Date = "30-3-2016",
Description = "An opensource currency plugin",
AdditionalInfo =
{
{
Title = "What is PhysicalCurrency?",
Contents = "PhysicalCurrency is an API allowing plugins to tream physical in game items as currency.",
},
},
Commands =
{
["/currency"] =
{
Subcommands =
{
give =
{
Handler = CurrencyCommand,
HelpString = "Allows you to give currency",
Permission = "PhysicalCurrency.admin",
},
take =
{
Handler = CurrencyCommand,
HelpString = "Allows you to take currency",
Permission = "PhysicalCurrency.admin",
},
balance =
{
Handler = CurrencyCommand,
HelpString = "Returns the amount of currency in the users inventory",
Permission = "PhysicalCurrency.check",
},
}
},
},
Permissions =
{
["PhysicalCurrency.admin"] =
{
Description = "Allows the Give and Take commands.",
RecommendedGroups = "admins, mods",
},
["PhysicalCurrency.check"] =
{
Description = "Allows you to use /currency balance <player> ",
RecommendedGroups = "admins",
},
},
}