Aller au contenu
AirZoma

résolu ✔ BUG lit Menu GUI

Messages recommandés

Version de Minecraft : 1.8.9
Version de Skript : 2.2b fixes

Addons utilisés: Addon1, Addon2, ...

Type du skript : Menu GUI

Description du script :

Bonjour, 
Je suis actuellement en train de réalisé un menu GUI pour un serveur Minecraft, mais un problème se pose à moi. Lorsque je met un lit, celui si apparait 1 fois sur 2 dans le menu, pourtant, il est possible de cliquer dessus, je ne comprend pas 😕
si jamais vous avez besoin de plus d'informations, je reste a votre disposition.
Merci d'avance !
AirZoma
command /game [<text>]:
    trigger:
        load yaml "plugins/yaml/creastats.yml" as "plugins/yaml/creastats.yml"
        wait 2 ticks
        open chest with 4 rows named "&eMini-Jeux" to player
        wait 2 tick
        set {_count} to 0
        loop 10 times:
            format slot {_count} of player with yellow glass named " " to be unstealable
            add 1 to {_count}
        set {_count} to 17
        loop 3 times:
            format slot {_count} of player with yellow glass named " " to be unstealable
            add 9 to {_count}
        set {_count} to 18
        loop 2 times:
            format slot {_count} of player with yellow glass named " " to be unstealable
            add 9 to {_count}
        set {_count} to 28
        loop 7 times:
            format slot {_count} of player with yellow glass named " " to be unstealable
            add 1 to {_count} 
        set {_servercountcrea} to yaml value "crea.players" from "plugins/yaml/creastats.yml"
        set {_onlinecrea} to yaml value "crea.status" from "plugins/yaml/creastats.yml"
        if {_onlinecrea} is "online":
            format slot 11 of player with grass named "&aCréatif" with lore " ||&aOuvert ||&6%{_servercountcrea}% &ejoueurs connectés || ||&7Premier serveur de construction français sous forme de plots" to close then run [bungeecord connect player to "CreaServ1"]
        else:
            format slot 11 of player with grass named "&aCréatif" with lore " ||&cFermé || ||&7Premier serveur de construction français sous forme de plots" to close
        format slot 12 of player with 1 bed named "&cBedWars" with lore "||&7Traditionnel BedWars adapté au PvP Français|| " to close then run [bungeecord connect player to "BedServ1"]
        format slot 13 of player with diamond sword named "&eFaction" with lore "||&7Serveur &ePvP Faction &7unique basée sur le Farm2Win !" to close then run [bungeecord connect player to "FacServ1"]
        format slot 14 of player with crafting table named "&bCache-Cache" with lore "||&7Un cache-cache des plus simples, un chasseurs et des joueurs devant se cacher !|| " to close then run [bungeecord connect player to "CacheServ1"]

Capture.PNG

Captue.PNG

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...

Information importante

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.