Aller au contenu

geforce

Membre
  • Compteur de contenus

    50
  • Inscription

  • Dernière visite

  • Crédits

    0 [Faire un don]

Réputation sur la communauté

3 Neutre

1 abonné

À propos de geforce

  • Rang
    Apprenti
  1. geforce

    Skript de feu de circulation / tricolore

    Ok, je prends en charge ton projet !
  2. geforce

    résolu [Survie]Coffre qui spawn aléatoirement dans une zone choisi

    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. geforce

    résolu [Survie]Coffre qui spawn aléatoirement dans une zone choisi

    il te faut l'addon skquery car la fonction racine carrée n'existe pas sur le skript de base.
  5. geforce

    résolu [Survie]Coffre qui spawn aléatoirement dans une zone choisi

    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. geforce

    résolu Coffre se regennerais dans un monde

    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. geforce

    résolu Coffre se regennerais dans un monde

    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. geforce

    résolu Coffre se regennerais dans un monde

    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. geforce

    résolu Coffre se regennerais dans un monde

    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. geforce

    [Json chat] mot cliquable

    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
×

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.