-
Notifications
You must be signed in to change notification settings - Fork 0
/
gameruleplus.sk
48 lines (38 loc) · 2.59 KB
/
gameruleplus.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
on command "/gamerule sendCommandFeedback false":
if player has permission "admin.gamerule.commandfeedback":
send "[&aGamerulePlus&r] Disabled command feedback"
send "[&aGamerulePlus&r] &c%player% disabled command feedback" to all players where [input has permission "admin.gamerule.commandfeedback"]
else if sender is console:
send "[&aGamerulePlus&r] Disabled command feedback"
send "[&aGamerulePlus&r] &cConsole disabled command feedback" to all players where [input has permission "admin.gamerule.commandfeedback"]
else:
cancel event
send "[&aGamerulePlus&r] &cYou do not have permission to change that gamerule!"
on command "/minecraft:gamerule sendCommandFeedback false":
if player has permission "admin.gamerule.commandfeedback":
send "[&aGamerulePlus&r] Disabled command feedback"
send "[&aGamerulePlus&r] &c%player% disabled command feedback" to all players where [input has permission "admin.gamerule.commandfeedback"]
else if sender is console:
send "[&aGamerulePlus&r] Disabled command feedback"
send "[&aGamerulePlus&r] &cConsole disabled command feedback" to all players where [input has permission "admin.gamerule.commandfeedback"]
else:
cancel event
send "[&aGamerulePlus&r] &cYou do not have permission to change that gamerule!"
on command "/gamerule commandBlockOutput false":
if player has permission "admin.gamerule.commandblockoutput":
send "[&aGamerulePlus&r] &c%player% disabled command block output" to all players where [input has permission "admin.gamerule.commandblockoutput"]
else if sender is console:
send "[&aGamerulePlus&r] Disabled command feedback"
send "[&aGamerulePlus&r] &cConsole disabled command block output" to all players where [input has permission "admin.gamerule.commandblockoutput"]
else:
cancel event
send "[&aGamerulePlus&r] &cYou do not have permission to change that gamerule!"
on command "/minecraft:gamerule commandBlockOutput false":
if player has permission "admin.gamerule.commandblockoutput":
send "[&aGamerulePlus&r] &c%player% disabled command block output" to all players where [input has permission "admin.gamerule.commandblockoutput"]
else if sender is console:
send "[&aGamerulePlus&r] Disabled command feedback"
send "[&aGamerulePlus&r] &cConsole disabled command block output" to all players where [input has permission "admin.gamerule.commandblockoutput"]
else:
cancel event
send "[&aGamerulePlus&r] &cYou do not have permission to change that gamerule!"