From 676176517497424c64aa3cac479363720cdadcb8 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 18 Jun 2021 19:11:55 +0200 Subject: [PATCH] ajout commande gmc et gms --- main.sk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/main.sk b/main.sk index 994a3f8..a2826a1 100644 --- a/main.sk +++ b/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."