Aller au contenu

geforce

Membre
  • Compteur de contenus

    50
  • Inscription

  • Dernière visite

  • Crédits

    0 [Faire un don]

Tout ce qui a été posté par geforce

  1. Ok, je prends en charge ton projet !
  2. Malheureusement, j'aurais du mal à discerner ton problème car sur mon serveur minecraft, le skript fonctionne correctement. D'après ce que j'ai compris dans les messages précédents, tu as réussi à enlever les erreurs dans le skript reload. Donc, à priori, l'erreur ne vient pas du skript. En sachant, cela, deux choses sont à faire dans un premier lire attentivement le mode d'emploie du skript (assez succin). D'abord, soit sûre que tu es bien "op" sur le serveur où tu as mis le skript. La seule commande qui fonctionne d'après tes dires "le /coffrealéatoire tp" ne nécessite pas d'être op 1) fait /coffrealétoire baton. Un baton va être donné ton inventaire. Celui-ci permet de définir une zone dans laquelle les coffres vont apparaître. La définition de la zone fonctionne de la même manière que worledit (il faut donc être en gamemode 1). Clique droit un bloc à l'angle de la zone, puis clique gauche sur un bloc à l'angle opposé de la zone. 2) fait /coffrealéatoire coffre. Il fait spawn un coffre aléatoirement dans la zone établie précédemment. Attention bien vérifier dans les options que le nom monde est bien celui du monde de ton serveur. 3) fait /coffrealéatoire tp pour te rendre aux alentours du coffre qui est apparu (plus précisément à longueur défini dans les options sous le nom de rayon). Une autre méthode pour se téléporter consiste à être en mode survival lorsque la command "/coffrealétoire coffre" est tapée. Un message avec les coordonnée exacte du coffre et un message json pour s'y téléporter. Il suffit donc juste de cliquer sur [se téléporter]. 4) fait /coffrealéatoire on pour lancer l’apparition automatique de coffres à intervalle (à définir dans les options sous le nom de timing). 5) fait /coffrealétoire off pour arrêter l’apparition automatique de coffres à intervalle. Si jamais l'erreur persiste ajoute moi sur discord : geforce07#7453
  3. geforce

    Skript /start

    Ton message n'est pas conforme aux règles d'utilisations. On ne connait ni la version de ton serveur minecraft, ni la version de ton skript. De plus, ta demande manque de clarté, on ne sait pas où tu veux téléporter le joueur, ni avec quel moyen on ouvre le gui (menu). Je t'invite donc à lire les règles de demande de skript et de reformuler ta demande avant qu'elle ne soit supprimée par un Administrateur. Mais, je serai ravi de t'aider, une fois cela fait. Ce qui se conçoit bien s'énonce clairement - Et les mots pour le dire arrivent aisément. Nicolas Boileau
  4. il te faut l'addon skquery car la fonction racine carrée n'existe pas sur le skript de base.
  5. options: monde: world message_sans_permission: Tu n'a pas la permission ! All: 49 Common: 35 Rare: 10 Rare+: 5 Rare++: 1 rayon: 10 timing: 20 command /coffrealéatoire <string>: trigger: if arg-1 is "baton": if player is op: give 1 stick named "&4&lBaton de zone" to player if arg-1 is "coffre": if player is op: set {_r} to 1 while {_r} = 1: set {_randomx} to a random integer between {xpost1} and {xpost2} set {_randomz} to a random integer between {zpost1} and {zpost2} set {_y} to 40 while {_y} is not 100: if block at location ({_randomx}, {_y}, {_randomz}) is air or tall grass: if block under block at location ({_randomx}, {_y}, {_randomz}) is not air or water or lava or trapped chest: if block above block at location ({_randomx}, {_y}, {_randomz}) is air: set {_reely} to {_y} set {_y} to 99 set {_r} to 0 add 1 to {_y} set block at location ({_randomx}, {_reely}, {_randomz}) to chest add {_randomx} to {xchest::*} add {_randomz} to {zchest::*} wait 1 tick delete {chance::*} delete {chance.All::*} delete {chance.Common::*} delete {chance.Rare::*} delete {chance.Rare+::*} delete {chance.Rare++::*} loop {@All} times: add "All" to {chance::*} loop {@Common} times: add "Common" to {chance::*} loop {@Rare} times: add "Rare" to {chance::*} loop {@Rare+} times: add "Rare+" to {chance::*} loop {@Rare++} times: add "Rare++" to {chance::*} add "32 stone:&8Ultra Commun" to {chance.All::*} add "32 dirt:&8Ultra Commun" to {chance.All::*} add "leather chestplate:&aCommun" to {chance.Common::*} add "stone sword:&aCommun" to {chance.Common::*} add "iron sword:&bRare" to {chance.Rare::*} add "golden chestplate:&bRare" to {chance.Rare::*} add "diamond sword of sharpness 2:&5Rare+" to {chance.Rare+::*} add "iron chestplate:&5Rare+" to {chance.Rare+::*} add "diamond chestplate of protection 2:&6Rare++" to {chance.Rare++::*} delete {slot::*} set {n} to 0 loop 26 times: add {n} to {slot::*} add 1 to {n} set {l} to a random integer between 1 and 6 loop {l} times: set {c} to a random element of {chance::*} set {i} to a random element of {chance.%{c}%::*} set {_bp::*} to {i} split at ":" set {_b} to {_bp::1} set {_b} to {_b} parsed as item type set {_p} to {_bp::2} set {n} to a random element of {slot::*} remove {n} from {slot::*} set slot {n} of inventory of block at location ({_randomx}, {_reely}, {_randomz}) to {_b} named "%{_p}%" broadcast "creation du coffre en x : %{_randomx}% y : %{_reely}% z : %{_randomz}% " loop all players: if gamemode of loop-player is survival: if distance between loop-player's location and location ({_randomx}, {_reely}, {_randomz}) > 10: message "-----------------------------------------------------" to loop-player message "&6un coffre est apparu &7x : %{_randomx}% y : %{_reely}% z : %{_randomz}%" to loop-player message "<tooltip:Téléportation à {@rayon} blocks du coffre><command:/coffrealéatoire tp>&2[Se téléporter]<reset>" to loop-player message "-----------------------------------------------------" to loop-player if arg-1 is "tp": set {_n} to size of {xchest::*} set {_randomx} to {xchest::%{_n}%} set {_randomz} to {zchest::%{_n}%} broadcast "%{_randomx}% %{_randomz}%" set {_rc} to {@rayon} * {@rayon} broadcast "r = %{_rc}%" set {_sqrtrc} to sqrt of {_rc} broadcast "r root = %{_sqrtrc}%" set {_x} to a random number between {_randomx} - {_sqrtrc} and {_randomx} + {_sqrtrc} set {_zc} to {_x} * {_x} - 2 * {_randomx} * {_x} + {_randomx} * {_randomx} set {_rc} to {@rayon} * {@rayon} set {_z} to {_rc} - {_zc} broadcast "%{_z}%" set {_z} to sqrt of {_z} set {_opp} to a random integer between 0 and 1 if {_opp} = 0: set {_z} to {_randomz} + {_z} if {_opp} = 1: set {_z} to {_randomz} - {_z} set {%player%.nodamagechute} to 1 teleport player at location ({_x}, 100, {_z}) if arg-1 is "on": set {auto} to 1 if arg-1 is "off": set {auto} to 0 if arg-1 is "reset": delete {xchest::*} delete {zchest::*} on damage: if {%victim%.nodamagechute} = 1: if damage cause is fall: cancel event set {%victim%.nodamagechute} to 0 every {@timing} seconds: set {_r} to 1 if 1 = {auto}: if 3 = 3: if 2 = 2: while {_r} = 1: set {_randomx} to a random integer between {xpost1} and {xpost2} set {_randomz} to a random integer between {zpost1} and {zpost2} set {_y} to 40 while {_y} is not 100: if block at location ({_randomx}, {_y}, {_randomz}) in world "{@monde}" is air or tall grass: if block under block at location ({_randomx}, {_y}, {_randomz}) in world "{@monde}" is not air or water or lava or chest or trapped chest: if block above block at location ({_randomx}, {_y}, {_randomz}) in world "{@monde}" is air: set {_reely} to {_y} set {_y} to 99 set {_r} to 0 add 1 to {_y} set block at location ({_randomx}, {_reely}, {_randomz}) in world "{@monde}" to chest add {_randomx} to {xchest::*} add {_randomz} to {zchest::*} wait 1 tick delete {chance::*} delete {chance.All::*} delete {chance.Common::*} delete {chance.Rare::*} delete {chance.Rare+::*} delete {chance.Rare++::*} loop {@All} times: add "All" to {chance::*} loop {@Common} times: add "Common" to {chance::*} loop {@Rare} times: add "Rare" to {chance::*} loop {@Rare+} times: add "Rare+" to {chance::*} loop {@Rare++} times: add "Rare++" to {chance::*} add "32 stone:&8Ultra Commun" to {chance.All::*} add "32 dirt:&8Ultra Commun" to {chance.All::*} add "leather chestplate:&aCommun" to {chance.Common::*} add "stone sword:&aCommun" to {chance.Common::*} add "iron sword:&bRare" to {chance.Rare::*} add "golden chestplate:&bRare" to {chance.Rare::*} add "diamond sword of sharpness 2:&5Rare+" to {chance.Rare+::*} add "iron chestplate:&5Rare+" to {chance.Rare+::*} add "diamond chestplate of protection 2:&6Rare++" to {chance.Rare++::*} delete {slot::*} set {n} to 0 loop 26 times: add {n} to {slot::*} add 1 to {n} set {l} to a random integer between 1 and 6 loop {l} times: set {c} to a random element of {chance::*} set {i} to a random element of {chance.%{c}%::*} set {_bp::*} to {i} split at ":" set {_b} to {_bp::1} set {_b} to {_b} parsed as item type set {_p} to {_bp::2} set {n} to a random element of {slot::*} remove {n} from {slot::*} set slot {n} of inventory of block at location ({_randomx}, {_reely}, {_randomz}) in world "{@monde}" to {_b} named "%{_p}%" loop all players: if gamemode of loop-player is survival: if distance between loop-player's location and location ({_randomx}, {_reely}, {_randomz}) in world "{@monde}" > 10: message "-----------------------------------------------------" to loop-player message "&6un coffre est apparu &7x : %{_randomx}% y : %{_reely}% z : %{_randomz}%" to loop-player message "<tooltip:Téléportation à {@rayon} blocks du coffre><command:/coffrealéatoire tp>&2[Se téléporter]<reset>" to loop-player message "-----------------------------------------------------" to loop-player on break: if gamemode of player is creative: if player's tool is a stick named "&4&lBaton de zone": cancel event set {zpost1} to z-coordinate of location of block set {xpost1} to x-coordinate of location of block broadcast "Les coordonée ont bien été prise en compte" on rightclick: if clicked block is set: if gamemode of player is creative: if player's tool is a stick named "&4&lBaton de zone": set {zpost2} to z-coordinate of location of block set {xpost2} to x-coordinate of location of block broadcast "Les coordonée ont bien été prise en compte"
  6. options: monde: pubg message_sans_permission: Tu n'a pas la permission ! All: 49 Common: 35 Rare: 10 Rare+: 5 Rare++: 1 command /coffrer: trigger: if player is op: delete {chestlocation::*} broadcast "&6&l[PUBG] : &7Les coffres ont été reset !" else: message "{@message_sans_permission}" on rightclick on chest: loop {chestlocation::*}: if loop-value = event-block's location: stop if world is "{@monde}": broadcast "{@monde}" add event-block's location to {chestlocation::*} delete {chance::*} delete {chance.All::*} delete {chance.Common::*} delete {chance.Rare::*} delete {chance.Rare+::*} delete {chance.Rare++::*} loop {@All} times: add "All" to {chance::*} loop {@Common} times: add "Common" to {chance::*} loop {@Rare} times: add "Rare" to {chance::*} loop {@Rare+} times: add "Rare+" to {chance::*} loop {@Rare++} times: add "Rare++" to {chance::*} add "32 stone:&8Ultra Commun" to {chance.All::*} add "32 dirt:&8Ultra Commun" to {chance.All::*} add "leather chestplate:&aCommun" to {chance.Common::*} add "stone sword:&aCommun" to {chance.Common::*} add "iron sword:&bRare" to {chance.Rare::*} add "golden chestplate:&bRare" to {chance.Rare::*} add "diamond sword of sharpness 2:&5Rare+" to {chance.Rare+::*} add "iron chestplate:&5Rare+" to {chance.Rare+::*} add "diamond chestplate of protection 2:&6Rare++" to {chance.Rare++::*} set {l} to event-block's location clear event-block's inventory delete {slot::*} set {n} to 0 loop 26 times: add {n} to {slot::*} add 1 to {n} set {l} to a random integer between 5 and 6 loop {l} times: set {c} to a random element of {chance::*} set {i} to a random element of {chance.%{c}%::*} set {_bp::*} to {i} split at ":" set {_b} to {_bp::1} set {_b} to {_b} parsed as item type set {_p} to {_bp::2} set {n} to a random element of {slot::*} remove {n} from {slot::*} set slot {n} of inventory of event-block to {_b} named "%{_p}%"
  7. on rightclick on chest: if {chestlocation::*} doesn't contain clicked block's location: add event-block's location to {chestlocation::*} delete {chance::*} delete {chance.All::*} delete {chance.Common::*} delete {chance.Rare::*} delete {chance.Rare+::*} delete {chance.Rare++::*} loop {@All} times: add "All" to {chance::*} loop {@Common} times: add "Common" to {chance::*} loop {@Rare} times: add "Rare" to {chance::*} loop {@Rare+} times: add "Rare+" to {chance::*} loop {@Rare++} times: add "Rare++" to {chance::*} add "32 stone:&8Ultra Commun" to {chance.All::*} add "32 dirt:&8Ultra Commun" to {chance.All::*} add "leather chestplate:&aCommun" to {chance.Common::*} add "stone sword:&aCommun" to {chance.Common::*} add "iron sword:&bRare" to {chance.Rare::*} add "golden chestplate:&bRare" to {chance.Rare::*} add "diamond sword of sharpness 2:&5Rare+" to {chance.Rare+::*} add "iron chestplate:&5Rare+" to {chance.Rare+::*} add "diamond chestplate of protection 2:&6Rare++" to {chance.Rare++::*} set {l} to event-block's location clear event-block's inventory set {n} to 0 while event-block's inventory contains air: set {c} to a random element of {chance::*} set {i} to a random element of {chance.%{c}%::*} set {_bp::*} to {i} split at ":" set {_b} to {_bp::1} set {_b} to {_b} parsed as item type set {_p} to {_bp::2} set slot {n} of inventory of event-block to {_b} named "%{_p}%" add 1 to {n}
  8. Cela doit venir des permissions. Essayez avec ce skript. options: monde: pubg message_sans_permission: Tu n'a pas la permission ! All: 49 Common: 35 Rare: 10 Rare+: 5 Rare++: 1 command /coffrer: trigger: if player is op: delete {chestlocation::*} broadcast "&6&l[PUBG] : &7Les coffres ont été reset !" else: message "{@message_sans_permission}" on rightclick on chest: if {chestlocation::*} doesn't contain clicked block's location: if world is "{@monde}": broadcast "{@monde}" add event-block's location to {chestlocation::*} delete {chance::*} delete {chance.All::*} delete {chance.Common::*} delete {chance.Rare::*} delete {chance.Rare+::*} delete {chance.Rare++::*} loop {@All} times: add "All" to {chance::*} loop {@Common} times: add "Common" to {chance::*} loop {@Rare} times: add "Rare" to {chance::*} loop {@Rare+} times: add "Rare+" to {chance::*} loop {@Rare++} times: add "Rare++" to {chance::*} add "32 stone:&8Ultra Commun" to {chance.All::*} add "32 dirt:&8Ultra Commun" to {chance.All::*} add "leather chestplate:&aCommun" to {chance.Common::*} add "stone sword:&aCommun" to {chance.Common::*} add "iron sword:&bRare" to {chance.Rare::*} add "golden chestplate:&bRare" to {chance.Rare::*} add "diamond sword of sharpness 2:&5Rare+" to {chance.Rare+::*} add "iron chestplate:&5Rare+" to {chance.Rare+::*} add "diamond chestplate of protection 2:&6Rare++" to {chance.Rare++::*} set {l} to event-block's location clear event-block's inventory set {n} to 0 while event-block's inventory contains air: set {c} to a random element of {chance::*} set {i} to a random element of {chance.%{c}%::*} set {_bp::*} to {i} split at ":" set {_b} to {_bp::1} set {_b} to {_b} parsed as item type set {_p} to {_bp::2} set slot {n} of inventory of event-block to {_b} named "%{_p}%" add 1 to {n}
  9. geforce

    Un generateur de minerais

    on break: if event-block's location is {loc}: cancel event wait 2 tick set event-block to air drop a dispenser named "Generateur" at block's location delete {loc} on place dispenser: if name of player's tool is "Generateur": cancel event send "&aGenerateur Mis avec Succès !" set {loc} to block's location every 7 seconds: drop gold ingot at {loc}
  10. Voilà, j’espère que cela vous plaira. En revanche n'utilisez que des coffres simples. Ne connaissant pas les coordonnées des coffres j'ai dû improviser ;D options: monde: pubg message_sans_permission: Tu n'a pas la permission ! All: 49 Common: 35 Rare: 10 Rare+: 5 Rare++: 1 command /coffrer: trigger: if player has permission "vanozia.staff": delete {chestlocation::*} broadcast "&6&l[PUBG] : &7Les coffres ont été reset !" else: message "%{message_sans_permission}%" on rightclick on chest: if {chestlocation::*} doesn't contain clicked block's location: if world is "{@monde}": broadcast "{@monde}" add event-block's location to {chestlocation::*} delete {chance::*} delete {chance.All::*} delete {chance.Common::*} delete {chance.Rare::*} delete {chance.Rare+::*} delete {chance.Rare++::*} loop {@All} times: add "All" to {chance::*} loop {@Common} times: add "Common" to {chance::*} loop {@Rare} times: add "Rare" to {chance::*} loop {@Rare+} times: add "Rare+" to {chance::*} loop {@Rare++} times: add "Rare++" to {chance::*} add "32 stone:&8Ultra Commun" to {chance.All::*} add "32 dirt:&8Ultra Commun" to {chance.All::*} add "leather chestplate:&aCommun" to {chance.Common::*} add "stone sword:&aCommun" to {chance.Common::*} add "iron sword:&bRare" to {chance.Rare::*} add "golden chestplate:&bRare" to {chance.Rare::*} add "diamond sword of sharpness 2:&5Rare+" to {chance.Rare+::*} add "iron chestplate:&5Rare+" to {chance.Rare+::*} add "diamond chestplate of protection 2:&6Rare++" to {chance.Rare++::*} set {l} to event-block's location clear event-block's inventory set {n} to 0 while event-block's inventory contains air: set {c} to a random element of {chance::*} set {i} to a random element of {chance.%{c}%::*} set {_bp::*} to {i} split at ":" set {_b} to {_bp::1} set {_b} to {_b} parsed as item type set {_p} to {_bp::2} set slot {n} of inventory of event-block to {_b} named "%{_p}%" add 1 to {n}
  11. geforce

    [Json chat] mot cliquable

    [10:47:01 ERROR]: Could not pass event PlayerInteractEvent to Skript v2.2-dev36 java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerInteractEvent.getHand()Lorg/bukkit/inventory/EquipmentSlot; at ch.njol.skript.events.EvtClick.check(EvtClick.java:191) ~[?:?] at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:145) ~[?:?] at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109) ~[?:?] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:212) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PlayerInteractManager.a(PlayerInteractManager.java:482) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:840) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:55) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:11) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_171] at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:716) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:655) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:554) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at java.lang.Thread.run(Unknown Source) [?:1.8.0_171] [10:47:01 ERROR]: Could not pass event PlayerInteractEvent to Skript v2.2-dev36 java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerInteractEvent.getHand()Lorg/bukkit/inventory/EquipmentSlot; at ch.njol.skript.events.EvtClick.check(EvtClick.java:191) ~[?:?] at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:145) ~[?:?] at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109) ~[?:?] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:212) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PlayerInteractManager.a(PlayerInteractManager.java:482) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:840) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:55) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:11) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_171] at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:716) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:655) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:554) [craftbukkit-1.9.jar:git-Spigot-7d15d07-c194444] at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
  12. geforce

    [Json chat] mot cliquable

    il ne fonctionne pas ! je viens d'essayer à l'instant.
  13. geforce

    [Json chat] mot cliquable

    Je ne trouve pas la bonne version de skript pour mon serveur en 1.9.
  14. Version du skript: 2.2 Version serveur: 1.9 Bonjour, si je viens ici, c’est que je n’en peut plus. J’ai cherché de longues heures sur internet comment je pouvais créer un message qui puisse exécuter une commande en cliquant dessus. J’ai trouvé 2 moyens qui fonctionnent mais pas vraiment très optimisés. - l’api JsonSk - /tellraw N’y aurait-il pas un moyen plus optimisé permettant de créer des messages en json ?
  15. geforce

    Menotte

    Le "4163" est l'id de vos menottes, si vous le remplacez par exemple par un steak "player's tool is steak", cela, fonctionne. Je pense que l'erreur vient du faite que skript ne prend pas en charge les mods. Voilà une alternative: renommez les menottes "&4menottes" on rightclick on player: if player's tool name is "&4menottes": if {menote.%clicked player%} is not set: set {menote.%clicked player%} to true message "&7Vous avez été menotté par &6%player%" to clicked player else: delete {menote.%clicked player%} message "&7Vous avez été démenotté par &6%player%" to clicked player on any movement: if {menote.%player%} is true: cancel event
  16. geforce

    [Utile] : Mobspawner

    Merci pour vos réponses ! Je m'y essaye d’ores et déjà !
  17. geforce

    [Utile] : Mobspawner

    Non, je veux seulement assigner un délai de spawn différent de celui de base à un mob spawner. J'ai trouvé un truc mais cela ne fonctionne pas : delay (of|from) spawner [at] %block%
  18. geforce

    [Utile] : Mobspawner

    Version Skript: 2.2 Version Serveur BUKKIT : 1.9 Bonjour, j'ai crée, il y a peu, un skript pour les mobspawners. Et j'aurais aimé savoir si il était possible de réduire le délai de production d'un mob spawner à un bloc précis. Ps : Je m'excuse, de ce poste assez atypique, sans skript
  19. geforce

    Menotte

    on rightclick on player: if player's tool is 4163: if {menote.%clicked player%} is not set: set {menote.%clicked player%} to true message "&7Vous avez été menotté par &6%player%" to clicked player else: delete {menote.%clicked player%} message "&7Vous avez été démenotté par &6%player%" to clicked player on any movement: if {menote.%player%} is true: cancel event Voilà !
  20. geforce

    [Mobstacker] Version Skript

    Merci ça fonctionne, et désolé pour le point d'exclamation. Néanmoins, je ne vois pas en quoi, un point d'exclamation peut-être offensant.
  21. geforce

    [Mobstacker] Version Skript

    Stack led mobs signifie que les mobs sont imbriqués les uns dans les autres. Return le type du mob qui a été tué, dans mon cas, veut dire que lorsqu’on tue un mob, le skript est capable de nous dire quelle entité a été tuée (zombie, squelette...) Mais j’ai juste besoin du return!
  22. Skript : 2.2 Version serveur : 1.9 Bonjour, je viens à vous pour un problème qui m'empêche d'avancer dans mon projet. C'est un skript, qui comme son nom l'indique, stack les mobs. Cependant j'ai un problème, j'aimerais que mon skript "return", le type d'entité d'un mob qui est mort, cependant je n'y arrive et je demande votre aide ! Si mon explication n'est pas clair, je pense qu'en voyant le skript vous allez comprendre de quoi il en retourne. L'erreur se situe tout au long du deuxième paragraphe avec les "victim's type" ! on spawn of skeleton: set {_n} to 1 loop all entities in radius 5 of event-entity: if loop-entity is a skeleton: if name of loop-entity is set: set {_i} to name of loop-entity replace all "&d" in {_i} with "" replace all "x &6" in {_i} with "" replace all "%event-entity%" in {_i} with "" set {_i} to {_i} parsed as integer add {_i} to {_n} delete loop-entity else: add 1 to {_n} delete loop-entity set custom name of event-entity to "&d%{_n}%x &6%event-entity%" on death: if custom name of victim contain "&6%victim's type%": if custom name of victim is not "&d1x &6%victim's type%": set {_i} to name of victim replace all "&d" in {_i} with "" replace all "x &6" in {_i} with "" replace all "%victim's type%" in {_i} with "" set {_i} to {_i} parsed as integer broadcast {_i} remove 1 from {_i} delete victim wait 0.5 tick set {_m} to victim's type spawn a {_m} at victim set name of spawned entity to "&d%{_i}%x &6%victim's type%"
  23. geforce

    [Inventaire] gui

    Version skript : 2.2 Version serveur : 1.9 bonjour, je me présente ici, car en dépit de mes recherches, je n'ai pas réussi à faire ce que j'avais escompté. Je voulais créer un menu dans lequel le joueur, puisse changer son armure : Le joueur déplace les pièces d'armures dans les slots du menu prévus à cet effet [il ne peux mettre que des casques dans le slot réservé aux casques. Et le script s'occupe de le set à sa son véritable emplacement d'armure (Je sais que cela peut paraître inutile, mais j'en ai réellement besoin). Si mon explication, manque de clarté, une image vaut 1000 mots: Voici, le début du code [la partie dans laquelle je n'y arrive pas est la partie avec le "On inventory click" : function armure(p: player): set {poseidon.armor.modifier.%{_p}%} to true open chest with 6 rows named "&7&l[&3&lArmure&7&l] &7modification" to {_p} wait 1 ticks set {_r} to 0 loop 49 times: if inventory name of {_p}'s current inventory is "&7&l[&3&lArmure&7&l] &7modification": set slot {_r} of {_p}'s current inventory to glass if {_r} = 14 or 23 or 32 or 41: add 2 to {_r} else: add 1 to {_r} else: stop format slot 11 of {_p} with {helmet.%{_p}%} to be unstealable format slot 20 of {_p} with {chestplate.%{_p}%} to be unstealable format slot 29 of {_p} with {leggings.%{_p}%} to be unstealable format slot 38 of {_p} with {boots.%{_p}%} to be unstealable format slot 53 of {_p} with barrier to close while inventory name of {_p}'s current inventory is "&7&l[&3&lArmure&7&l] &7modification": wait 1 tick set {poseidon.armor.modifier.%{_p}%} to false on inventory click: if {poseidon.armor.modifier.%player%} is true: if clicked item is chainmail helmet: set {_p} to clicked item if {_p} is chainmail helmet: if inventory name of player's current inventory is "&7&l[&3&lArmure&7&l] &7modification": if clicked slot is 15: broadcast "ça fonctionne" else: cancel event
  24. abracadabra, topicum résolum ! ;D
  25. geforce

    [Cosmétique] Skin custom

    [12:16:33 ERROR]: Can't understand this condition/effect: set player's display skin to "%arg-1%"'s skin (Pose´don.sk, line 37: set player's display skin to "%arg-1%"'s skin') [12:16:33 ERROR]: Can't understand this condition/effect: set player's display skin to "%player%" (Pose´don.sk, line 40: set player's display skin to "%player%"') [12:16:33 ERROR]: Can't understand this condition/effect: set player's default displayed skin to alex (Pose´don.sk, line 44: set player's default displayed skin to alex#All players now see the skin as alex') [12:16:33 ERROR]: Can't understand this condition/effect: set player's displayed skin to steve for {_p1} (Pose´don.sk, line 45: set player's displayed skin to steve for {_p1}#{_p1} now sees the skin as steve') [12:16:33 ERROR]: Can't understand this condition/effect: set player's default displayed skin to {_p2}'s skin (Pose´don.sk, line 46: set player's default displayed skin to {_p2}'s skin#All players except for {_p1} now see the nametag as {_p2}'s skin') [12:16:33 ERROR]: Can't understand this condition/effect: set player's displayed skin to {_p3}'s skin (Pose´don.sk, line 47: set player's displayed skin to {_p3}'s skin#All players (including {_p1}) now see the skin as {_p3}'s skin') [12:16:33 ERROR]: Can't understand this condition/effect: set player's default displayed skin to steve (Pose´don.sk, line 50: set player's default displayed skin to steve#All players now see the skin as steve') [12:16:33 ERROR]: Can't understand this condition/effect: set player's displayed skin excluding {_p1} to alex (Pose´don.sk, line 51: set player's displayed skin excluding {_p1} to alex#All players except for {_p1} now see the skin as alex') [12:16:33 ERROR]: Can't understand this condition/effect: reset player's default displayed skin (Pose´don.sk, line 52: reset player's default displayed skin#All players except for {_p1} now see the skin as the player's actual skin') [12:16:33 ERROR]: Can't understand this condition/effect: set player's default displayed skin to {_p3}'s skin (Pose´don.sk, line 53: set player's default displayed skin to {_p3}'s skin#All players except for {_p1} now see the skin as {_p3}'s skin') [12:16:33 ERROR]: Can't understand this condition/effect: reset player's displayed skin for {_p1} (Pose´don.sk, line 54: reset player's displayed skin for {_p1}#{_p1} now sees the skin as {_p3}'s skin') [12:16:33 ERROR]: Can't understand this condition/effect: set player's displayed skin to {_p4}'s skin for {_p1} (Pose´don.sk, line 55: set player's displayed skin to {_p4}'s skin for {_p1}#{_p1} now sees the skin as {_p4}'s skin') [12:16:33 ERROR]: Can't understand this condition/effect: reset player's displayed skin (Pose´don.sk, line 56: reset player's displayed skin#All players (including {_p1}) now see the skin as the player's actual skin') Les messages d'erreurs ! et voilà le code qui ne fonctionne vraisemblablement pas : function yolo(p: player, p2: player, p3:player, p4: player): set player's default displayed skin to alex #All players now see the skin as alex set player's displayed skin to steve for {_p1} #{_p1} now sees the skin as steve set player's default displayed skin to {_p2}'s skin #All players except for {_p1} now see the nametag as {_p2}'s skin set player's displayed skin to {_p3}'s skin #All players (including {_p1}) now see the skin as {_p3}'s skin #Example 2 set player's default displayed skin to steve #All players now see the skin as steve set player's displayed skin excluding {_p1} to alex #All players except for {_p1} now see the skin as alex reset player's default displayed skin #All players except for {_p1} now see the skin as the player's actual skin set player's default displayed skin to {_p3}'s skin #All players except for {_p1} now see the skin as {_p3}'s skin reset player's displayed skin for {_p1} #{_p1} now sees the skin as {_p3}'s skin set player's displayed skin to {_p4}'s skin for {_p1} #{_p1} now sees the skin as {_p4}'s skin reset player's displayed skin #All players (including {_p1}) now see the skin as the player's actual skin
×
×
  • 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.