Bonjour un ami à une erreur avec le skript de familiers:
[spoiler=Code familiers]
#
# ( ___) /__\ ( \/ ) (_ _) ( ) (_ _) ( ___) ( _ \ / __)
# )__) /(__)\ ) ( _)(_ )(__ _)(_ )__) ) / \__ \
# (__) (__)(__) (_/\/\_) (____) (____) (____) (____) (_)\_) (___/
#
#-------------------------------------------------------------------------------------------------------------------------------- |
#
# INFORMATIONS =
#
# ✪ Auteur : Mikioul
# ➔ Version : 1.3.1 - (08/08/2017)
# ➔ Type : Cosmetics pour serveur Minecraft (mini jeux de préférence)
#
# ➔ Lien Skript-mc : https://skript-mc.fr/forum/resources/familiers.1185/
# ➔ N'hésitez surtout pas a aller donner votre avis sur ma ressource : https://skript-mc.fr/forum/resources/familiers.1185/
#
# ➔ Me signaler un problème : https://skript-mc.fr/forum/conversations/add?to=Mikioul
#
# ➔ Soon :
# - Création personnelle de familiers ✔
# - Optimisation ✔
# - Ajout de familiers ✔
# - Compatibilité 1.12
#
# ➔ Addons :
# - Skquery
# - SkStuff
# - Tuske
# - Skelett
#⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊|
# |
# CONFIGURATION | ➔ Faites toute la configuration dans cette partie
# |
#⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊|
options:
# [ ✚ ] = Ne pas changer cette valeur, elle vérifie si le skript est a jour !
version: 1.3.1
CheckVersion: true # ➔ Il s'agit du message de MAJ (true = Activer | false = Désactiver)
# [ ✚ ] = Changer les préfix et messages Ici !
g_prefix: &f[&b&lFamiliers&f] # ➔ Ce réglage défini le "prefix" du skript, il apparaitra devant chaque message envoyer par le skript
gui_prefix: &8[&7Familiers&8] # ➔ Ce réglage défini le "prefix" des menus du skript, il apparaitra dans les menus du skript
NoPermission: &cVous n'avez pas la permission ! # ➔ Ce message apparaitra lorsqu'un joueur voulant faire une commande du skript n'a pas la permission
# [ ✚ ] = Activer/Désactiver une fonctionalitée Ici ! (true = Activer | false = Désactiver)
FamiliersPos: "right" # ➔ Il s'agit de l'emplacement du familier par rapport au joueur (right = Placer a droite | left = Placer a gauche)
FamilierPos2: "down" # ➔ Il s'agit de l'emplacement du familier par rapport au joueur (down = Il sera au sol | up = Il sera a la hauteur de l'épaule du joueur)
FamilierRemoveOnTeleport: false # ➔ Il s'agit du réglage pour supprimer le familier lors des téléportations (true = Activer | false = Désactiver)
FamilierRide: true # ➔ Il s'agit de permettre de monter sur les familiers des autres (true = Activer | false = Désactiver)
FamiliersAnimationToolChange: true # ➔ Il s'agit de l'ajout du bloc en main du joueur dans la main de l'armorstand quand il switch de slot (true = Activer | false = Désactiver)
FamiliersNameSet: false # ➔ Il s'agit d'activer ou non le nom des familiers (true = Activer | false = Désactiver)
FamiliersName: &6» &2Mini-%{_p}% # ➔ Définir le nom de base d'un familier ici (Code couleur = ON | Afficher le nom du joueur = %{_p}%)
FamilierMaxLengthName: 16 # ➔ Définir la taille maximum d'un nom
FamiliersAnimationSneak: true # ➔ Il s'agit de l'animation que le familier fait lorsque le joueur sneak (true = Activer | false = Désactiver)
FamiliersAnimationBras: true # ➔ Il s'agit de l'animation des bras du familier comme le joueur (true = Activer | false = Désactiver)
FamiliersAnimationAttack: true # ➔ Il s'agit de l'animation du familier quand le joueur tape (true = Activer | false = Désactiver)
FamiliersAnimationVue: true # ➔ Il s'agit de l'animation de la vue du familier qui s'adaptera a celle du joueur (true = Activer | false = Désactiver)
# napaslapermission: §4Vous n'avez pas la permission.
# alapermission: §aVous avez la permission.
napaslapermission: §7Accès ➔ §4§l✘
alapermission: §7Accès ➔ §a§l✔
# [ ✚ ] = Gérer les animations Ici ! (FamilierAnimation.. = true = Activer | false = Désactiver) (FamilierAnimation...Cooldown = <nombre> [C'est le temps avant que l'animation ne recommence])
FamiliersAnimationLantern: true # ➔ Animation = La lampe clignotera et disjonctera
FamiliersAnimationLanternCooldown: 5
#⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊|
# SAUVEGARDES | ➔ Endroit où sont stockés les têtes customs, merci de ne pas y toucher !
#⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊|
elf: {display:{Name:""&6&l» &eElf""},SkullOwner:{Id:""367ea5a0-cf6f-4993-9c7e-9f3466bf30ef"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmNlNjg1YmVhOGY2ZDk2NmU1MzNlMmFmNWJhYTU1NzdlMWE5OGY2Y2FkMTFiOGYwZjdmMjAxYmJlZjZlODIyIn19fQ==""}]}}}
evil: {display:{Name:""&6&l» &eDiable""},SkullOwner:{Id:""4c78699a-cc0e-f051-1361-003124c53d0d"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWE5OWQ4MjAzMGJiY2IyZGNhOGU0Y2Y4OTNjMzZkZjY1Nzg0OGYzM2I0ZTdlY2MxMzFmM2U3NmVkM2RkZGYifX19""}]}}}
panoramix: {display:{Name:""&6&l» &ePanoramix""},SkullOwner:{Id:""ec1d84e5-a48c-4f53-b1c5-672d7e63b418"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzRmYzJjZGE1ZTNiN2M4MzlkZmJkN2NjNzc1MjRjYWJmZTU4MzA1MTQ3MThiYzQxNDFhNjcyOGFiYjVkZDUxYiJ9fX0=""}]}}}
asterix: {display:{Name:""&6&l» &eAsterix""},SkullOwner:{Id:""8f2f43a8-2c2c-4a65-81a9-f7b5a49d876f"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWRjMTQ0M2QyYmI1MzU2YjliYjFkZjkyM2U2YTM5ZjJmNDQ2ZmU4OGU5NmQ0OGJlNTlhMGQ4ZDkxMzRjOWIyOSJ9fX0=""}]}}}
obelix: {display:{Name:""&6&l» &eObelix""},SkullOwner:{Id:""1df4ebcf-239e-4803-b644-5ea6b5f74b79"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGVmODM4NDI4MjQyMTQ1YTBkZWQ1ZWRkOTkyMTY4Nzk4ZGZmNDkzYzdkYjJjZjFiZTQ3YmRiZGM5Y2FlZSJ9fX0=""}]}}}
davy-jones: {display:{Name:""&6&l» &eDavy Jones""},SkullOwner:{Id:""8616bfe6-a8ad-48da-b557-65f26fe6a7e5"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2I0ZTYyMGU0YzU1ODZhYWYzZWI0ZWQwNzFlYzc3NjgxZDAxMWQ3ZTJhNmZhMWUzYWE3OTZmY2ZjN2VlNyJ9fX0=""}]}}}
dark-vador: {display:{Name:""&6&l» &eDark Vador""},SkullOwner:{Id:""8d0d9feb-8866-48d5-ab7f-28f4a8947925"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzFjM2UxZjIyNGI0NDZjY2FjNmE2Y2MzY2Q5ODkxMDE5YTEyMmY5OTY5MWMzOTA3OTkyYTNhZjk5YTIxYjAifX19""}]}}}
patrick: {display:{Name:""&6&l» &ePatrick""},SkullOwner:{Id:""c2ee5e5f-3b6e-41d5-b6ff-e41d6f66ff6c"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjk3MWI5Mjc3MjljNmVhY2UxNjU5M2IzM2E5ODZkNjE5NDNkNjJmNjk2MWRlNmRiNTk5YTgxOGIyYWYzMiJ9fX0=""}]}}}
spongebob: {display:{Name:""&6&l» &eBob L'éponge""},SkullOwner:{Id:""95972406-9912-4081-bb31-81c1d6801d98"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWU3MWVmMzlhZjRlMzNlYmNmNjlhNGJlNjM3OTU0M2M1MDE1YWFlYzc2YmFiNmZjM2Q4NjJhNzVkZmUzYzQ3In19fQ==""}]}}}
alien: {display:{Name:""&6&l» &eAlien""},SkullOwner:{Id:""4f10d9bb-82f4-4a5e-99a2-90b26c297805"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWYzMzMwMTNiNDdlNjRjZGU1YjE0NzEwNTk5NmRkYTNkMjNlZGY5MjhiZGZkZTdjMmY3OWYxNDdiM2U5Yzc5MSJ9fX0=""}]}}}
fantome: {display:{Name:""&6&l» &eFantome""},SkullOwner:{Id:""31152fb2-cb1e-45c3-86dd-b23f7a20a6f8"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjhkMjE4MzY0MDIxOGFiMzMwYWM1NmQyYWFiN2UyOWE5NzkwYTU0NWY2OTE2MTllMzg1NzhlYTRhNjlhZTBiNiJ9fX0=""}]}}}
golem-1: {display:{Name:""&6&l» &eGolem""},SkullOwner:{Id:""dbae206b-9b1d-46ee-9e15-44ce40061bb3"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjQyZjljM2Y3YWNiN2VlNTYyZmE1NWNiZTU0ZTFkY2M2MzgzMTRkMjVjMzk4NTU0ZWNkMzcyMGQ3ZWUyYiJ9fX0=""}]}}}
golem-2: {display:{Name:""&6&l» &eGolem""},SkullOwner:{Id:""675f0640-51ed-4766-83a3-94011a8f2bc9"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2U0MzU5ZGNhMjU0MjcyOTc1MzY2MWI0NGI3OWJjZDI1Nzc1ZDg0MzJjNzI3NDU1NDdjZjRjNWFmNThlM2EifX19""}]}}}
golem-3: {display:{Name:""&6&l» &eGolem""},SkullOwner:{Id:""7d2ac138-ce81-435c-be9d-93d6957b5f1d"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMDQxNjQ2YzAzZjhiNGNkYmJmODFmNzE2NGRkNjNhMjljOTYzYTZjNmNlYmZlMWNhZjE5YTJlZTkyYyJ9fX0=""}]}}}
bob-omb: {display:{Name:""&6&l» &eBob-omb""},SkullOwner:{Id:""5adcdc21-ed58-4b1d-995c-c5c77175f710"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDhlNGUxZDQ0OTQ2ZjhmOTY0OGE1YTY4ZmJjOTAzZGUxNjMyY2I1OTAxYjQ2ZGViNmM2MTk5MWVlZjFhNjQifX19""}]}}}
angry-bird: {display:{Name:""&6&l» &eAngry Bird""},SkullOwner:{Id:""297988ed-678d-471e-998e-15f10449f87f"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGY4OGFkZmQ1ZDM0ZDMxYjM2MmFiN2U5YWY0Mjk1MmU5NDkwZmUzZWEwMWNkYTg5ZDE0YjI0NjI1OWJiNDEifX19""}]}}}
donald: {display:{Name:""&6&l» &eDonald""},SkullOwner:{Id:""dca0f15b-62a8-4e73-bfe2-435514db6cdf"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWExOWUwYjBlZGMyZTJlZDU3YzNhZDYwNGRiODNhOTMxMzU0ZDRkNGQ2MTZmNmExMjIzMTE2N2Q0MzEyM2IifX19""}]}}}
chewbacca: {display:{Name:""&6&l» &eChewbacca""},SkullOwner:{Id:""6c71ac17-2955-4a27-9a53-1e325be13562"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2E5ZGIwODY2N2FhMmM5Mzg3OTE4ZjgzNzA0YmY4YzQxM2VlZDZmNDcxMjRhMTU5YTM2NDhkMTQ3ZTQ2YmYxIn19fQ==""}]}}}
minion: {display:{Name:""&6&l» &eMinion""},SkullOwner:{Id:""f3b78f79-4cf5-4c1b-8dae-21ca496518d7"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTMxODY3YTY5ODgwZGMxMjRjZjE3MzViZGVlZDI3ODhiZWM0ZjI2YjUyYjdkMzFhZWY5NjAxYzgwZjA4ODhlIn19fQ==""}]}}}
yoda: {display:{Name:""""&6&l» &eYoda""""},SkullOwner:{Id:""""d5c150d1-ec81-42b3-833f-69176fa9c1f5"""",Properties:{textures:[{Value:""""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjk0NWQzYWU3OTUyNmY1NDliOTVhNjhiNTc0YmU2YmNjNmNlZDA5MWY4MWQ0MGM5YTFiYTgxZTMwMjYzZCJ9fX0=""""}]}}}
sonic: {display:{Name:""&6&l» &eSonic""},SkullOwner:{Id:""f1fe8059-8276-4010-8f18-230763a8ad0d"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTZmOWVkYzgyM2IwNzU5YjQ3YmYxMjY4ZmVlYzYwNjQ0ZGQxZTAxZTliY2ZkMmE2NTA3YWRhYTc0Y2E3MTBmOCJ9fX0=""}]}}}
elmo: {display:{Name:""&6&l» &eElmo""},SkullOwner:{Id:""1a24ea0f-86b6-4e25-9939-8413261d131d"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTFkMTJlM2RiZDQ1ZWFhNjllY2Y2OTgxOTZjMzYxZmY4NDQ5NTUyY2I0NTJkNmM2Zjc1Yjk2NjZhOWNjMmUifX19""}]}}}
rubik_s-cube: {display:{Name:""&6&l» &eRubik's Cube""},SkullOwner:{Id:""7c6cf235-5edb-4087-b105-f6398311f0e5"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzM2ZWRjZmIwNzgxNGEzYjFjZTE4OTNmMmRhZGRkYmRhMDExMTY0ZDkwZjBiYTMwNzYzYzIyYzhjNjMifX19""}]}}}
beachball: {display:{Name:""&6&l» &eBeachball""},SkullOwner:{Id:""a26ea47e-279a-4e92-acf5-f11c6f3f6201"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWE1YWIwNWVhMjU0YzMyZTNjNDhmM2ZkY2Y5ZmQ5ZDc3ZDNjYmEwNGU2YjVlYzJlNjhiM2NiZGNmYWMzZmQifX19""}]}}}
lantern: {display:{Name:""&6&l» &eLanterne""},SkullOwner:{Id:""8c0662db-972a-4039-a360-3dc1a938390d"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2NjMjE3YTliOWUzY2UzY2QwNDg0YzdlOGNlNDlkMWNmNzQxMjgxYmRkYTVhNGQ2Y2I4MjFmMzc4NzUyNzE4In19fQ==""}]}}}
lantern-off: {display:{Name:""&6&l» &eLanterne-off""},SkullOwner:{Id:""b74968df-8511-4dec-b5d7-58f31e2144c4"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDJjODFiNDM1ZGMyMmQyOWQ0Nzc4ZmZkMjJmZWI4NDZhNjhiNjQ4ZGQxYWY1ZGU4MThiNTE3ZjA1NzRkIn19fQ==""}]}}}
speakers: {display:{Name:""&6&l» &eHaut parleur""},SkullOwner:{Id:""6b87c6e1-3cb7-4f9c-a98d-346bd75a6b21"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmU5OWY2Njk3MjVkMjM1ODYzNmFlMmY1YmMzNDM5ZDY2Nzg0OWRhYTg0NjJhZjkzYTQyZTIxMmFmMTJiMmEifX19""}]}}}
present: {display:{Name:""&6&l» &eCadeau""},SkullOwner:{Id:""13e135fb-348f-4c6a-99e3-e6e3aa385e73"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTI4ZTY5MmQ4NmUyMjQ0OTc5MTVhMzk1ODNkYmUzOGVkZmZkMzljYmJhNDU3Y2M5NWE3YWMzZWEyNWQ0NDUifX19""}]}}}
teal-dice: {display:{Name:""&6&l» &eDé""},SkullOwner:{Id:""2c932936-26ba-4d3d-9c7b-4c9392c6717c"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjg4ZmE5NzNlYTQ0NGNjODA4NzY4ZWE0OGJmMjY1N2FlOWE1NmMwYWY2MDI3NWU4NDQ2M2IxOTU2MjliY2UifX19""}]}}}
air-orb: {display:{Name:""&6&l» &eAir Orb""},SkullOwner:{Id:""7154ed4c-c585-4d90-9f91-4b5f2f66caf4"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjgyMjAyODJmMmVlNTk5NTExYjRmYzc0NjExMWM5NzM2ZDdiNDkxZThiY2ZiNjQ4YThhMTU2MjkyODFlZTUifX19""}]}}}
panda: {display:{Name:""&6&l» &ePanda""},SkullOwner:{Id:""037eade6-2fc5-4eca-a0ae-a1b54239cd34"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODAxOGExNzcxZDY5YzExYjhkYWQ0MmNkMzEwMzc1YmEyZDgyNzkzMmIyNWVmMzU3ZjdlNTcyYzFiZDBmOSJ9fX0=""}]}}}
turtle: {display:{Name:""&6&l» &eTortue""},SkullOwner:{Id:""ef56c7a3-a5e7-4a7f-9786-a4b6273a591d"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTJlNTQ4NDA4YWI3NWQ3ZGY4ZTZkNWQyNDQ2ZDkwYjZlYzYyYWE0ZjdmZWI3OTMwZDFlZTcxZWVmZGRmNjE4OSJ9fX0=""}]}}}
bee: {display:{Name:""&6&l» &eAbeille""},SkullOwner:{Id:""bc1ca880-4dc5-4d17-9c05-027a7d3999b3"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTQ3MzIyZjgzMWUzYzE2OGNmYmQzZTI4ZmU5MjUxNDRiMjYxZTc5ZWIzOWM3NzEzNDlmYWM1NWE4MTI2NDczIn19fQ==""}]}}}
fish: {display:{Name:""&6&l» &ePoisson""},SkullOwner:{Id:""1cefa20f-693a-4a6f-a3fb-7efe2affe62c"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzNiMTk1NWQzYjZlYjQyZjUwZTUzNmMxYTMyODVhYjczZWQ3ZTJiZTA1MWIwOWIyMWUxNzgxMWYxYTZkIn19fQ==""}]}}}
owl: {display:{Name:""&6&l» &eChouette""},SkullOwner:{Id:""a4388936-115c-f194-b976-ac46f35c775f"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzllMmUxM2ZiZTY2YzIzZDgwZTE0YmEwOGNjMjk1Y2QzNjQ0MWQ4ZmNmM2VjZWQzZWM4ODdjZTM5YjM5NTMifX19""}]}}}
little-dog: {display:{Name:""&6&l» &eChien""},SkullOwner:{Id:""d025f765-dd70-4e59-b46c-61fbbed638e7"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmIyZjk3Yjk1MGE4MDMxNTAxOGViYmEyZTU4ZWViNTQ3MThlMjY5MDY2MmNlOWRkZmRjZWRlYzU1NGMyNyJ9fX0=""}]}}}
rabbit: {display:{Name:""&6&l» &eRabbit""},SkullOwner:{Id:""69c0df0d-3fb6-4ad1-8a40-eaa950470aa4"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZThhNGZiMjVhZmJjNmI3YWVjMTVhYmU4NzJmY2VhZDFlNWIzM2MxYWIxMjUyNTE0MWQ3N2JmZDI5OGZjMzJkOSJ9fX0=""}]}}}
pug: {display:{Name:""&6&l» &ePug""},SkullOwner:{Id:""39a14194-8107-4b74-982f-e9770023d1fd"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzVmMjQyZWNlNmRkNzk5YTcyMmRjYmVlNTY1ZGU4ZWM0MWQwMTcyM2VmYWU1Mzg2ZDgxMzY5OWM3ZTM5ZmIifX19""}]}}}
Arrow Left: {display:{Name:""&6&l« &ePage Précédente""},SkullOwner:{Id:""63dcc361-6c3e-42ed-87ec-01c356c8a6d9"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzM3NjQ4YWU3YTU2NGE1Mjg3NzkyYjA1ZmFjNzljNmI2YmQ0N2Y2MTZhNTU5Y2U4YjU0M2U2OTQ3MjM1YmNlIn19fQ==""}]}}}
Arrow Right: {display:{Name:""&6&l» &ePage Suivante""},SkullOwner:{Id:""69e2e99e-7009-440e-a6d1-75b1c2ca5b6a"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWE0ZjY4YzhmYjI3OWU1MGFiNzg2ZjlmYTU0Yzg4Y2E0ZWNmZTFlYjVmZDVmMGMzOGM1NGM5YjFjNzIwM2Q3YSJ9fX0=""}]}}}
#⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊|
# CODE | ➔ Cette partie concerne le développement du skript, Vous pouvez y toucher seulement si vous vous y connaissez un minimum, attention avec les mise a jour, elles pourraient effacer vos modifications
#⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊|
# [ ✚ ] = Detection des mise a jour
#-------------------------------------------------------------------------------------------------------------------------------- |
on join:
if {@CheckVersion} is true:
if player have permission "familier.update" or "familier.*":
if text from "https://pastebin.com/raw/4Ai2f9w4" isn't "{@version}":
wait 1 seconds
send "{@g_prefix}&c Une Mise a jour est disponible !" to player
send "https://skript-mc.fr/forum/resources/familiers.1185/" to player
# [ ✚ ] = Commande Principale
#-------------------------------------------------------------------------------------------------------------------------------- |
command /familiers [<text>] [<text>]:
aliases: familier,pet
trigger:
if player has permission "familier.use" or "familier.*":
if arg 1 is not set:
Familiers(player, "1")
if arg 1 is "help":
send "&4&m----------&c&m--------&6&m------&e&m-----&6&m------&c&m--------&4&m----------"
message centered "&8&lFAMILIERS" to player
# send ""
# message centered "&3/familiers add &b(en tenant l'item/bloc dans la main)" to player
# message centered "&3/familiers rename &b<nom>" to player
send ""
message centered "&aComment l'utiliser » &f&o/familiers" to player
message centered "&aPuis choisissez votre familier !" to player
# if arg 1 is "rename":
# if arg 2 is set:
# if {familier.%player%} is set:
# set {_length} to length of the string argument-2
# if {_length} <= {@FamilierMaxLengthName}:
# add "{CustomName:%colored arg-2%}" to nbt of {fam.%player%}
# else:
# send "{@g_prefix} &cLa taille maximum du nom doit etre de : &f&o{@FamilierMaxLengthName} &c!"
# else:
# send "{@g_prefix} &cVous n'avez pas de familier !"
# else:
# send "{@g_prefix} &cVeuillez préciser un nom !"
else:
show an action bar from "{@NoPermission}" to player
# [ ✚ ] = PARTIE FAMILIERS ARMORSTAND | ➔ Functions
#-------------------------------------------------------------------------------------------------------------------------------- |
function Familiers(p: player, page: text):
if {_page} is "1":
open virtual chest inventory with size 6 named "{@gui_prefix} &7» &fPage &f&l1" to {_p}
if {_p} has permission "familier.spawn.player" or "familier.spawn.*" or "familier.*":
format gui slot 1 of {_p} with Skull of {_p} named "&6&l» &e%{_p}%" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","player", "0", "0", "3055850", "948670")
else:
format gui slot 1 of {_p} with Skull of {_p} named "&6&l» &e%{_p}%" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.elf" or "familier.spawn.*" or "familier.*":
format gui slot 2 of {_p} with player head with custom nbt "{@elf}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","elf", "{@elf}", "12784419", "16777215", "12784419")
else:
format gui slot 2 of {_p} with player head with custom nbt "{@elf}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.evil" or "familier.spawn.*" or "familier.*":
format gui slot 3 of {_p} with player head with custom nbt "{@evil}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","evil", "{@evil}", "10691850", "11092228", "10691850")
else:
format gui slot 3 of {_p} with player head with custom nbt "{@evil}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.alien " or "familier.spawn.*" or "familier.*":
format gui slot 4 of {_p} with player head with custom nbt "{@alien}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","alien", "{@alien}", "4638244", "5298220", "7923546")
else:
format gui slot 4 of {_p} with player head with custom nbt "{@alien}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.golem" or "familier.spawn.*" or "familier.*":
format gui slot 5 of {_p} with player head with custom nbt "{@golem-1}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","golem", "{@golem-1}", "4210752", "0", "1779495")
else:
format gui slot 5 of {_p} with player head with custom nbt "{@golem-1}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.golem-2" or "familier.spawn.*" or "familier.*":
format gui slot 6 of {_p} with player head with custom nbt "{@golem-2}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","golem-2", "{@golem-2}", "5252646", "0", "4070685")
else:
format gui slot 6 of {_p} with player head with custom nbt "{@golem-2}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.golem-3" or "familier.spawn.*" or "familier.*":
format gui slot 7 of {_p} with player head with custom nbt "{@golem-3}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","golem-3", "{@golem-3}", "2372182", "0", "1910334")
else:
format gui slot 7 of {_p} with player head with custom nbt "{@golem-3}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.fantome" or "familier.spawn.*" or "familier.*":
format gui slot 10 of {_p} with player head with custom nbt "{@fantome}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","fantome", "{@fantome}", "15066853", "0", "0")
else:
format gui slot 10 of {_p} with player head with custom nbt "{@fantome}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.davy_jones" or "familier.spawn.*" or "familier.*":
format gui slot 11 of {_p} with player head with custom nbt "{@davy-jones}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","davy_jones", "{@davy-jones}", "2376241", "2376241", "0")
else:
format gui slot 11 of {_p} with player head with custom nbt "{@davy-jones}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.dark_vador" or "familier.spawn.*" or "familier.*":
format gui slot 12 of {_p} with player head with custom nbt "{@dark-vador}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","dark_vador", "{@dark-vador}", "0", "0", "0")
else:
format gui slot 12 of {_p} with player head with custom nbt "{@dark-vador}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.spongebob" or "familier.spawn.*" or "familier.*":
format gui slot 13 of {_p} with player head with custom nbt "{@spongebob}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","spongebob", "{@spongebob}", "15393629", "16623378", "15393629")
else:
format gui slot 13 of {_p} with player head with custom nbt "{@spongebob}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.patrick" or "familier.spawn.*" or "familier.*":
format gui slot 14 of {_p} with player head with custom nbt "{@patrick}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","patrick", "{@patrick}", "14717113", "7794223", "14717113")
else:
format gui slot 14 of {_p} with player head with custom nbt "{@patrick}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.panoramix" or "familier.spawn.*" or "familier.*":
format gui slot 15 of {_p} with player head with custom nbt "{@panoramix}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","panoramix", "{@panoramix}", "16777215", "16777215", "8960206")
else:
format gui slot 15 of {_p} with player head with custom nbt "{@panoramix}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.asterix" or "familier.spawn.*" or "familier.*":
format gui slot 16 of {_p} with player head with custom nbt "{@asterix}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","asterix", "{@asterix}", "135447", "16256300", "14375219")
else:
format gui slot 16 of {_p} with player head with custom nbt "{@asterix}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.obelix" or "familier.spawn.*" or "familier.*":
format gui slot 19 of {_p} with player head with custom nbt "{@obelix}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","obelix", "{@obelix}", "6341602", "16777215", "14375219")
else:
format gui slot 19 of {_p} with player head with custom nbt "{@obelix}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.bob_omb" or "familier.spawn.*" or "familier.*":
format gui slot 20 of {_p} with player head with custom nbt "{@bob-omb}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","bob_omb", "{@bob-omb}", "3882574", "3882574", "14527758")
else:
format gui slot 20 of {_p} with player head with custom nbt "{@bob-omb}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.angry_bird" or "familier.spawn.*" or "familier.*":
format gui slot 21 of {_p} with player head with custom nbt "{@angry-bird}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","angry_bird", "{@angry-bird}", "15871532", "12258828", "16555011")
else:
format gui slot 21 of {_p} with player head with custom nbt "{@angry-bird}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.donald" or "familier.spawn.*" or "familier.*":
format gui slot 22 of {_p} with player head with custom nbt "{@donald}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","donald", "{@donald}", "2007030", "16777215", "15571207")
else:
format gui slot 22 of {_p} with player head with custom nbt "{@donald}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.chewbacca" or "familier.spawn.*" or "familier.*":
format gui slot 23 of {_p} with player head with custom nbt "{@chewbacca}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","chewbacca", "{@chewbacca}", "5583623", "6174984", "5583623")
else:
format gui slot 23 of {_p} with player head with custom nbt "{@chewbacca}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.yoda" or "familier.spawn.*" or "familier.*":
format gui slot 24 of {_p} with player head with custom nbt "{@yoda}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","yoda", "{@yoda}", "16769208", "16769208", "3700484")
else:
format gui slot 24 of {_p} with player head with custom nbt "{@yoda}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.minion" or "familier.spawn.*" or "familier.*":
format gui slot 25 of {_p} with player head with custom nbt "{@minion}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","minion", "{@minion}", "16115456", "884620", "0")
else:
format gui slot 25 of {_p} with player head with custom nbt "{@minion}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.sonic" or "familier.spawn.*" or "familier.*":
format gui slot 28 of {_p} with player head with custom nbt "{@sonic}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","sonic", "{@sonic}", "1127124", "1127124", "16057088")
else:
format gui slot 28 of {_p} with player head with custom nbt "{@sonic}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.elmo" or "familier.spawn.*" or "familier.*":
format gui slot 29 of {_p} with player head with custom nbt "{@elmo}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "armor","elmo", "{@elmo}", "13896739", "13896739", "13896739")
else:
format gui slot 29 of {_p} with player head with custom nbt "{@elmo}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.rubik_cube" or "familier.spawn.*" or "familier.*":
format gui slot 30 of {_p} with player head with custom nbt "{@rubik_s-cube}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","rubik_cube", "{@rubik_s-cube}", "", "", "")
else:
format gui slot 30 of {_p} with player head with custom nbt "{@rubik_s-cube}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.beachball" or "familier.spawn.*" or "familier.*":
format gui slot 31 of {_p} with player head with custom nbt "{@beachball}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","beachball", "{@beachball}", "", "", "")
else:
format gui slot 31 of {_p} with player head with custom nbt "{@beachball}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.lantern" or "familier.spawn.*" or "familier.*":
format gui slot 32 of {_p} with player head with custom nbt "{@lantern}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","lantern", "{lantern}", "", "", "")
else:
format gui slot 32 of {_p} with player head with custom nbt "{@lantern}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.speakers" or "familier.spawn.*" or "familier.*":
format gui slot 33 of {_p} with player head with custom nbt "{@speakers}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","speakers", "{@speakers}", "", "", "")
else:
format gui slot 33 of {_p} with player head with custom nbt "{@speakers}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.present" or "familier.spawn.*" or "familier.*":
format gui slot 34 of {_p} with player head with custom nbt "{@present}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","present", "{@present}", "", "", "")
else:
format gui slot 34 of {_p} with player head with custom nbt "{@present}" with lore "||{@napaslapermission}" to do nothing
format gui slot 50 of {_p} with player head with custom nbt "{@Arrow Right}" with lore "||{@alapermission}" to run function Familiers({_p}, "2")
if {_page} is "2":
open virtual chest inventory with size 6 named "{@gui_prefix} &7» &fPage &f&l2" to {_p}
if {_p} has permission "familier.spawn.teal_dice" or "familier.spawn.*" or "familier.*":
format gui slot 1 of {_p} with player head with custom nbt "{@teal-dice}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","teal_dice", "{@teal-dice}", "", "", "")
else:
format gui slot 1 of {_p} with player head with custom nbt "{@teal-dice}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.air_orb" or "familier.spawn.*" or "familier.*":
format gui slot 2 of {_p} with player head with custom nbt "{@air-orb}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","air_orb", "{@air-orb}", "", "", "")
else:
format gui slot 2 of {_p} with player head with custom nbt "{@air-orb}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.panda" or "familier.spawn.*" or "familier.*":
format gui slot 3 of {_p} with player head with custom nbt "{@panda}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","panda", "{@panda}", "", "", "")
else:
format gui slot 3 of {_p} with player head with custom nbt "{@panda}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.turtle" or "familier.spawn.*" or "familier.*":
format gui slot 4 of {_p} with player head with custom nbt "{@turtle}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","turtle", "{@turtle}", "", "", "")
else:
format gui slot 4 of {_p} with player head with custom nbt "{@turtle}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.bee" or "familier.spawn.*" or "familier.*":
format gui slot 5 of {_p} with player head with custom nbt "{@bee}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","bee", "{@bee}", "", "", "")
else:
format gui slot 5 of {_p} with player head with custom nbt "{@bee}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.fish" or "familier.spawn.*" or "familier.*":
format gui slot 6 of {_p} with player head with custom nbt "{@fish}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","fish", "{@fish}", "", "", "")
else:
format gui slot 6 of {_p} with player head with custom nbt "{@fish}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.owl" or "familier.spawn.*" or "familier.*":
format gui slot 7 of {_p} with player head with custom nbt "{@owl}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","owl", "{@owl}", "", "", "")
else:
format gui slot 7 of {_p} with player head with custom nbt "{@owl}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.little_dog" or "familier.spawn.*" or "familier.*":
format gui slot 8 of {_p} with player head with custom nbt "{@little-dog}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","little_dog", "{@little-dog}", "", "", "")
else:
format gui slot 8 of {_p} with player head with custom nbt "{@little-dog}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.rabbit" or "familier.spawn.*" or "familier.*":
format gui slot 10 of {_p} with player head with custom nbt "{@rabbit}" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","rabbit", "{@rabbit}", "", "", "")
else:
format gui slot 10 of {_p} with player head with custom nbt "{@rabbit}" with lore "||{@napaslapermission}" to do nothing
if {_p} has permission "familier.spawn.pug" or "familier.spawn.*" or "familier.*":
format gui slot 11 of {_p} with player head with custom nbt "{@pug}" with lore "||§7Permission ➔ §a§l✔" with lore "||{@alapermission}" to run function Runfamiliers({_p}, "only-head","pug", "{@pug}", "", "", "")
else:
format gui slot 11 of {_p} with player head with custom nbt "{@pug}" with lore "||{@napaslapermission}" to do nothing
format gui slot 48 of {_p} with player head with custom nbt "{@Arrow Left}" with lore "||{@alapermission}" to run function Familiers({_p}, "1")
format gui slot 49 of {_p} with barrier named "&4» &cSupprimer le familier" to run:
delete {familier.%{_p}%}
kill {fam.%{_p}%}
close {_p}' inventory
# [ ✚ ] = PARTIE FAMILIERS GET ARMORSTAND | ➔ Functions
#-------------------------------------------------------------------------------------------------------------------------------- |
function Runfamiliers(p: player, type: text,familier: text, h: text, c: text, l: text, b: text):
if {_p} has permission "familier.spawn.%{_familier}%" or "familier.spawn.*" or "familier.*":
if {familier.%{_p}%} is set:
close {_p}'s inventory
send "{@g_prefix} &cVos avez déjà un familier actif, merci de le supprimer" to {_p}
else:
set {familier.%{_p}%} to "%{_familier}%"
set {familier.ch-it.%{_p}%} to "%{_type}%"
close {_p}'s inventory
kill {fam.%{_p}%}
wait 2 ticks
if {@FamilierPos2} is "up":
set {_o} to location of {_p}'s head
remove 0.5 from y coord of {_o}
if {@FamilierPos2} is "down":
set {_o} to location of {_p}
{_type} isn't "armor"
remove 0.3 from y coord of {_o}
set {_o} to location .7 right of {_o}
spawn an armor stand at {_o}
set {fam.%{_p}%} to spawned entity
set {protect.%{fam.%{_p}%}%} to true
set tool of {fam.%{_p}%} to tool of {_p}
if {@FamiliersNameSet} is true:
add "{NoGravity:1b,Invulnerable:1,NoBasePlate:1,DisabledSlots:2039583,ShowArms:1,Small:1,CustomNameVisible:1,CustomName:{@FamiliersName},Pose:{LeftArm:[-10f,0f,-10f]},Pose:{RightArm:[-10f,0f,10f]}}" to nbt of {fam.%{_p}%}
if {@FamiliersNameSet} is false:
add "{NoGravity:1b,Invulnerable:1,NoBasePlate:1,DisabledSlots:2039583,ShowArms:1,Small:1,Pose:{LeftArm:[-10f,0f,-10f]},Pose:{RightArm:[-10f,0f,10f]}}" to nbt of {fam.%{_p}%}
if {_type} is "armor":
if {_familier} is set:
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "%{_h}%"
set armor stand chestplate of {fam.%{_p}%} to leather chestplate with custom nbt "{display:{color:%{_c}%}}"
set armor stand leggings of {fam.%{_p}%} to leather leggings with custom nbt "{display:{color:%{_l}%}}"
set armor stand boots of {fam.%{_p}%} to leather boots with custom nbt "{display:{color:%{_b}%}}"
FamilierAnimation({_p}, "%{_familier}%")
if {_familier} is "player":
set armor stand helmet of {fam.%{_p}%} to {_p}'s skull
set armor stand chestplate of {fam.%{_p}%} to diamond chestplate
FamilierAnimation({_p}, "player")
if {_familier} is "fantome":
add "{Invisible:1}" to nbt of {fam.%{_p}%}
set armor stand leggings of {fam.%{_p}%} to air
set armor stand boots of {fam.%{_p}%} to air
FamilierAnimation({_p}, "fantome")
if {_type} is "only-head":
set tool of {fam.%{_p}%} to air
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "%{_h}%"
set armor stand chestplate of {fam.%{_p}%} to air
set armor stand leggings of {fam.%{_p}%} to air
set armor stand boots of {fam.%{_p}%} to air
add "{Invisible:1}" to nbt of {fam.%{_p}%}
FamilierAnimation({_p}, "%{_familier}%")
while {familier.%{_p}%} is set:
if {@FamiliersAnimationVue} is true:
if {familier.ch-it.%{_p}%} is "armor":
add "{Pose:{Head:[%{_p}'s pitch%f,0f,0f]}}" to nbt of {fam.%{_p}%}
if {@FamilierPos2} is "up":
set {_o} to location of {_p}'s head
remove 0.5 from y coord of {_o}
if {@FamilierPos2} is "down":
set {_o} to location of {_p}
#remove 0.5 from y coord of {_o}
set pitch of {_o} to 0
if {@FamiliersPos} is "right":
set {_o} to location .7 right of {_o}
if {@FamiliersPos} is "left":
set {_o} to location .7 left of {_o}
if {@FamiliersAnimationSneak} is true:
if {_p} is sneaking:
add "{Marker:1b}" to nbt of {fam.%{_p}%}
teleport {fam.%{_p}%} to {_o}
else:
add "{Pose:{Body:[0f,0f,0f]}}" to nbt of {fam.%{_p}%}
teleport {fam.%{_p}%} to {_o}
if {@FamiliersAnimationToolChange} is true:
if {familier.ch-it.%{_p}%} is "armor":
set tool of {fam.%{_p}%} to tool of {_p}
else:
set tool of {fam.%{_p}%} to air
wait 1 ticks
else:
send "{@NoPermission}" to {_p}
# [ ✚ ] = PARTIE FAMILIERS ANIMATIONS | ➔ Functions
#-------------------------------------------------------------------------------------------------------------------------------- |
function FamilierAnimation(p: player, anim: text):
if {_anim} is "lantern":
if {@FamiliersAnimationLantern} is true:
while {familier.%{_p}%} is "lantern":
loop 3 times:
if {familier.%{_p}%} is "lantern":
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern-off}"
wait 0.2 seconds
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern}"
wait 0.5 seconds
loop 3 times:
if {familier.%{_p}%} is "lantern":
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern-off}"
wait 0.2 seconds
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern}"
wait 0.3 seconds
loop 3 times:
if {familier.%{_p}%} is "lantern":
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern-off}"
wait 0.2 seconds
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern}"
wait 0.5 seconds
loop 5 times:
if {familier.%{_p}%} is "lantern":
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern-off}"
wait 0.1 seconds
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern}"
wait 0.1 seconds
if {familier.%{_p}%} is "lantern":
set armor stand helmet of {fam.%{_p}%} to player head with custom nbt "{@lantern-off}"
wait {@FamiliersAnimationLanternCooldown} seconds
if {@FamiliersAnimationBras} is true:
wait 1.5 seconds
while {familier.%{_p}%} is set:
set {_leftA} to -10
set {_leftB} to 10
loop 10 times:
if {familier.%{_p}%} is set:
add "{Pose:{LeftArm:[-10f,0f,%{_leftA}%f]}}" to nbt of {fam.%{_p}%}
add "{Pose:{RightArm:[-10f,0f,%{_leftB}%f]}}" to nbt of {fam.%{_p}%}
remove 1 from {_leftA}
add 1 to {_leftB}
wait 1.8 ticks
else:
stop
loop 10 times:
if {familier.%{_p}%} is set:
add "{Pose:{LeftArm:[-10f,0f,%{_leftA}%f]}}" to nbt of {fam.%{_p}%}
add "{Pose:{RightArm:[-10f,0f,%{_leftB}%f]}}" to nbt of {fam.%{_p}%}
add 1 to {_leftA}
remove 1 from {_leftB}
else:
stop
wait 1.8 ticks
wait 1 seconds
# [ ✚ ] = PARTIE FAMILIERS| ➔ Système
#-------------------------------------------------------------------------------------------------------------------------------- |
on left click:
if {@FamiliersAnimationAttack} is true:
if {familier.%player%} is set:
if {familier.ch-it.%player%} is "armor":
set {_count} to 10
loop 5 times:
add "{Pose:{RightArm:[-%{_count}%f]}}" to nbt of {fam.%player%}
add 18 to {_count}
wait 0.5 ticks
set {_count} to 10
loop 5 times:
add "{Pose:{RightArm:[%{_count}%f]}}" to nbt of {fam.%player%}
add 18 to {_count}
wait 0.5 ticks
add "{Pose:{RightArm:[-10f,0f,0f]}}" to nbt of {fam.%player%}
on damage:
if victim is an armor stand:
if {protect.%victim%} is set:
cancel event
on quit:
delete {familier.%player%}
delete {familier.ch-it.%player%}
kill {fam.%player%}
delete {fam.%player%}
on teleport:
if {@FamilierRemoveOnTeleport} is true:
if {familier.%player%} is set:
delete {familier.%player%}
delete {familier.ch-it.%player%}
kill {fam.%player%}
delete {fam.%player%}
else:
stop
on right click on an armor stand:
if {@FamilierRide} is true:
if {protect.%clicked entity%} is set:
if {familier.%player%} is not set:
make player ride clicked entity
else:
send "{@g_prefix} &cVous avez déjà un familier, vous ne pouvez pas monter sur d'autres familiers"
#⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊|
# |
# FIN DU CODE | ➔ Le code est fini ! Merci d'avoir télécharger mon Skript ! Version : 1.3.1
# |
#⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊|
#-------------------------------------------------------------------------------------------------------------------------------- |
[spoiler=erreur console]
[19:26:54] [server thread/ERROR]: #!#!
[19:26:54] [server thread/ERROR]: #!#! [skript] Severe Error:
[19:26:54] [server thread/ERROR]: #!#! Could not load Familiers.sk
[19:26:54] [server thread/ERROR]: #!#!
[19:26:54] [server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[19:26:54] [server thread/ERROR]: #!#! This issue is NOT your fault! You can't probably fix it yourself, either.
[19:26:54] [server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[19:26:54] [server thread/ERROR]: #!#! Here is full list of them:
[19:26:54] [server thread/ERROR]: #!#! skRayFall (http://sk.rayfall.net/) Sketch SkStuff WildSkript (http://www.dzikoysk.net/) SkQuery Skellett (https://forums.skunity.com/topic/4902/skellett) Umbaska TuSKe
[19:26:54] [server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[19:26:54] [server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[19:26:54] [server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[19:26:54] [server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[19:26:54] [server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[19:26:54] [server thread/ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
[19:26:54] [server thread/ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)
[19:26:54] [server thread/ERROR]: #!#!
[19:26:54] [server thread/ERROR]: #!#! Stack trace:
[19:26:54] [server thread/ERROR]: #!#! java.lang.NullPointerException
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.function.Functions.registerCaller(Functions.java:96)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.function.FunctionReference.validateFunction(FunctionReference.java:167)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parseFunction(SkriptParser.java:1130)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.function.EffFunctionCall.parse(EffFunctionCall.java:45)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Statement.parse(Statement.java:46)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:842)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:928)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:928)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:471)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:526)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:333)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:345)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:360)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:188)
[19:26:54] [server thread/ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[19:26:54] [server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
[19:26:54] [server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646)
[19:26:54] [server thread/ERROR]: #!#! at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:580)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.Skript.dispatchCommand(Skript.java:1097)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.effects.EffCommand.execute(EffCommand.java:84)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:220)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:182)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:269)
[19:26:54] [server thread/ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:164)
[19:26:54] [server thread/ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[19:26:54] [server thread/ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[19:26:54] [server thread/ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[19:26:54] [server thread/ERROR]: #!#! at java.lang.reflect.Method.invoke(Method.java:498)
[19:26:54] [server thread/ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
[19:26:54] [server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[19:26:54] [server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[19:26:54] [server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1343)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[19:26:54] [server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[19:26:54] [server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668)
[19:26:54] [server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567)
[19:26:54] [server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:745)
[19:26:54] [server thread/ERROR]: #!#!
[19:26:54] [server thread/ERROR]: #!#! Version Information:
[19:26:54] [server thread/ERROR]: #!#! Skript: 2.2-dev30b (custom version)
[19:26:54] [server thread/ERROR]: #!#! Bukkit: 1.10.2-R0.1-SNAPSHOT
[19:26:54] [server thread/ERROR]: #!#! Minecraft: 1.10.2
[19:26:54] [server thread/ERROR]: #!#! Java: 1.8.0_72 (Java HotSpot(TM) 64-Bit Server VM 25.72-b15)
[19:26:54] [server thread/ERROR]: #!#! OS: Linux amd64 3.16.0-4-amd64
[19:26:54] [server thread/ERROR]: #!#!
[19:26:54] [server thread/ERROR]: #!#! Running CraftBukkit: false
[19:26:54] [server thread/ERROR]: #!#! Running Spigot (or compatible): true
[19:26:54] [server thread/ERROR]: #!#! Running Paper (or compatible): false
[19:26:54] [server thread/ERROR]: #!#!
[19:26:54] [server thread/ERROR]: #!#! Current node: Familiers(player, "1") (Familiers.sk, line 146)
[19:26:54] [server thread/ERROR]: #!#! Current item: null
[19:26:54] [server thread/ERROR]: #!#! Thread: Server thread
[19:26:54] [server thread/ERROR]: #!#!
[19:26:54] [server thread/ERROR]: #!#! Language: english
[19:26:54] [server thread/ERROR]: #!#! Link parse mode: DISABLED
[19:26:54] [server thread/ERROR]: #!#!
[19:26:54] [server thread/ERROR]: #!#! End of Error.
[19:26:54] [server thread/ERROR]: #!#!
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.
Question
LeCraftDeOuf
Bonjour un ami à une erreur avec le skript de familiers:
[spoiler=Code familiers]
[spoiler=erreur console]
il à ceci comme erreur dans la console: Ses
addons : skellett, sketch, skquery 3, skquery 4, tuske, skrayfall, skstuff, umbaska.
version 1.10
Merci :)
4 réponses à cette question
Messages recommandés