Version de Minecraft : 1.10 Version de Skript : 2.2
Addons utilisés:
Type du skript :
Description du script :
Bonjour, j’essaye de sauvegarder mon stuff entre le lobby et le /mod mais sa me marque qu'il y a une erreur
Le script:
Révélation
command /mod:
trigger:
if {mod.%player%} is true:
set {mod.%player%} to false
teleport player to {last.location.%player%}
set player's inventory's serialized contents to {last.inventory.%player%}
wait 1 tick
send " &aVous avez quitté le mode &6Modérateur &a!"
else:
set {mod.%player%} to true
set {last.location.%player%} to player's location
set {last.inventory.%player%} to serialized contents of player's inventory
clear player's inventory
wait 1 tick
set slot 0 of player to 1 blaze rod named "&aVanish &7[&aON&7]"
wait 1 tick
send "&aVous avez activé le mode &6Modérateur &a!"
l'erreur dans la console :
Révélation
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! [Skript] Severe Error:
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[17:24:38 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[17:24:38 ERROR]: #!#! and check whether this error has already been reported.
[17:24:38 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[17:24:38 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[17:24:38 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[17:24:38 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Stack trace:
[17:24:38 ERROR]: #!#! java.lang.IllegalArgumentException: Chests must have a size that is a multiple of 9!
[17:24:38 ERROR]: #!#! at org.apache.commons.lang.Validate.isTrue(Validate.java:136)
[17:24:38 ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.CraftServer.createInventory(CraftServer.java:1529)
[17:24:38 ERROR]: #!#! at com.w00tmast3r.skquery.util.serialization.InventorySerialUtils.fromBase64(InventorySerialUtils.java:34)
[17:24:38 ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprInventorySerials.change(ExprInventorySerials.java:41)
[17:24:38 ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:273)
[17:24:38 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)
[17:24:38 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[17:24:38 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[17:24:38 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[17:24:38 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222)
[17:24:38 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184)
[17:24:38 ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:269)
[17:24:38 ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:164)
[17:24:38 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[17:24:38 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[17:24:38 ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[17:24:38 ERROR]: #!#! at java.lang.reflect.Method.invoke(Unknown Source)
[17:24:38 ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
[17:24:38 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[17:24:38 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[17:24:38 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1340)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1183)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[17:24:38 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[17:24:38 ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571)
[17:24:38 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Version Information:
[17:24:38 ERROR]: #!#! Skript: 2.2-SNAPSHOT
[17:24:38 ERROR]: #!#! Bukkit: 1.10-R0.1-SNAPSHOT
[17:24:38 ERROR]: #!#! Minecraft: 1.10
[17:24:38 ERROR]: #!#! Java: 1.8.0_231 (Java HotSpot(TM) 64-Bit Server VM 25.231-b11)
[17:24:38 ERROR]: #!#! OS: Windows 10 amd64 10.0
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Running CraftBukkit: false
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Current node: null
[17:24:38 ERROR]: #!#! Current item: set the inventory serial of the inventory of the player to {last.inventory.%the player%}(as java.lang.String)
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Thread: Server thread
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! End of Error.
[17:24:38 ERROR]: #!#!
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.
Question
Jxlien
Version de Minecraft : 1.10
Version de Skript : 2.2
Addons utilisés:
Type du skript :
Description du script :
Bonjour, j’essaye de sauvegarder mon stuff entre le lobby et le /mod mais sa me marque qu'il y a une erreur
Le script:
command /mod:
trigger:
if {mod.%player%} is true:
set {mod.%player%} to false
teleport player to {last.location.%player%}
set player's inventory's serialized contents to {last.inventory.%player%}
wait 1 tick
send " &aVous avez quitté le mode &6Modérateur &a!"
else:
set {mod.%player%} to true
set {last.location.%player%} to player's location
set {last.inventory.%player%} to serialized contents of player's inventory
clear player's inventory
wait 1 tick
set slot 0 of player to 1 blaze rod named "&aVanish &7[&aON&7]"
wait 1 tick
send "&aVous avez activé le mode &6Modérateur &a!"
l'erreur dans la console :
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! [Skript] Severe Error:
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[17:24:38 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[17:24:38 ERROR]: #!#! and check whether this error has already been reported.
[17:24:38 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[17:24:38 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[17:24:38 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[17:24:38 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Stack trace:
[17:24:38 ERROR]: #!#! java.lang.IllegalArgumentException: Chests must have a size that is a multiple of 9!
[17:24:38 ERROR]: #!#! at org.apache.commons.lang.Validate.isTrue(Validate.java:136)
[17:24:38 ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.CraftServer.createInventory(CraftServer.java:1529)
[17:24:38 ERROR]: #!#! at com.w00tmast3r.skquery.util.serialization.InventorySerialUtils.fromBase64(InventorySerialUtils.java:34)
[17:24:38 ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprInventorySerials.change(ExprInventorySerials.java:41)
[17:24:38 ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:273)
[17:24:38 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)
[17:24:38 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[17:24:38 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[17:24:38 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[17:24:38 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222)
[17:24:38 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184)
[17:24:38 ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:269)
[17:24:38 ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:164)
[17:24:38 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[17:24:38 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[17:24:38 ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[17:24:38 ERROR]: #!#! at java.lang.reflect.Method.invoke(Unknown Source)
[17:24:38 ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
[17:24:38 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[17:24:38 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[17:24:38 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1340)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1183)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[17:24:38 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[17:24:38 ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672)
[17:24:38 ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571)
[17:24:38 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Version Information:
[17:24:38 ERROR]: #!#! Skript: 2.2-SNAPSHOT
[17:24:38 ERROR]: #!#! Bukkit: 1.10-R0.1-SNAPSHOT
[17:24:38 ERROR]: #!#! Minecraft: 1.10
[17:24:38 ERROR]: #!#! Java: 1.8.0_231 (Java HotSpot(TM) 64-Bit Server VM 25.231-b11)
[17:24:38 ERROR]: #!#! OS: Windows 10 amd64 10.0
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Running CraftBukkit: false
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Current node: null
[17:24:38 ERROR]: #!#! Current item: set the inventory serial of the inventory of the player to {last.inventory.%the player%}(as java.lang.String)
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! Thread: Server thread
[17:24:38 ERROR]: #!#!
[17:24:38 ERROR]: #!#! End of Error.
[17:24:38 ERROR]: #!#!
merci à ceux qui m'aideront 🙂
14 réponses à cette question
Messages recommandés