-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdminCommandsSettings.lua
More file actions
98 lines (89 loc) · 2.72 KB
/
Copy pathAdminCommandsSettings.lua
File metadata and controls
98 lines (89 loc) · 2.72 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
-- This is a module Script file located in ServerScriptService --
local panel = {}
---------------------
-- All Permissions --
---------------------
-- Kick / Removes the user from the game
-- Ban / Prevents the user from ever entering the game
-- Shout / Creates an announcement for the entire server to view
-- Rejoin / Rejoins the user
-- Banlist / Allows the granted user to view bans
-- TpTo / Teleports to a user
-- TpBring / Teleports a user to you
-- ClearTools / Removes a users tools
-- Warn / Warns a user with a customized statement
-- Notify / Creates a notification above all user screens
panel.settings = {
Main = {
["chatPrefix"] = ".",
["groupId"] = 3353368,
["moderator"] = {},
["admin"] = {},
["manager"] = {},
["owner"] = {255},
["moderatorUser"] = {},
["adminUser"] = {},
["managerUser"] = {},
["ownerUser"] = {},
["modPerms"] = {"Warn", "Shout", "Rejoin", "TpBring", "TpTo"},
["adminPerms"] = {"Kick", "Ban", "Warn", "Shout", "Rejoin", "Banlist", "TpTo", "TpBring", "ClearTools"},
["managerPerms"] = {"Kick", "Ban", "PermBan", "UnBan", "Warn", "Shout", "Rejoin", "Banlist", "TpTo", "TpBring", "ClearTools"},
["ownerPerms"] = {"Kick", "Ban", "PermBan", "UnBan", "Warn", "Shout", "Rejoin", "Banlist", "TpTo", "TpBring", "ClearTools"},
},
DiscordWebhook = {
["enabled"] = true,
["URL"] = "https://discord.com/api/webhooks/847241352596422706/8lAbXMT9UW2HrP9QZ_9orDMykfzl633vlP38NHgCDSwYqegXFWqtfXK9w21I16oASR4_",
}
}
panel.commands = {
TpTo = {
["description"] = "Teleport to others.",
["command"] = "tpto",
["aliases"] = {"to", "tpmeto"},
["parameters"] = {"<player>"},
["log"] = true
},
TpBring = {
["description"] = "Bring others to you.",
["command"] = "tpbring",
["aliases"] = {"bring", "tptome"},
["parameters"] = {"<player>"},
["log"] = true
},
ClearTools = {
["description"] = "Remove a player's tools.",
["command"] = "cleartools",
["aliases"] = {"removetools", "clrtools"},
["parameters"] = {"<player>"},
["log"] = true
},
Kick = {
["description"] = "Remove a pleyer from the game.",
["command"] = "kick",
["aliases"] = {},
["parameters"] = {"<player>"},
["log"] = true
},
Ban = {
["description"] = "Ban a player from this server (not perm).",
["command"] = "ban",
["aliases"] = {},
["parameters"] = {"<player>"},
["log"] = true
},
PermBan = {
["description"] = "Ban a player from all servers on this game (perm).",
["command"] = "permban",
["aliases"] = {"pban", "permanentban", "permanentlyban"},
["parameters"] = {"<player>"},
["log"] = true
},
UnBan = {
["description"] = "Revoke a ban of a player.",
["command"] = "unban",
["aliases"] = {"uban", "unpermban"},
["parameters"] = {"<player>"},
["log"] = true
}
}
return panel