Aller au contenu
Wubbix

Demande : Coins Party

Messages recommandés

ligne-de-s%C3%A9paration.png

 

Bonjour, bonsoir.

 

Alors déjà, par où commencer. Je créer actuellement un skript pour mon serveur mais malheureusement je ne sais pas faire cette portion.

 

Explications :

Lorsque nous exécuterons la commande /coinsparty,

il y aura un setblock au

coordonnées : 183.0, 111.0, 617.0

Block : émeraude (133)

(Attention, lors de l'exécution de la commande, elle pouras uniquement être re-exécutée lorsque toute l'action sera terminé ~5minutes et cela pour tout les joueurs du serveur !

 

Après l'apparition du block, un hologramme apparaîtrait au dessus de celui-ci avec comme indication, un temps de chargement ex : 10%, 20%, 30% ... 90%, 100%.

 

Ensuite, dès que 100% apparaîtrait, un décompte de 5 à 0 en title (avec playsound d'xp). Dès l'arrivé du décompte à 0, particules d'explosion, bruit de rugissement de dragon et ~50 drop d'item d'émeraudes tomberons du ciel dans un rayon de 20 blocks.

 

(Attention, lors de l'explosion, le block doit disparaître ainsi que l'hologramme)

 

* Lorsque un joueur ramassera un item d'émeraude, cela exécutera une commande (/coinsitem)(*déjà créé)

*(Il faudra 2minutes avant que les items disparaissent)

(Attention, il ne doit pas avoir l'item dans sa barre de sélection, elle doit uniquement disparaître et exécuter la commande)

 

5minutes après le coins party, un broadcast sera envoyer pour annoncer que le coins party est disponible.

 

&6Coins Party &7est désormais redisponible. >&f/coinsparty

ligne-de-s%C3%A9paration.png

 

NOTE : Sachez que je ne suis pas en mesure financière de vous rémunérer mais des modifications personnel peuvent être ajoutées ex (message de remerciement avec vôtre pseudo ou autres comme vous le désirez). Serte, ce skript est long et très complexe (a mon avis) mais il permettrais une énorme avancée sur nôtre serveur. Toute l'équipe de GameInBox vous remercie pour vôtre lecture et pour le skript.

 

Cordialement, Wubbix - Fondateur

 

ligne-de-s%C3%A9paration.png

 

logo.png

  • J'aime 1

Partager ce message


Lien à poster
Partager sur d’autres sites

ligne-de-s%C3%A9paration.png

 

Bonjour, bonsoir.

 

Alors déjà, par où commencer. Je créer actuellement un skript pour mon serveur mais malheureusement je ne sais pas faire cette portion.

 

Explications :

Lorsque nous exécuterons la commande /coinsparty,

il y aura un setblock au

coordonnées : 183.0, 111.0, 617.0

Block : émeraude (133)

(Attention, lors de l'exécution de la commande, elle pouras uniquement être re-exécutée lorsque toute l'action sera terminé ~5minutes et cela pour tout les joueurs du serveur !

 

Après l'apparition du block, un hologramme apparaîtrait au dessus de celui-ci avec comme indication, un temps de chargement ex : 10%, 20%, 30% ... 90%, 100%.

 

Ensuite, dès que 100% apparaîtrait, un décompte de 5 à 0 en title (avec playsound d'xp). Dès l'arrivé du décompte à 0, particules d'explosion, bruit de rugissement de dragon et ~50 drop d'item d'émeraudes tomberons du ciel dans un rayon de 20 blocks.

 

(Attention, lors de l'explosion, le block doit disparaître ainsi que l'hologramme)

 

* Lorsque un joueur ramassera un item d'émeraude, cela exécutera une commande (/coinsitem)(*déjà créé)

*(Il faudra 2minutes avant que les items disparaissent)

(Attention, il ne doit pas avoir l'item dans sa barre de sélection, elle doit uniquement disparaître et exécuter la commande)

 

5minutes après le coins party, un broadcast sera envoyer pour annoncer que le coins party est disponible.

 

&6Coins Party &7est désormais redisponible. >&f/coinsparty

ligne-de-s%C3%A9paration.png

 

NOTE : Sachez que je ne suis pas en mesure financière de vous rémunérer mais des modifications personnel peuvent être ajoutées ex (message de remerciement avec vôtre pseudo ou autres comme vous le désirez). Serte, ce skript est long et très complexe (a mon avis) mais il permettrais une énorme avancée sur nôtre serveur. Toute l'équipe de GameInBox vous remercie pour vôtre lecture et pour le skript.

 

Cordialement, Wubbix - Fondateur

 

ligne-de-s%C3%A9paration.png

 

logo.png

Votre demande est largement possible mais je ne sais pas téléporté avec des coordonnées ,et lorsque que quelqu'un demande un gros skript du genre je préfère demander le Skype car sa m'incite à le finir ,belle présentation de demande .

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité

J'ai essayé.

Je te donnes le code mais à mon avis il doit contenir des fautes voire beaucoup :

 

options:
  cp: &6Coins Party &7
  coord: 183 111 617

command /coinsparty:
  trigger:
    set {temp.attente} to true
    execute console command "setblock {@coord} 133"
    create a new hologram named "10%" at {@coord}
    delete hologram "10%"
    create a new hologram named "20%" at {@coord}
    delete hologram "20%"
    create a new hologram named "30%" at {@coord}
    delete hologram "30%"
    create a new hologram named "40%" at {@coord}
    delete hologram "40%"
    create a new hologram named "50%" at {@coord}
    remove hologram "50%"
    create a new hologram named "60%" at {@coord}
    delete hologram "60%"
    create a new hologram named "70%" at {@coord}
    delete hologram "70%"
    create a new hologram named "80%" at {@coord}
 delete hologram "80%"
    create a new hologram named "90%" at {@coord}
 delete hologram "90%"
    create a new hologram named "100%" at {@coord}
    loop all-players:
      make the loop-player execute command "/5"
      make the loop-player execute command "/4"
      make the loop-player execute command "/3"
      make the loop-player execute command "/2"
      make the loop-player execute command "/1"
      make the loop-player execute command "/0"
    execute console command "setblock {@coord} 0"
    spawn 5 of particle explode at {@coord}
    delete hologram "100%"
    loop all-players:
      play raw sound "entity.enderdragon.hurt" at loop-player with pitch 1 volume 10
    loop blocks in radius 20 around {@coord}:
      loop-block is air:
        chance of 50%:
          drop 1 emerald
    wait 200 seconds
    loop drops:
      if the item is emerald
      clear loop-drop

command /5:
  trigger:
    loop all-players:
      send loop-player title "5" with subtitle "secondes" for 1 second
      play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10

command /4:
  trigger:
    loop all-players:
      send loop-player title "4" with subtitle "secondes" for 1 second
      play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10

command /3:
  trigger:
    loop all-players:
      send loop-player title "3" with subtitle "secondes" for 1 second
      play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10

command /2
  trigger:
    loop all-players:
      send loop-player title "2" with subtitle "secondes" for 1 second
      play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10

command /1:
  trigger:
    loop all-players:
      send loop-player title "1" with subtitle "secondes" for 1 second
      play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10

command /0:
  trigger:
    loop all-players:
      send loop-player title "0" with subtitle "secondes" for 1 second
      play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10

on command /coinsparty:
  if {temp.attente} is true:
    cancel event
    message "{@cp} Veuillez patientez ..." to player
  else:
    wait 420 seconds
    set {temp.attente} to false   
    say "{@cp} est désormais redisponible. > &f/coinsparty"

on dispense:
  item is a emerald
  remove a emerald from player's inventory
  make player execute command "/coinsitem"

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité

J'aurais essayer mais essaye de les corriger ou donne mois des screens, j'essayerais

Partager ce message


Lien à poster
Partager sur d’autres sites

Sur ma console, ça donne :

 

[spoiler=Erreurs Console /sk reload coinsparty.sk]

[17:35:29] [server thread/INFO]: [skript] Encountered 67 errors while reloading coinsparty.sk!

[17:35:29] [server thread/ERROR]: can't understand this event: 'on command /coinsparty' (coinsparty.sk, line 86: on command /coinsparty:')

[17:35:29] [server thread/ERROR]: invalid line - all code has to be put into triggers (coinsparty.sk, line 68: command /2')

[17:35:29] [server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (coinsparty.sk, line 90: else:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 93: say "{@cp} est d?sormais redisponible. > &f/coinsparty"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 92: set {temp.attente} to false')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 91: wait 420 seconds')

[17:35:29] [server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (coinsparty.sk, line 87: if {temp.attente} is true:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 89: message "{@cp} Veuillez patientez ..." to player')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 88: cancel event')

[17:35:29] [server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (coinsparty.sk, line 81: trigger:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 84: play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 83: send loop-player title "0" with subtitle "secondes" for 1 second')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 82: loop all-players:')

[17:35:29] [server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (coinsparty.sk, line 75: trigger:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 78: play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 77: send loop-player title "1" with subtitle "secondes" for 1 second')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 76: loop all-players:')

[17:35:29] [server thread/ERROR]: indentation error: expected 0 spaces, but found 7 spaces (coinsparty.sk, line 72: play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10')

[17:35:29] [server thread/ERROR]: indentation error: expected 0 spaces, but found 7 spaces (coinsparty.sk, line 71: send loop-player title "2" with subtitle "secondes" for 1 second')

[17:35:29] [server thread/ERROR]: indentation error: expected 0 spaces, but found 5 spaces (coinsparty.sk, line 70: loop all-players:')

[17:35:29] [server thread/ERROR]: indentation error: expected 0 spaces, but found 3 spaces (coinsparty.sk, line 69: trigger:')

[17:35:29] [server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (coinsparty.sk, line 63: trigger:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 66: play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 65: send loop-player title "3" with subtitle "secondes" for 1 second')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 64: loop all-players:')

[17:35:29] [server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (coinsparty.sk, line 57: trigger:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 60: play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 59: send loop-player title "4" with subtitle "secondes" for 1 second')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 58: loop all-players:')

[17:35:29] [server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (coinsparty.sk, line 51: trigger:')

 

 

Partager ce message


Lien à poster
Partager sur d’autres sites

Et voici le reste (2eme partie)

 

[spoiler=Erreurs Console /sk reload coinsparty.sk]

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 54: play raw sound "entity.experience_orb.touch" at loop-player with pitch 1 volume 10')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 53: send loop-player title "5" with subtitle "secondes" for 1 second')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 52: loop all-players:')

[17:35:29] [server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (coinsparty.sk, line 7: trigger:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 48: clear loop-drop')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 47: if the item is emerald')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 46: loop drops:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 45: wait 200 seconds')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 11 spaces (coinsparty.sk, line 44: drop 1 emerald')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 9 spaces (coinsparty.sk, line 43: chance of 50%:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 42: loop-block is air:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 41: loop blocks in radius 20 around {@coord}:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 40: play raw sound "entity.enderdragon.hurt" at loop-player with pitch 1 volume 10')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 39: loop all-players:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 38: delete hologram "100%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 37: spawn 5 of particle explode at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 36: execute console command "setblock {@coord} 0"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 35: make the loop-player execute command "/0"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 34: make the loop-player execute command "/1"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 33: make the loop-player execute command "/2"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 32: make the loop-player execute command "/3"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 31: make the loop-player execute command "/4"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 7 spaces (coinsparty.sk, line 30: make the loop-player execute command "/5"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 29: loop all-players:')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 28: create a new hologram named "100%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 2 spaces (coinsparty.sk, line 27: delete hologram "90%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 26: create a new hologram named "90%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 2 spaces (coinsparty.sk, line 25: delete hologram "80%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 24: create a new hologram named "80%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 23: delete hologram "70%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 22: create a new hologram named "70%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 21: delete hologram "60%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 20: create a new hologram named "60%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 19: remove hologram "50%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 18: create a new hologram named "50%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 17: delete hologram "40%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 16: create a new hologram named "40%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 15: delete hologram "30%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 14: create a new hologram named "30%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 13: delete hologram "20%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 12: create a new hologram named "20%" at {@coord}')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 11: delete hologram "10%"')

[17:35:29] [server thread/ERROR]: indentation error: expected 6 spaces, but found 5 spaces (coinsparty.sk, line 10: create a new hologram named "10%" at {@coord}')

 

 

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité

Que des erreurs de tabs ou spaces tu peux les corriger xD mais je vais le faire

Partager ce message


Lien à poster
Partager sur d’autres sites

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