-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpriveleges.lua
48 lines (48 loc) · 1.59 KB
/
priveleges.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
if essentials.add_privs then
core.register_privilege("rename_player", {
description = "Can rename self or someone else",
give_to_singleplayer = false,
})
core.register_privilege("rename_item", {
description = "Can rename items",
give_to_singleplayer = false,
})
core.register_privilege("god_mode", {
description = "Can be hurted by someone",
give_to_singleplayer = false,
})
core.register_privilege("colored_nickname", {
description = "Can color nicknames",
give_to_singleplayer = false,
})
core.register_privilege("broadcast", {
description = "Can annonce all the server",
give_to_singleplayer = false,
})
core.register_privilege("speed", {
description = "Can be fast or slow",
give_to_singleplayer = false,
})
core.register_privilege("heal", {
description = "Can heal yourself or someone",
give_to_singleplayer = false,
})
core.register_privilege("kill", {
description = "Can kill anyone",
give_to_singleplayer = false,
})
core.register_privilege("get_pos", {
description = "Can get position of player",
give_to_singleplayer = true,
})
core.register_privilege("seed", {
description = "Can use see th seed of world",
give_to_singleplayer = true,
})
if not essentials.biome then
core.register_privilege("biome", {
description = "Can see current biome info",
give_to_singleplayer = true,
})
end
end