-
Compteur de contenus
559 -
Inscription
-
Dernière visite
-
Jours gagnés
6 -
Crédits
0 [Faire un don]
Type de contenu
Profils
Forums
Téléchargements
Downloads Plus Support
module__dplus_manager
Tout ce qui a été posté par LavaPower
-
essaye : command /autoban: trigger: add player to {ban.list::*} kick the player due to "Tu as été banni" set {Raison.Ban.%UUID of player%} to "Aucune Raison" set {Time.Ban.%UUID of player%} to now on join: if {ban.list::*} contains player: kick the player due to "&cTu as été banni!" kick the player due to "&6Raison>> &b%{Raison.Ban.%UUID of player%}%" kick the player due to "&6Date>> &b%{Time.Ban.%UUID of player%}%"
-
command /nombre: trigger: set {_number} to a random number between 1 and 99 broadcast "Le numéro gagnant est %{_number}%" Pas tester
-
J'ai fait ce bout de code, pas d'erreru mais ca marche pas: on chat: cancel event if message is "ANNULER": send "&a[banque] Dépôt annulé. Bonne journée" else if message is a integer: if message > {MoneyPoche.%player%}: send "&a[banque] Tu ne peux pas déposer autant d'argent." send "&a[banque] Entre l'argent à déposer ou ANNULER :" else: set {_valeur} to message parsed as integer add {_valeur} to {MoneyBanque.%player%} remove {_valeur} from {MoneyPoche.%player%} edit score id "mbanque" to "&2Money en banque : %{MoneyBanque.%player%}% €" and 2 edit score id "mpoche" to "&2Money en poche : %{MoneyPoche.%player%}% €" and 3 delete {ChatBanque.%player%} send "&a[banque] Tu as déposé %message% euros. Bonne journée" else: send "&a[banque] Entre un montant ou ANNULER :"
-
En gros le chat lui demande un montant à verser "Entre un montant ou ANNULER pour annuler :" là, le joueur doit donc entrer une de ces deux choses mais il peut très bien ecrire "POL"
-
En gros, le joueur doit entre un nombre ou ANNULER mais rien me confirme qu'il ecrit bien ça
-
Et si le joueur entre "BLABLA", la conversion sera comment ?
-
Bonjour, j'utilise le "on chat" pour récupérer le message du joueur et j'aimerais changer cette variable en nombre entier. Pouvez vous m'aider ?
-
Pas grave, n'oublie pas de mettre en resolu le topic
-
Ah, je suis idiot, encore un j'aime pour toi !
-
Perso, sur mon serveur spigot 1.10 j'ai skript 2.2-SNAPSHOT qui marche nickel
-
Merci c'était ça apparemment ! EDIT : Une autre erreur : [23:00:57 ERROR]: Can't understand this condition/effect: format slot {_s} of arg-1 with arg-1's skull named arg1 named "%arg 1%" with lore "Argent sur sois - %{MoneyPoche.%arg 1%}% / Argent en banque - %{MoneyBanque.%arg 1%}%" to be unstealable (MoneyKS.sk, line 51: format slot {_s} of arg-1 with arg-1's skull named arg1 named "%arg 1%" with lore "Argent sur sois - %{MoneyPoche.%arg 1%}% / Argent en banque - %{MoneyBanque.%arg 1%}%" to be unstealable') Avec cette ligne : format slot {_s} of arg-1 with arg-1's skull named arg1 named "%arg 1%" with lore "Argent sur sois - %{MoneyPoche.%arg 1%}% / Argent en banque - %{MoneyBanque.%arg 1%}%" to be unstealable Merci de ton aide quand même
-
Bonsoir, Mon skript avance mais une erreur s'est présenté à moi : [21:47:51 ERROR]: [skript] ': %{Compte.%arg 1%}%" to close then run [make console command "/cmdp %arg 1%"]' is not a valid item data (BanqueKS.sk, line 55: format slot {_s} of arg-1 with paper named "Changer le mot de passe" with lore "MDP actuel : %{Compte.%arg 1%}%" to close then run [make console command "/cmdp %arg 1%"]') [21:47:51 ERROR]: [skript] ': %{MoneyPoche.%arg 1%}%||Argent en banque : %{MoneyBanque.%arg 1%}%" to be unstealable' is not a valid item data (BanqueKS.sk, line 51: format slot {_s} of arg-1 with arg-1's skull named arg1 with lore "Argent sur sois : %{MoneyPoche.%arg 1%}%||Argent en banque : %{MoneyBanque.%arg 1%}%" to be unstealable') [21:47:50 ERROR]: [skript] ': %{MoneyPoche.%arg 1%}%" to close then run [make console command "/dargent %arg 1%"]' is not a valid item data (BanqueKS.sk, line 49: format slot {_s} of arg-1 with paper named "DÚposer de l'argent" with lore "Argent sur sois : %{MoneyPoche.%arg 1%}%" to close then run [make console command "/dargent %arg 1%"]') Correspondant à ce code : open chest with 1 rows named "&aBanque" to arg-1 wait 2 ticks set {_s} to 0 loop 9 times: if {_s} is 2: format slot {_s} of arg-1 with paper named "Déposer de l'argent" with lore "Argent sur sois : %{MoneyPoche.%arg 1%}%" to close then run [make console execute command "/dargent %arg 1%] else if {_s} is 4: format slot {_s} of arg-1 with arg-1's skull named "%arg 1%" with lore "Argent sur sois : %{MoneyPoche.%arg 1%}%||Argent en banque : %{MoneyBanque.%arg 1%}%" to be unstealable else if {_s} is 6: format slot {_s} of arg-1 with paper named "Changer le mot de passe" with lore "MDP actuel : %{Compte.%arg 1%}%" to close then run [make console execute command "/cmdp%arg 1%] else: format slot {_s} of arg-1 with glass pane named "" to be unstealable add 1 to {_s} Malheureusement, je ne comprends pas l'erreur. Merci de l'aide
-
Bonjour, Je voulais s'avoir si il y a un moyen de savoir si la variable est numérique. Merci
-
Ouais j'ai établi un record XD
-
C'est réglé x) Un bug qui est parti aussi vite qu'il est venu xD
-
Un redémarrage du pc a résolu le bug, c'est wtf
-
Bonjour, J'ai ce code pour créer un pnj : spawn a villager at player's location Aucune erreur mais quand le code est lancé, il y a écrit : An internal error occured while attempting to perform this command Et sur la console il y a plein d'erreur : [21:12:48 ERROR]: #!#![21:12:48 ERROR]: #!#! End of Error.[21:12:48 ERROR]: #!#![21:12:48 ERROR]: #!#! Thread: Server thread[21:12:48 ERROR]: #!#![21:12:48 ERROR]: #!#! Current item: spawn [[entitytype:villager]] at the location of (the player >> ch.njol.skript.classes.data.DefaultConverters$10@1c2a345: org.bukkit.entity.Player->org.bukkit.Location)[21:12:48 ERROR]: #!#! Current node: null[21:12:48 ERROR]: #!#![21:12:48 ERROR]: #!#! Running CraftBukkit: false[21:12:48 ERROR]: #!#![21:12:48 ERROR]: #!#! OS: Windows 10 x86 10.0[21:12:48 ERROR]: #!#! Java: 1.8.0_91 (Java HotSpot Client VM 25.91-b15)[21:12:48 ERROR]: #!#! Minecraft: 1.10[21:12:48 ERROR]: #!#! Bukkit: 1.10-R0.1-SNAPSHOT[21:12:48 ERROR]: #!#! Skript: 2.2-SNAPSHOT[21:12:48 ERROR]: #!#! Version Information:[21:12:48 ERROR]: #!#![21:12:48 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)[21:12:48 ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)[21:12:48 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1183)[21:12:48 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1340)[21:12:48 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)[21:12:48 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)[21:12:48 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)[21:12:48 ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)[21:12:48 ERROR]: #!#! at java.lang.reflect.Method.invoke(Unknown Source)[21:12:48 ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[21:12:48 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[21:12:48 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[21:12:48 ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:164)[21:12:48 ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:269)[21:12:48 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184)[21:12:48 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222)[21:12:48 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)[21:12:48 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)[21:12:48 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)[21:12:48 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)[21:12:48 ERROR]: #!#! at ch.njol.skript.effects.EffSpawn.execute(EffSpawn.java:88)[21:12:48 ERROR]: #!#! at ch.njol.skript.entity.VillagerData.spawn(VillagerData.java:1)[21:12:48 ERROR]: #!#! at ch.njol.skript.entity.VillagerData.spawn(VillagerData.java:76)[21:12:48 ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.entity.CraftVillager.setProfession(CraftVillager.java:47)[21:12:48 ERROR]: #!#! at org.apache.commons.lang.Validate.isTrue(Validate.java:71)[21:12:48 ERROR]: #!#! java.lang.IllegalArgumentException: This profession is reserved for Zombies: HUSK[21:12:48 ERROR]: #!#! Stack trace:[21:12:48 ERROR]: #!#![21:12:48 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.[21:12:48 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.[21:12:48 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.[21:12:48 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,[21:12:48 ERROR]: #!#! and check whether this error has already been reported.[21:12:48 ERROR]: #!#! If you're a server admin however please go to [Contenu masqué] ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.[21:12:48 ERROR]: #!#![21:12:48 ERROR]: #!#! [skript] Severe Error: Le copier/coller bug, va savoir pourquoi bref, c'est incompréhensible :(
-
Teste le, après n'oublie pas le like et le résolu de la discussion
-
Je l'ai edit, c'était un bug x)
-
Essaye : command /modo <player>: trigger: if player has permission "verif.see": open chest with 3 rows named "cVerif de %arg 1% !" to player wait 1 tick if {freeze.%arg 1%} is not set: format slot 0 with redstone torch named "&aFreeze !" to close then run [make player execute command "/freezegui %arg 1%] else: format slot 0 with torch named "&aUnfreeze !" to close then run [make player execute command "/unfreezegui %arg 1%] command /freezegui <player> : trigger: if player has permission "verif.see": close player's inventory make player execute command "/freeze %arg 1%" wait 2 ticks make player execute command "/modo %arg 1%" command /unfreezegui <player> : trigger: if player has permission "verif.see": close player's inventory make player execute command "/unfreeze %arg 1%" wait 2 ticks make player execute command "/modo %arg 1%"
-
Bon, si tu as peur de mettre ton code ici (peur non-fondée ceci dit) tu peux toujours me le passé en mp