Problème de Plugins

ThanDev

Aventurier
28 Octobre 2020
6
1
3
29
Bonjour, récemment je me suis mis au développement de plugin, pour ca, j'ai créé un serveur local sur lequel j'ai mis mon plugin dans le dossier plugins, le plugin fonctionner normalement et d'un coup après un reload du serveur le plugins ne fonctionner plus j'ai donc fais /pl pour voir la liste des plugins et il n'en trouve plus.
Merci de m'aider
 
Bonsoir,

As-tu un message d'erreur dans la console ?


Cordialement,
ShE3py.
2020-10-28.png

Voir la pièce jointe 90951
Ben je n'ai pas l'impression d'avoir d'erreur appart cette ligne qui est suspecte:
[19:32:50] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
Merci
 
Envoie le fichier qui contient les logs, logs/latest.log, car ton screen est incomplet, il manque le haut.
Le tout dans des balises [code][/code]:
Code:
[code]
Copie-colle le contenu du fichier entre ces deux balises
[*/code]

Sans l'astérisque « * », tu peux aussi simplement mettre le fichier en pièce jointe.

Et sinon pour moi en cas d'erreur le plugin devrait être affiché en rouge, es-tu sûr qu'il est bien présent dans plugins/ ?
 
Code:
[19:50:59] [Server thread/ERROR]: Could not load 'plugins\FirstPluginTest.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:170) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:144) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.craftbukkit.v1_16_R2.CraftServer.loadPlugins(CraftServer.java:383) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:183) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:808) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
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-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:118) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:150) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:472) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:252) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:165) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    ... 6 more
Caused by: java.nio.charset.MalformedInputException: Input length = 1
    at java.nio.charset.CoderResult.throwException(Unknown Source) ~[?:1.8.0_261]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_261]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_261]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_261]
    at org.yaml.snakeyaml.reader.UnicodeReader.read(UnicodeReader.java:125) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:183) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:118) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:150) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:472) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:252) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:165) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    ... 6 more

Ton fichier plugin.yml est malformé, probablement vide.
 
Code:
[19:50:59] [Server thread/ERROR]: Could not load 'plugins\FirstPluginTest.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:170) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:144) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.craftbukkit.v1_16_R2.CraftServer.loadPlugins(CraftServer.java:383) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:183) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:808) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
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-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:118) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:150) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:472) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:252) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:165) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    ... 6 more
Caused by: java.nio.charset.MalformedInputException: Input length = 1
    at java.nio.charset.CoderResult.throwException(Unknown Source) ~[?:1.8.0_261]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_261]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_261]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_261]
    at org.yaml.snakeyaml.reader.UnicodeReader.read(UnicodeReader.java:125) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:183) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:118) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:150) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:472) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:252) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:165) ~[spigot.jar:git-Spigot-2740d5a-890130b]
    ... 6 more

Ton fichier plugin.yml est malformé, probablement vide.
Je vous remercie pour votre aide je ferai désormais mieux attention
Encore merci est bonne soirée
 
Sinon, autre chose d'important, évite les accents, et les tabulations (il faut faire les espaces à la main) sinon le plugin.yml ne se charge pas correctement ^^