Bonjour,
Aujourd'hui, je vous demandes et j'ai besoin d'aide pour savoir si un joueur a pris tout le contenus du coffre, ainsi qu'il puisse prendre le contenu du coffre :
Version Skript : 2.2
Version Spigot : 1.10.2
Description : Savoir si un coffre est vide.
Mon code actuel :
on rightclick with a tripwire hook:
if name of player's tool is "&eKit MVP&b+":
open chest with 4 rows named "&6Récompense : &eKit MVP&b+" to player
format slot 0 of player with an iron sword of sharpness 3 named "&eKit MVP&b+" to run ""
format slot 1 of player with 5 golden_apple named "&eKit MVP&b+" to run ""
format slot 2 of player with 48 steaks named "&eKit MVP&b+" to run ""
format slot 3 of player with a diamond helmet of protection 2 named "&eKit MVP&b+" to run ""
format slot 4 of player with diamond chestplate of protection 2 named "&eKit MVP&b+" to run ""
format slot 5 of player with diamond leggings of protection 2 named "&eKit MVP&b+" to run ""
format slot 6 of player with diamond boots of protection 2 named "&eKit MVP&b+" to run ""
Cordialement,
Niromash