Options:
prefix: &7&l[e&lShop&7&l]
Command /shop [<text>]:
trigger:
if arg 1 isn't set:
open chest with 3 rows named "&4&lZap&f&lCube &a| &eShop" to player
wait 3 ticks
format slot 11 of player with Gold Ingot named "&a✔ &bAchats &a✔" with lore " ||&6Accéder à la partie achat|| ||&6Votre argent : &e%player's money%" to run [make player execute command "shop achat"]
format slot 0 of player with Yellow stained glass pane named " " to be unstealable
format slot 4 of player with Yellow stained glass pane named " " to be unstealable
format slot 8 of player with Yellow stained glass pane named " " to be unstealable
format slot 9 of player with Yellow stained glass pane named " " to be unstealable
format slot 13 of player with Yellow stained glass pane named " " to be unstealable
format slot 17 of player with Yellow stained glass pane named " " to be unstealable
format slot 18 of player with Yellow stained glass pane named " " to be unstealable
format slot 22 of player with Yellow stained glass pane named " " to be unstealable
format slot 26 of player with Yellow stained glass pane named " " to be unstealable
if arg 1 is set:
if arg 1 is "achat":
open chest with 3 rows named "&4&lZap&f&lCube &a| &eShop Achat" to player
wait 3 ticks
format slot 0 of player with Yellow stained glass pane named " " to be unstealable
format slot 4 of player with Yellow stained glass pane named " " to be unstealable
format slot 8 of player with Yellow stained glass pane named " " to be unstealable
format slot 9 of player with Yellow stained glass pane named " " to be unstealable
format slot 13 of player with Yellow stained glass pane named " " to be unstealable
format slot 17 of player with Yellow stained glass pane named " " to be unstealable
format slot 18 of player with Yellow stained glass pane named " " to be unstealable
format slot 22 of player with Yellow stained glass pane named " " to be unstealable
format slot 26 of player with Yellow stained glass pane named " " to be unstealable
format slot 11 of player with Bricks named "&a● &bBlocs de construction &a●" with lroe " ||&6Votre argent: &e%player's money%" to be unstealable
Et sa me met que "shop achat"] is not a text