Aller au contenu

GidiX

Membre
  • Compteur de contenus

    238
  • Inscription

  • Dernière visite

  • Jours gagnés

    2
  • Crédits

    89 [Faire un don]

Tout ce qui a été posté par GidiX

  1. Mon serveur, une ancienne histoire ! Mais j'ai réussi à créer un serveur entièrement skripté ! IP : eazycraft.minecraft-mania.fr (1.8.8)
  2. GidiX

    Faction

    T'as oublier deux points après la boolean
  3. GidiX

    Faction

    On ne peux pas ajouter de commande à un plugin via Skript, il faut le modifier depuis le plugin en lui même
  4. GidiX

    Jobs /Rp\ 1.7.10

    D'accord PARDON de ne pas savoir...
  5. GidiX

    Enclume infini?

    Oui :D enfin: on right click on anvil: if location of the clicked block is {enclume.location}: set target block to anvil command /setenclume: permission : setcadeau trigger: set {enclume.location} to location of the target block
  6. GidiX

    Jobs /Rp\ 1.7.10

    @Imracraft Ce n'est pas un endroit pour parler de ca ? Merci de crée une discussion avec moi afin de parler de ceci !
  7. GidiX

    Jobs /Rp\ 1.7.10

    @HardTrox, je reprends ton code car si jamais le tiens ne marche pas celui-ci marcheras ;) ! on rightclick with a paper: open chest with 1 row named "&9[&6Rebelle&9]" to player wait 0.1 tick format slot 0 of player with iron ingot named "&9&lCRebelle" with lore "Pour passez rebelle" to run [make console execute command "/passerebelle %player%"] command /passerebelle <player>: executables by: console trigger: if arg 1 is set: make console execute command "manuadd %arg-1% Rebelle" message "&9Tu viens de passez Rebelle !" to arg-1
  8. GidiX

    Script pour lance flamme

    PS: Ca va shooter une fireball: Si ca marche met un j'aime: On right click with blaze rod: cancel event make player shoot an fireball at speed 3
  9. GidiX

    Enclume infini?

    Pense à mettre un j'aime :D : on right click on anvil: #Quand le joueur vas faire un clique droit sur une enclume set target block to anvil #Remplace l'enclume par une enclume
  10. GidiX

    Système de PUB (Mineplex)

    Voilà très bien expliqué @Yoyo2205, merci :) !
  11. GidiX

    Message Mort

    Ou tout simplement :D : Je reprend le code @Yghore : on death: if attacker is a player: if victim is a player: broadcast "&7[&cPvP&7] &6%victim% &7à tué &6%attacker% &7avec son arme %name of tool attacker% &6!"
  12. GidiX

    Système de PUB (Mineplex)

    Ah oui mince j'avais complètement oublier sa :'( Je vais le modifier
  13. GidiX

    PvP et Potion

    essaie : if player has not effect invisibilty:
  14. Système de PUB (Mineplex) par GidiX # = N'est pas obliger d'être lu. EDIT: Comme @Yoyo2205 l'a très bien expliqué dans son commentaire, ce n'est pas vraiment un système de PUB mais un système de délai d'attente REQUIS : SkQuery et WildSkript INFOS: Mon but n'est pas de vous donnez le code mais bien de vous apprendre à faire une pub en skript ! Donc si vous êtes venus ici juste pour avoir votre code... Bonjour cher amis skripteu(rs/ses), aujourd'hui grâce à ce tutoriel, nous allons apprendre à crée un système de pub :), celui de MinePlex pour être plus précis :) ! #QUEL SYSTÈME DE PUB DE MINEPLEX ? # #Quand vous ouvrez le "Menu de Jeux > Un jeu", une pub sera affiché. C'est parti :D ! Mais avant tout, une connaissance moyenne en skript est nécessaire ! #0. Le menu: #Si vous disposez déjà d'un menu passé cette étape :D ! on right click with nether star: make player execute "/menu" command /menu: trigger: open chest with 1 row named "&aMenu" to player wait a tick format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] #Voilà nous avons notre menu simple :) 1. LA PUB: command /menu: trigger: open chest with 1 row named "&aMenu" to player wait a tick format slot 4 of player with 3 red wool named "&cPUB" with lore "3 secondes restantes" to be unstealable wait 1 second format slot 4 of player with 2 red wool named "&cPUB" with lore "2 secondes restantes" to be unstealable wait 1 second format slot 4 of player with red wool named "&cPUB" with lore "1 seconde restantes" to be unstealable wait 1 second format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] 2. Ajoutons les variables maintenant !: Mais à quoi les variables vont bien pouvoir nous servir ? Je vais vous expliquer :) : Grace au variables {pub.started.%UUID of player%} et {pub.finish.%UUID of player%} nous allons déterminer si la pub a commencer (pour éviter tout bug et problème) et si la pub est fini (pour pas que la pub se ré-affiche). Donc: variables: {pub.started.%UUID of player%}= false {pub.finish.%UUID of player%}= false command /menu: trigger: open chest with 1 row named "&aMenu" to player wait a tick if {pub.finish.%UUID of player%} is false: if {pub.started.%UUID of player%} is false: set {pub.started.%UUID of player%} to true format slot 4 of player with 3 red wool named "&cPUB" with lore "3 secondes restantes" to be unstealable wait 1 second format slot 4 of player with 2 red wool named "&cPUB" with lore "2 secondes restantes" to be unstealable wait 1 second format slot 4 of player with red wool named "&cPUB" with lore "1 seconde restante" to be unstealable wait 1 second set {pub.finish.%UUID of player%} to true format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] else: format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] 3. Remettre les variables à 0: Tout est dans le titre :eek: ! mais sinon c'est, quand le joueur va quitter ou exécuter la commande /hub la variable va être mis à 0: on command "/hub": set {pub.finish.%UUID of player%} to false set {pub.started.%UUID of player%} to false on join: set {pub.finish.%UUID of player%} to false set {pub.started.%UUID of player%} to false [/font] 4. Un ByPass: Un ByPass (Pas de PUB) mais pour qui ? Pour tout les joueurs ayant pas la permission "pub.bypass": variables: {pub.started.%UUID of player%}= false {pub.finish.%UUID of player%}= false command /menu: trigger: open chest with 1 row named "&aMenu" to player wait a tick if player has permission "pub.bypass": format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] stop else if {pub.finish.%UUID of player%} is false: if {pub.started.%UUID of player%} is false: set {pub.started.%UUID of player%} to true format slot 4 of player with 3 red wool named "&cPUB" with lore "3 secondes restantes" to be unstealable wait 1 second format slot 4 of player with 2 red wool named "&cPUB" with lore "2 secondes restantes" to be unstealable wait 1 second format slot 4 of player with red wool named "&cPUB" with lore "1 seconde restante" to be unstealable wait 1 second set {pub.finish.%UUID of player%} to true format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] else: format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] 5. On inventory close (Grâce à @Mastersfelix :D): Pourquoi ? Parce que, sinon les item vont se retrouver dans l'inventaire du joueur :) ! variables: {pub.started.%UUID of player%}= false {pub.finish.%UUID of player%}= false command /menu: trigger: open chest with 1 row named "&aMenu" to player wait a tick if player has permission "pub.bypass": format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] stop else if {pub.finish.%UUID of player%} is false: if {pub.started.%UUID of player%} is false: set {pub.started.%UUID of player%} to true format slot 4 of player with 3 red wool named "&cPUB" with lore "3 secondes restantes" to be unstealable wait 1 second format slot 4 of player with 2 red wool named "&cPUB" with lore "2 secondes restantes" to be unstealable wait 1 second format slot 4 of player with red wool named "&cPUB" with lore "1 seconde restante" to be unstealable wait 1 second set {pub.finish.%UUID of player%} to true format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] else: format slot 4 of player with iron sword named "&4PVP" with lore "Combat tes adversaires" to close then run [make player execute "/pvp"] on inventory close: if player has not permission "pub.bypass": if {pub.started.%UUID of player%} is true: if {pub.finish.%UUID of player%} is false: cancel event 6. QUIZ: Pour vérifier si vous avez tout appris: Pourquoi mettre une variable ? Pourquoi remettre les variables à 0 ? Qui est le créateur de ce tutoriel et pourquoi je dois lui mettre un j'aime à lui et à @Mastersfelix et @Yoyo2205 :D ?
  15. GidiX

    Région qui se reset

    As-tu des connaissances en skript ? Si oui le Code du SkyWars crée par @besuper pourra très bien te servir :) !
  16. GidiX

    Random

    N'oublie pas de mettre un j'aime: command /test: trigger: add 1 to {random.test::*} add 2 to {random.test::*} add 3 to {random.test::*} add 4 to {random.test::*} add 5 to {random.test::*} add 6 to {random.test::*} add 7 to {random.test::*} add 8 to {random.test::*} add 9 to {random.test::*} add 10 to {random.test::*} add 11 to {random.test::*} add 12 to {random.test::*} add 13 to {random.test::*} add 14 to {random.test::*} add 15 to {random.test::*} add 16 to {random.test::*} add 17 to {random.test::*} add 18 to {random.test::*} wait 0.1 tick set {random.number} to a random element out of {random.test::*} wait 0.1 ticks message "Nombre = %{random.number}%" delete {random.test::*} loop all players: set {random.player::*} to loop-player wait 0.1 tick set {_lv} to a random element out of {random.player::*} wait 0.1 tick broadcast "Le joueur choisi est : %{random.player}%"
  17. GidiX

    Demande de petit skript

    Cool @besuper :) mais tu te complique la tache :o : on login: add player to {joueurs::*} if number of all players is 10: set {chasseur} to a random element out of {joueurs::*} wait 0.1 tick broadcast "Le chasseur est %{chasseur}%" on quit: remove player from {joueurs::*}
  18. GidiX

    Skript paye 1.7.10

    every 10 minutes: loop all players: if loop-player has permission "LaPermDeGrade": set {_lv} to loop-value make console execute "/eco give %{_lv}% 1000" message "<green>Tu viens de recevoir 1000 euros !" to {_lv}
  19. N'oublie pas de mettre un j'aime :) : format slot 22 of player with bed named "&cSpawn" to close then run [make player execute "/exemple"]
  20. GidiX

    Commande a partir d'un PNJ

    N'oublie pas de mettre un j'aime : [code]on right click on villager: if player's world is "world": if block above the clicked entity is cobblestone: make player execute "/exemple %player%"
  21. GidiX

    ScanPlayer

    Bon beh :) Si t'es développeur skript essaie d'editer le code ;)
  22. GidiX

    ScanPlayer

    J'avais pourtant modifier le code :o Je m'en souviens j'ai vu qu'il manquer un truc
  23. GidiX

    ScanPlayer

    Pense à mettre un j'aime :D ! AVANT !!! Tu dois laisser une petite copyright (ou que se soit :) ) : [spoiler=CODE] on join: set {account.%player%} to true set {ip.%player%} to player's ip set {online.%player%} to true command /verif <text>: trigger: if {account.%arg 1%} is true: if {online.%player%} is true: if arg 1's is banned: message "[&3ScanPlayer &bby GidiX] %arg 1% (%{account.%arg 1%}%) : Banni = oui, Connecté = Oui" else: message "[&3ScanPlayer &bby GidiX] %arg 1% (%{account.%arg 1%}%) : Banni = non, Connecté = Oui" else: else: message "[&3ScanPlayer &bby GidiX] %arg 1% (%{account.%arg 1%}%) : Banni = oui, Connecté = Non" else: message "[&3ScanPlayer &bby GidiX] %arg 1% (%{account.%arg 1%}%) : Banni = non, Connecté = Non" else: message "[&3ScanPlayer &bby GidiX] Ce joueur n'as pas de compte !" on quit: set {online.%player%} to false
  24. GidiX

    Message sur l'écran

    /title Joueur subtitle {text:"Bonjour"}
×
×
  • 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.