Configuration Problème config bungeecord

therocrapha

Massacreur de Mouton
16 Janvier 2016
44
2
23
24
Salut j'ai un soucis entre bungeecord et un serveur relié en localhost

voici les configs:


log bungeecord »

Code:
21:06:20 [INFOS] Enabled BungeeCord version git:BungeeCord-Bootstrap:1.11-SNAPSHOT:4d004d5:1206
21:06:20 [INFOS] Discovered module: ModuleSpec(name=cmd_alert, file=modules\cmd_alert.jar, provider=JenkinsModuleSource())
21:06:20 [INFOS] Discovered module: ModuleSpec(name=cmd_find, file=modules\cmd_find.jar, provider=JenkinsModuleSource())
21:06:20 [INFOS] Discovered module: ModuleSpec(name=cmd_list, file=modules\cmd_list.jar, provider=JenkinsModuleSource())
21:06:20 [INFOS] Discovered module: ModuleSpec(name=cmd_send, file=modules\cmd_send.jar, provider=JenkinsModuleSource())
21:06:20 [INFOS] Discovered module: ModuleSpec(name=cmd_server, file=modules\cmd_server.jar, provider=JenkinsModuleSource())
21:06:20 [INFOS] Discovered module: ModuleSpec(name=reconnect_yaml, file=modules\reconnect_yaml.jar, provider=JenkinsModuleSource())
21:06:20 [INFOS] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Loaded plugin cmd_find version git:cmd_find:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Loaded plugin cmd_server version git:cmd_server:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Loaded plugin cmd_alert version git:cmd_alert:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Loaded plugin cmd_send version git:cmd_send:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Loaded plugin cmd_list version git:cmd_list:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [AVERTISSEMENT] Forced host server pvp is not defined
21:06:20 [INFOS] Enabled plugin reconnect_yaml version git:reconnect_yaml:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Enabled plugin cmd_find version git:cmd_find:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Enabled plugin cmd_server version git:cmd_server:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Enabled plugin cmd_alert version git:cmd_alert:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Enabled plugin cmd_send version git:cmd_send:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:20 [INFOS] Enabled plugin cmd_list version git:cmd_list:1.11-SNAPSHOT:4d004d5:1206 by SpigotMC
21:06:21 [AVERTISSEMENT] Could not bind to host /127.0.0.1:25566
java.net.BindException: Address already in use: bind
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:127)
    at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258)
    at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:512)
    at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:497)
    at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980)
    at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250)
    at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:363)
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:454)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
    at java.lang.Thread.run(Unknown Source)


Config Bungeecord »

Code:
ip_forward: true
network_compression_threshold: 256
stats: 760c6b75-a2ea-49d5-9113-af076f544a45
permissions:
  default:
  - bungeecord.command.server
  - bungeecord.command.list
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload
groups:
  md_5:
  - admin
servers:
  hub:
    motd: '&1Just another BungeeCord - Forced Host'
    address: 127.0.0.1:25566
    restricted: false
timeout: 30000
listeners:
- query_port: 25577
  motd: '&1Another Bungee server'
  priorities:
  - hub
  bind_local_address: true
  tab_list: GLOBAL_PING
  query_enabled: false
  host: 127.0.0.1:25566
  forced_hosts:
    pvp.md-5.net: pvp
  max_players: 1
  tab_size: 60
  ping_passthrough: false
  force_default_server: true
player_limit: -1
online_mode: false
log_commands: false
disabled_commands:
- disabledcommandhere
connection_throttle: 4000

Voilà quand j'essaye de me connecter cela met :

if you wish to use IP forwarding, please enable it in your BungeeCord config as well!

Si quelqu'un connaît la solution pourrait-t'il venir m'aider ?
 
  • J'aime
Reactions: Pol59X
Problème classique. Tient chez moi ça marche ;)
Code:
groups:
  md_5:
  - admin
ip_forward: true
network_compression_threshold: 256
stats: 6e3d5952-ad81-475b-9fcd-4a6e20cca803
permissions:
  default:
  - bungeecord.command.server
  - bungeecord.command.list
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload
  - bungeecord.command.send
online_mode: true
servers:
  lobby:
    motd: '&1Just another BungeeCord - Forced Host'
    address: localhost:1
    restricted: false
timeout: 30000
listeners:
- query_port: 25577
  motd: '&1Another Bungee server'
  tab_list: GLOBAL_PING
  query_enabled: false
  forced_hosts:
    pvp.md-5.net: pvp
  ping_passthrough: false
  default_server: lobby
  bind_local_address: true
  fallback_server: lobby
  host: 0.0.0.0:25577
  max_players: 100
  tab_size: 60
  force_default_server: true
player_limit: -1
disabled_commands:
- disabledcommandhere
log_commands: false
connection_throttle: 4000

AlexFatta
 
toujoàurs ce message : if you wish to use IP forwarding, please enable it in your BungeeCord config as well!
 
Bonjour !

Est-ce que tu peux envoyer le server.properties de ton lobby ? ;)

AlexFatta
 
Si dans ta config tu met le même port pour le serveur BungeeCord(Proxy) et ton serveur Spigot, logique que ça ne fonctionne pas...
Donc -> Dans ta config BungeeCord, mets pour le proxy ->
Code:
host: 127.0.0.1
Ensuite va dans la config de ton serveur Spigot -> Mets le port de ce serveur ->
Code:
server-port=25566
Ensuite retourne dans la config BungeeCord(Proxy) et mets
Code:
  hub:
   motd: '&1Just another BungeeCord - Forced Host'
   address: 127.0.0.1:25566
   restricted: false
(Tu l'as déjà mis mais revérifie)
Et ensuite stop/restart tes 2 serveurs, et connecte toi à l'ip: 127.0.0.1
pas 127.0.0.1:25566 (Comme Detobel l'a dis juste en dessus. Tu dois te connecter a l'ip du proxy et non du serveur Spigot)
[edit] Tu as bien mis
Code:
bungeecord: true
Dans ta config Spigot.yml de ton serveur Spigot ? On ne sait jamais
 
Dernière édition:
Bonjour !

Cela n'est pas obligatoire dans ton cas de mettre le port derrière l'adresse IP ;)

AlexFatta