ajout commande gmc et gms
This commit is contained in:
parent
bdf90ba570
commit
6761765174
1 changed files with 18 additions and 0 deletions
18
main.sk
18
main.sk
|
@ -157,3 +157,21 @@ command afk:
|
|||
description: Annonce que tu vas afk
|
||||
trigger:
|
||||
broadcast "&a%player's name%&c est désormais afk !"
|
||||
|
||||
command gmc:
|
||||
executable by: players
|
||||
description: Change ton mode de jeu en créatif
|
||||
trigger:
|
||||
if player is op:
|
||||
execute player command "gamemode creative"
|
||||
else:
|
||||
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
||||
|
||||
command gms:
|
||||
executable by: players
|
||||
description: Change ton mode de jeu en spectateur
|
||||
trigger:
|
||||
if player is op:
|
||||
execute player command "gamemode spectator"
|
||||
else:
|
||||
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
||||
|
|
Loading…
Reference in a new issue