Résolu La console m'affiche une erreur

Fuzois21

Nouveau
19 Janvier 2020
15
0
1
21
Bonjour quand je lance mon serveur la console m'affiche une erreur que je ne comprends pas pourtant mon fihier .yml est dans mon plugin.
[16:11:02] [Server thread/ERROR]: Could not load 'plugins\MonPlugin.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:168) ~[spigot.jar:git-Bukkit-3e3818b]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:138) [spigot.jar:git-Bukkit-3e3818b]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:348) [spigot.jar:git-Bukkit-3e3818b]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:196) [spigot.jar:git-Bukkit-3e3818b]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:753) [spigot.jar:git-Bukkit-3e3818b]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:218) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:139) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:452) ~[spigot.jar:git-Bukkit-3e3818b]
at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:240) ~[spigot.jar:git-Bukkit-3e3818b]
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:163) ~[spigot.jar:git-Bukkit-3e3818b]
... 5 more
Caused by: java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source) ~[?:1.8.0_241]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_241]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_241]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_241]
at org.yaml.snakeyaml.reader.UnicodeReader.read(UnicodeReader.java:125) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:183) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:139) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524) ~[spigot.jar:git-Bukkit-3e3818b]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:452) ~[spigot.jar:git-Bukkit-3e3818b]
at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:240) ~[spigot.jar:git-Bukkit-3e3818b]
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:163) ~[spigot.jar:git-Bukkit-3e3818b]

... 5 more
 

Fichiers joints

Detobel36

Créateur de plugins (PhoenixRebirth)
Support
17 Août 2012
9 615
2 121
347
24
Bruxelles - Belgique
phoenix-rebirth.fr
Salut,

Retire les accents et les apostrophes dans ton plugin.yml
YAML:
name: MonPlugin
version: 2.0
author: fuzois21
main: fr.fuzois21.monplugin.MonPlugin
commands:
  b:
    description: Bienvenue sur le skyblock d AsFenix !
    permission: b.use
  alert:
    description: Ceci est un broadcast custom
    permission: bc.use
  spawn:
    permission: spawn.use
  tpr:
    description: Teleportation aleatoire
    permission: tpr.use


Cordialement,
Detobel36
 

Pour voir moins d'annonces créez un compte ou connectez-vous.