Salut, pour la pomme dorée, si tu souhaites qu'elle soit au 9ème slot, il faut mettre le slot 10 vu que les slots commencent à partir de 0. Pour ce qui est du système de ban, je vais essayer de t'aider demain car il faut utiliser des variables listes.
command /statss_chevalier:
trigger:
wait 5 ticks
open chest with 5 row named "&a&l » Grade Chevalier " to player
format slot 23 of player with name tag named "&c&l ➡ Acheter le grade" with lore "||&6&l » &6Clique ici pour acheter le||&aGrade Chevalier &6via le shop" to run [make player execute command "/buy_chevalier"]
format slot 0 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 1 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 2 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 3 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 4 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 5 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 6 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 7 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 8 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 9 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 10 of player with Red Stained Glass Pane named " " to be unstealable
format slot 11 of player with Red Stained Glass Pane named " " to be unstealable
format slot 12 of player with Red Stained Glass Pane named " " to be unstealable
format slot 13 of player with Red Stained Glass Pane named " " to be unstealable
format slot 14 of player with Red Stained Glass Pane named " " to be unstealable
format slot 15 of player with Red Stained Glass Pane named " " to be unstealable
format slot 16 of player with Red Stained Glass Pane named " " to be unstealable
format slot 17 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 18 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 19 of player with Red Stained Glass Pane named " " to be unstealable
format slot 20 of player with Green Stained Glass Pane named " " to be unstealable
format slot 21 of player with chest named "&c&l ➡ Kit Chevalier" with lore "||&6&l » &6Clique pour voir les items||&6du &aKit Chevalier||&0." to close then run [make player execute command "/visu_chevalier"]
format slot 22 of player with Nether star named "&c&l ➡ Avantages" with lore "||&e&l » &e&lKits &f: || &f&l- &aEcuyer|| &f&l- &aChevalier||&e&l » &e&lCommande &f:|| &f&l- &a/feed &a||&e&l » &e&lAvantages &f:|| &f&l- &a2 sethomes|| &f&l- &a3 ventes hdv||||&c&l ➡ Prefix||||&a ▶ &aChevalier %player% &7: &7Bonsoir !" to be unstealable
format slot 25 of player with Red Stained Glass Pane named " " to be unstealable
format slot 24 of player with Green Stained Glass Pane named " " to be unstealable
format slot 28 of player with Red Stained Glass Pane named " " to be unstealable
format slot 29 of player with Red Stained Glass Pane named " " to be unstealable
format slot 30 of player with Red Stained Glass Pane named " " to be unstealable
format slot 31 of player with Red Stained Glass Pane named " " to be unstealable
format slot 32 of player with Red Stained Glass Pane named " " to be unstealable
format slot 33 of player with Red Stained Glass Pane named " " to be unstealable
format slot 34 of player with Red Stained Glass Pane named " " to be unstealable
format slot 26 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 27 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 35 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 36 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 37 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 38 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 39 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 40 of player with 166 named "&4&l » Retour" to close then run [make player execute command "/grade"]
format slot 41 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 42 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 43 of player with Blue Stained Glass Pane named " " to be unstealable
format slot 44 of player with Blue Stained Glass Pane named " " to be unstealable
command /buy_chevalier:
permission: grade.ecuyer
trigger:
open chest with 4 rows named "&c&l ➡ &a&lGrade Chevalier" to player
wait 5 ticks
format slot 13 of player with paper named "&e&l ➡ &e&lAchat du &a&lGrade Chevalier" with lore " &e&lau prix de &d&l500.000" to be unstealable
format slot 21 of player with Green Stained Glass Pane named "&a&l » Confirmer " to close then run [make console execute command "/lp user %player% parent add Chevalier"]->["eco take %player% 500000"]
format slot 23 of player with Red Stained Glass Pane named "&4&l » Annuler" to close then run [make player execute command "/statss_chevalier"]
Alors je t'ai fais parvenir un bon de mon script ( pas tout cas il est vraiment très long )
Salut,
Il suffit de faire ceci:
on join:
set {time::%player%} to 0
wait a minute
while player is online:
add 1 to {time::%player%}
if mod({time::%player%}, 30) = 0:
send "&aFélicitations &b! Pour être resté 30 minutes sur le Serveur, nous vous offront &21 émeraude."
give player 1 emerald
set {time::%player%} to 0
wait 1 minute
command /emeraude:
aliases: /em
trigger:
send "&eVous êtes resté &b%{time::%player%}% &bminute(s) &econnecté depuis votre connexion."
send "&eProchain &2émeraude &edans &c%30 - {time::%player%}% &cminutes&e."
Bonne soirée
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.