Aller au contenu

Give d'item lors de chaque connexion


Messages recommandés

Posté(e)

Bonjour, alors voilà j'aimerai avoir un skript qui donne des items lors de chaque connexion. Je m'explique :

 

C'est pour un serveur pvp/potion, donc des que la personne se connecte, un stuff lui est donné. Mais sans que la personne fasse une commande

 

Je ne sais pas si je me suis bien exprimé mais dites le moi si c'est le cas, merci !

Posté(e)

On Join:
   give 1 (id de ton objet) named "&(couleur que tu veux) nom" to the player

 

Tu n'es pas obligé de mettre named " ..... c'est juste si tu veux que l'objet givé soit renommé.

et le 1 après le give représente la quantité

 

exemple:

 

on join:
   give 5 49 named "&5Super Obsidienne" to the player

 

ça va me give à chaque connexion 5 obsidienne nommé Super Obsidienne (en violet).

Posté(e)

aliases:
   potion-soin =                #Met id apres le égal .exemple: stone = 1
   potion-rapide =
   potion-feu =




on join:
   make player execute command "/kitjoin"

command "/kitjoin":
   trigger:
       equip player with diamond helmet of protection 2 , unbreaking 3 named "Un Nom"           
       equip player with diamond chestplate of protection 2 , unbreaking 3 named "Un Nom"
       equip player with diamond leggings of protection 2 , unbreaking 3 named "Un Nom"
       equip player with diamond boots of protection 2 , unbreaking 3 named "Un Nom"

       give Diamond sword of sharpness 2 , unbreaking 3 named "Un Nom" to player

       give 21 potion-soin to player
       give 1 potion-rapide to player
       give 1 potion-feu to player

 

Attention n'oublie pas de mettre l'id des potion à coté du =.

Egalement, si tu utilise Skript 2.2, tu es OBLIGE(é) de mettre un nom si tu enchante un objet

  • J'aime 2
Posté(e)

Pourquoi rien ne se passe ? pas d'item, la commande existe pas... Mais quand je reload le skript il me dit qu'il n'y a pas de pbs ...

 

EDIT/ il y a 5 erreur, nvx des enchantements

Posté(e)
on join:
   make player execute command "/kitjoin"

command "/kitjoin":
   trigger:
       equip player with diamond helmet of protection 2, unbreaking 3 named "Un Nom"          
       equip player with diamond chestplate of protection 2, unbreaking 3 named "Un Nom"
       equip player with diamond leggings of protection 2, unbreaking 3 named "Un Nom"
       equip player with diamond boots of protection 2, unbreaking 3 named "Un Nom"

       give Diamond sword of sharpness 2, unbreaking 3 named "Un Nom" to player

       give 21 potion-soin to player
       give 1 potion-rapide to player
       give 1 potion-feu to player

Posté(e)
on join:
   make player execute command "/kitjoin"

command "/kitjoin":
   trigger:
       equip player with diamond helmet of protection 2 and unbreaking 3 named "Un Nom"         
       equip player with diamond chestplate of protection 2 and unbreaking 3 named "Un Nom"
       equip player with diamond leggings of protection 2 and unbreaking 3 named "Un Nom"
       equip player with diamond boots of protection 2 and unbreaking 3 named "Un Nom"

       give Diamond sword of sharpness 2 and unbreaking 3 named "Un Nom" to player

       give 21 potion-soin to player
       give 1 potion-rapide to player
       give 1 potion-feu to player

×
×
  • 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.