-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInfo.lua
49 lines (44 loc) · 1.02 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
-- Info.lua
-- Implements the g_PluginInfo standard plugin description
g_PluginInfo =
{
Name = "Hide",
Version = "2",
Date = "2015-11-30",
SourceLocation = "https://github.com/NiLSPACE/Hide",
Description = [[This plugin allows admins to hide themselves from their server. The server will stop broadcasting packets, so even hacked clients won't see you.]],
Commands =
{
["/hide"] =
{
Permission = "hide.hide",
Handler = HandleHideCommand,
HelpString = "Toggles you or someone else's visible status",
ParameterCombinations =
{
{
Params = "Other player",
Help = "Toggles someone else's visible status",
},
{
Params = "",
Help = "Toggles your visible status",
},
},
},
},
Permissions =
{
["hide.hide"] =
{
Description = "Toggles your visible status",
RecommendedGroups = "admins, mods",
},
["hide.hideother"] =
{
Description = "Toggles someone else's visible status",
RecommendedGroups = "admins",
CommandsAffected = { "/hide", },
},
},
}