Résolu Problème plugin codé

  • Auteur de la discussion Auteur de la discussion BlueBird
  • Date de début Date de début

BlueBird

Aventurier
21 Mars 2015
31
2
9
37
Bonjour,

Je viens de commencer dans Java et donc j'ai commencé à créer un plugin pour mon serveur minecraft. Le plugin consiste à faire /report <pseudo> <message>. J'ai bien mis dans External Jars, spigot.
Dans mon code je n'ai aucune erreur mais quand je veux l'exporter, et tester sur mon serveur, je n'ai aucun fichier crée. Le plugin.yml et le config.yml est bon.
Est-ce qu'il faut installer Java dessus, je sais pas.

[EDIT] Je suis sous Bungeecord

Cordialement,
alexroge
 
Petite précision, je suis sous Bungeecord :

Logs Bungeecord :
Code:
java.lang.UnsupportedClassVersionError: fr/alexroge/report/Report : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:34)
    at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:297)
    at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:205)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:233)
    at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:50)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
17:28:18 [INFO] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] Loaded plugin BackToLobby version 1.0 by Grooohm
17:28:18 [INFO] Loaded plugin cmd_server version git:cmd_server:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] Loaded plugin cmd_send version git:cmd_send:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] Loaded plugin cmd_list version git:cmd_list:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [WARNING] Exception encountered when loading plugin: BungeeMSG
while parsing a block mapping
in 'reader', line 1, column 1:
    Log:
    ^
expected <block end>, but found Scalar
in 'reader', line 75, column 36:
    PlayerNotOnline: '&6%receiver% &7n'est pas en ligne'
                                      ^
 
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:226)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481)
    at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:441)
    at net.md_5.bungee.config.YamlConfiguration.load(YamlConfiguration.java:72)
    at net.md_5.bungee.config.YamlConfiguration.load(YamlConfiguration.java:58)
    at net.md_5.bungee.config.YamlConfiguration.load(YamlConfiguration.java:50)
    at me.O_o_Fadi_o_O.BungeeMSG.managers.ConfigManager.setup(ConfigManager.java:83)
    at me.O_o_Fadi_o_O.BungeeMSG.Start.onEnable(Start.java:35)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:220)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:242)
    at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:50)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
17:28:18 [INFO] Enabled plugin Yamler version 2.3.0-SNAPSHOTb-5 by geNAZt
17:28:18 [INFO] [MaintenanceMode] =====| Maintenance Mode Activated! |=====
17:28:18 [INFO] Enabled plugin MaintenanceMode version 1.1 by miles7191
17:28:18 [INFO] Enabled plugin cmd_alert version git:cmd_alert:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] [ServerListPlus] Starting...
17:28:18 [CONFIG] [ServerListPlus] [Core] Plugin Information:
---
Plugin: ServerListPlusBungee v3.3.2
Server: git:BungeeCord-Bootstrap:1.8-SNAPSHOT:"54c9ade":1032 (MC: 1.8)
Java: 1.7.0_75 (OpenJDK 64-Bit Server VM)
OS: Linux, 3.2.0-4-amd64 (amd64)
---
17:28:18 [INFO] [ServerListPlus] [Core] Reloading configuration...
17:28:18 [FINE] [ServerListPlus] [Core] Configuration location: plugins/ServerListPlus/ServerListPlus.yml
17:28:18 [INFO] [ServerListPlus] [Core] Loaded configuration: ServerStatusConf
17:28:18 [INFO] [ServerListPlus] [Core] Loaded configuration: PluginConf
17:28:18 [INFO] [ServerListPlus] [Core] Loaded configuration: CoreConf
17:28:18 [CONFIG] [ServerListPlus] [Core] 3 configurations loaded.
17:28:18 [FINE] [ServerListPlus] Registered proxy player tracking listener.
17:28:18 [FINE] [ServerListPlus] [Core] Configuration successfully reloaded!
17:28:18 [FINE] [ServerListPlus] [Core] Reloading profiles from: plugins/ServerListPlus/Profiles.json
17:28:18 [CONFIG] [ServerListPlus] [Core] Profile configuration not found, assuming the profile is disabled!
17:28:18 [WARNING] [ServerListPlus] [Core] Configuration is not enabled, nothing will be changed on the server!
17:28:18 [FINE] [ServerListPlus] [Core] Creating new player tracking cache...
17:28:18 [FINE] [ServerListPlus] [Core] Player tracking cache created.
17:28:18 [INFO] [ServerListPlus] Successfully loaded!
17:28:18 [INFO] Enabled plugin ServerListPlus version 3.3.2 by Minecrell <https://github.com/Minecrell>
17:28:18 [INFO] Enabled plugin cmd_find version git:cmd_find:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] Enabled plugin reconnect_yaml version git:reconnect_yaml:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] Enabled plugin BackToLobby version 1.0 by Grooohm
17:28:18 [INFO] Enabled plugin cmd_server version git:cmd_server:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] Enabled plugin cmd_send version git:cmd_send:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] Enabled plugin cmd_list version git:cmd_list:1.8-SNAPSHOT:"54c9ade":1032 by SpigotMC
17:28:18 [INFO] Listening on /0.0.0.0:25565

Mes codes :
Chat: http://pastebin.com/r7UJWNDr
Issue: http://pastebin.com/RLEsGefE
IssueCommand : http://pastebin.com/d0hnEQB4
ReportCommand : http://pastebin.com/shmQbrSm
Report :http://pastebin.com/JrAWAfKW
IssueStatus: http://pastebin.com/ywevcnaN
plugin.yml :http://pastebin.com/aFit2GpX

Alors est-ce que il faut mettre le même nom dans le plugin.yml que le projet ou autre

Cdt