Plugin  Résolu Bungeecord crash

Discussion dans 'Support serveur et plugins' créé par minemobs, 2 Juin 2019.

  1. minemobs

    minemobs Nouveau

    Inscrit:
    1 Juin 2019
    Messages:
    4
    J'aime reçus:
    0
    Lorsque je lance mon bungeecord il me dit ça :

    Code:
    02:09:11 [INFOS] Using standard Java JCE cipher.
    02:09:11 [INFOS] Using standard Java compressor.
    02:09:11 [INFOS] Enabled BungeeCord version git:BungeeCord-Bootstrap:1.14-SNAPSHOT:8fda060:1413
    02:09:11 [INFOS] Discovered module: ModuleSpec(name=cmd_alert, file=modules\cmd_alert.jar, provider=JenkinsModuleSource())
    02:09:11 [INFOS] Discovered module: ModuleSpec(name=cmd_find, file=modules\cmd_find.jar, provider=JenkinsModuleSource())
    02:09:11 [INFOS] Discovered module: ModuleSpec(name=cmd_list, file=modules\cmd_list.jar, provider=JenkinsModuleSource())
    02:09:11 [INFOS] Discovered module: ModuleSpec(name=cmd_send, file=modules\cmd_send.jar, provider=JenkinsModuleSource())
    02:09:11 [INFOS] Discovered module: ModuleSpec(name=cmd_server, file=modules\cmd_server.jar, provider=JenkinsModuleSource())
    02:09:11 [INFOS] Discovered module: ModuleSpec(name=reconnect_yaml, file=modules\reconnect_yaml.jar, provider=JenkinsModuleSource())
    02:09:11 [INFOS] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    02:09:11 [INFOS] Loaded plugin cmd_find version git:cmd_find:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    02:09:11 [INFOS] Loaded plugin cmd_server version git:cmd_server:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    02:09:11 [INFOS] Loaded plugin cmd_alert version git:cmd_alert:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    02:09:11 [INFOS] Loaded plugin cmd_send version git:cmd_send:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    02:09:11 [INFOS] Loaded plugin cmd_list version git:cmd_list:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    02:09:11 [AVERTISSEMENT] Error enabling plugin ServerSelectorX
    java.lang.NoClassDefFoundError: org/bukkit/plugin/java/JavaPlugin
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        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(Unknown Source)
        at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:324)
        at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:232)
        at net.md_5.bungee.BungeeCord.start(BungeeCord.java:265)
        at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62)
        at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.plugin.java.JavaPlugin
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:53)
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 18 more
    02:09:11 [GRAVE] Exception in thread "main"
    02:09:11 [GRAVE] java.lang.RuntimeException: Invalid configuration encountered - this is a configuration error and NOT a bug! Please attempt to fix the error or see https://www.spigotmc.org/ for help.
    02:09:11 [GRAVE]     at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:70)
    02:09:11 [GRAVE]     at net.md_5.bungee.conf.Configuration.load(Configuration.java:68)
    02:09:11 [GRAVE]     at net.md_5.bungee.BungeeCord.start(BungeeCord.java:266)
    02:09:11 [GRAVE]     at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62)
    02:09:11 [GRAVE]     at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
    02:09:11 [GRAVE] Caused by: mapping values are not allowed here
     in 'reader', line 48, column 9:
        Server: motd: '&1Just another BungeeCo ...
              ^
    
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:870)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:214)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:139)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524)
    02:09:11 [GRAVE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:452)
    02:09:11 [GRAVE]     at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:67)
    02:09:11 [GRAVE]     ... 4 more
    Voici ma configuration de mon bungeecord : https://pastebin.com/vWp92B8v
    Merci d'avoir lu(e)
    Cordialement Minemobs
     
    #1 minemobs, 2 Juin 2019
    Dernière édition par un modérateur: 3 Juin 2019
  2. Detobel36

    Detobel36 Créateur de plugins (PhoenixRebirth)
    Support

    Inscrit:
    17 Août 2012
    Messages:
    9 144
    J'aime reçus:
    1 935
    Salut,

    Concernant ServerSelectorX, il s'agit d'un plugin bukkit... Il permet de faire des actions avec bungeecord, mais s'installe sur le serveur minecraft (spigot donc) et non sur le bungeecord.

    Ensuite cette erreur me semble assez clair...
    Et quand on regarde la ligne 48 de ta configuration ça devient encore plus clair:
    Code:
      Server: motd: '&1Just another BungeeCord - Forced Host'
    Cela devrait être:
    Code:
      Server: 
        motd: '&1Just another BungeeCord - Forced Host'
    Ce qui change tout...


    Cordialement,
    Detobel36
     
  3. minemobs

    minemobs Nouveau

    Inscrit:
    1 Juin 2019
    Messages:
    4
    J'aime reçus:
    0
    J'ai changé et maintenant il m'écrit ça :
    Code:
    15:57:21 [INFOS] Using standard Java JCE cipher.
    15:57:21 [INFOS] Using standard Java compressor.
    15:57:21 [INFOS] Enabled BungeeCord version git:BungeeCord-Bootstrap:1.14-SNAPSHOT:8fda060:1413
    15:57:21 [INFOS] Discovered module: ModuleSpec(name=cmd_alert, file=modules\cmd_alert.jar, provider=JenkinsModuleSource())
    15:57:21 [INFOS] Discovered module: ModuleSpec(name=cmd_find, file=modules\cmd_find.jar, provider=JenkinsModuleSource())
    15:57:21 [INFOS] Discovered module: ModuleSpec(name=cmd_list, file=modules\cmd_list.jar, provider=JenkinsModuleSource())
    15:57:21 [INFOS] Discovered module: ModuleSpec(name=cmd_send, file=modules\cmd_send.jar, provider=JenkinsModuleSource())
    15:57:21 [INFOS] Discovered module: ModuleSpec(name=cmd_server, file=modules\cmd_server.jar, provider=JenkinsModuleSource())
    15:57:21 [INFOS] Discovered module: ModuleSpec(name=reconnect_yaml, file=modules\reconnect_yaml.jar, provider=JenkinsModuleSource())
    15:57:21 [INFOS] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    15:57:21 [INFOS] Loaded plugin cmd_find version git:cmd_find:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    15:57:21 [INFOS] Loaded plugin cmd_server version git:cmd_server:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    15:57:21 [INFOS] Loaded plugin cmd_alert version git:cmd_alert:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    15:57:21 [INFOS] Loaded plugin cmd_send version git:cmd_send:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    15:57:21 [INFOS] Loaded plugin cmd_list version git:cmd_list:1.14-SNAPSHOT:8fda060:1413 by SpigotMC
    15:57:21 [AVERTISSEMENT] Error enabling plugin ServerSelectorX
    java.lang.NoClassDefFoundError: org/bukkit/plugin/java/JavaPlugin
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        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(Unknown Source)
        at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:324)
        at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:232)
        at net.md_5.bungee.BungeeCord.start(BungeeCord.java:265)
        at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62)
        at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.plugin.java.JavaPlugin
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:53)
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 18 more
    15:57:21 [GRAVE] Exception in thread "main"
    15:57:21 [GRAVE] java.lang.RuntimeException: Invalid configuration encountered - this is a configuration error and NOT a bug! Please attempt to fix the error or see https://www.spigotmc.org/ for help.
    15:57:21 [GRAVE]     at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:70)
    15:57:21 [GRAVE]     at net.md_5.bungee.conf.Configuration.load(Configuration.java:68)
    15:57:21 [GRAVE]     at net.md_5.bungee.BungeeCord.start(BungeeCord.java:266)
    15:57:21 [GRAVE]     at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62)
    15:57:21 [GRAVE]     at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
    15:57:21 [GRAVE] Caused by: mapping values are not allowed here
     in 'reader', line 48, column 10:
        faction:
               ^
    
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:870)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:214)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:139)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524)
    15:57:21 [GRAVE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:452)
    15:57:21 [GRAVE]     at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:67)
    15:57:21 [GRAVE]     ... 4 more
    (j'ai mis la config en .txt car le .yml ne rentre pas)
     

    Fichiers attachés:

    • config.txt
      Taille de fichier:
      1.2 KB
      Affichages:
      16
    #3 minemobs, 3 Juin 2019
    Dernière édition par un modérateur: 3 Juin 2019
  4. DiscowZombie

    DiscowZombie Dev passionné
    Staff Modérateur Support

    Inscrit:
    2 Mars 2017
    Messages:
    2 584
    J'aime reçus:
    859
    Salut,

    Même soucis :

    Il y a un gros soucis ici :
    Code:
    servers:
      lobby:
      motd: '&1Just another BungeeCord - Forced Host'
      address: localhost:25563
      restricted: false
    player_limit: 1000
      faction:
      motd: '&1Just another BungeeCord - Forced Host'
      address: localhost:25564
      restricted: false
      Dev:
      motd: '&1Just another BungeeCord - Forced Host'
      address: localhost:25566
      restricted: false
    Ça devrait plutôt être ça :
    Code:
    player_limit: 1000
    servers:
      Dev:
        address: "localhost:25566"
        motd: "&1Just another BungeeCord - Forced Host"
        restricted: false
      faction:
        address: "localhost:25564"
        motd: "&1Just another BungeeCord - Forced Host"
        restricted: false
      lobby:
        address: "localhost:25563"
        motd: "&1Just another BungeeCord - Forced Host"
        restricted: false


    PS: J'ai mis en forme tes messages avec des balises CODE pour améliorer la lisibilité ! ;)
     
  5. minemobs

    minemobs Nouveau

    Inscrit:
    1 Juin 2019
    Messages:
    4
    J'aime reçus:
    0
    c'est bon ça fonctionne merci , je passe en résolu
     

Partager cette page