-
Notifications
You must be signed in to change notification settings - Fork 2
/
moderator.sk
30 lines (25 loc) · 1.09 KB
/
moderator.sk
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
# ### Moderator self rank system by Roy Curtis
# ### Licensed under MIT, 2015
# ### Commands
command /mod:
description: Elevates yourself to full moderator role
permission: gamealition.moderator
executable by: players
aliases: /moderate, /moderator
trigger:
if player has permission "gamealition.mod-high":
message "&c*** You are already in elevated privileges! Did you mean &f/demod&c?"
exit trigger
execute console command "/promote %player% moderator"
message "&7*** You are now in &felevated &7moderator privileges"
command /demod:
description: Demotes yourself to normal player role
permission: gamealition.moderator
executable by: players
aliases: /demoderate, /demoderator
trigger:
if player has permission "gamealition.mod-low":
message "&c*** You are not in elevated privileges! Did you mean &f/mod&c?"
exit trigger
execute console command "/demote %player% moderator"
message "&7*** You are now in &fnormal &7player privileges"