Vous devez mettre une tabulation après
if player has permission "permission":
Votre code devrai être
command /kit [<text>]:
aliases: kits
trigger:
arg 1 isn't set:
send " &c║ &6Liste des kits du serveur faction &bxxx &c║%nl% &7Apprenti &a(clique gauche)&f %nl% &bDisciple &a(clique gauche)&f %nl% &exxx &a(clique gauche)&f %nl% &dxxx &a(clique gauche)&f %nl% &5xxx &a(clique gauche)&f %nl% &6xxx &a(clique gauche)"
else:
arg 1 is "apprenti" or "disciple" or "xxx" or "xxx" or "xxx" or "xxx":
arg 1 is "apprenti":
if player has permission "kit.apprenti":
execute command "/give %player% minecraft:iron_helmet 1 0 {ench:[{id:protection,lvl:1}]}"
execute command "/give %player% minecraft:iron_chestplate 1 0 {ench:[{id:protection,lvl:1}]}"
execute command "/give %player% minecraft:iron_leggings 1 0 {ench:[{id:protection,lvl:1}]}"
execute command "/give %player% minecraft:iron_boots 1 0 {ench:[{id:protection,lvl:1}]}"
execute command "/give %player% minecraft:iron_sword 1 0 {ench:[{id:sharpness,lvl:1}]}"
execute command "/give %player% minecraft:pickaxe 1 0 {ench:[{id:32,lvl:1}]}"
execute command "/give %player% minecraft:iron_shovel 1 0 {ench:[{id:32,lvl:1}]}"
execute command "/give %player% minecraft:iron_axe 1 0 {ench:[{id:32,lvl:1}]}"
execute command "/give %player% 17 16"
execute command "/give %player% 364 32"
execute command "/give %player% 265 10"
execute command "/give %player% 322 2"
send " &aVous avez reçu le kit &7Apprenti"
arg 1 is "disciple":
if player has permission "kit.disciple":
execute command "/give %player% minecraft:iron_helmet 1 0 {ench:[{id:protection,lvl:2}]}"
execute command "/give %player% minecraft:iron_chestplate 1 0 {ench:[{id:protection,lvl:2}]}"
execute command "/give %player% minecraft:iron_leggings 1 0 {ench:[{id:protection,lvl:2}]}"
execute command "/give %player% minecraft:iron_boots 1 0 {ench:[{id:protection,lvl:2}]}"
execute command "/give %player% minecraft:iron_sword 1 0 {ench:[{id:sharpness,lvl:2}]}"
execute command "/give %player% minecraft:pickaxe 1 0 {ench:[{id:32,lvl:2}]}"
execute command "/give %player% minecraft:iron_shovel 1 0 {ench:[{id:32,lvl:2}]}"
execute command "/give %player% minecraft:iron_axe 1 0 {ench:[{id:32,lvl:2}]}"
execute command "/give %player% 364 32" execute command "/give %player% 322 4"
send " &aVous avez reçu le kit &bDisciple"