bungeecord + lobby + server

See original GitHub issue

Hello! Its my first time doing it so i need some help.

i am trying make a server with that setup 1 a bungeecord 2 a lobby 3 a cracked server 4 a premium server

  1. using plugins: authme + fastlogin (bukkit/spigot version) on lobby and cracked server
  2. and using autheme and fastlogin (bungecoord version) on bungecoord

config.yml from bungeecord:

prevent_proxy_connections: false
listeners:
- query_port: 25577
  motd: '&1HBS'
  tab_list: GLOBAL_PING
  query_enabled: false
  proxy_protocol: false
  forced_hosts:
    hu3.net.br: lobby
  ping_passthrough: false
  priorities:
  - lobby
  bind_local_address: false
  host: 0.0.0.0:25560
  max_players: 50
  tab_size: 60
  force_default_server: true
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
  default:
  - bungeecord.command.server
  - bungeecord.command.list
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload
log_pings: true
connection_throttle_limit: 3
server_connect_timeout: 5000
timeout: 30000
player_limit: -1
ip_forward: true
groups:
  comonier:
  - admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
stats: uuid
online_mode: false
forge_support: false
disabled_commands:
- disabledcommandhere
servers:
  lobby:
    motd: ''
    address: localhost:25561
    restricted: false
  server1:
    motd: 'premium'
    address: localhost:25735
    restricted: false
  server2:
    motd: 'cracked'
    address: localhost:25734
    restricted: false

config of authme bungeecord

# List of servers in the network where authme is installed
authServers: 
- lobby
# Consider every server as an auth server
allServersAreAuthServers: true
commands:
    # Allows or not commands to be performed if user is not logged in
    requireAuth: true
    # List of commands allowed to be perform without being authenticated
    whitelist: 
    - /login
    - /register
    - /l
    - /reg
    - /email
    - /captcha
# Allows or not user to talk in chat if he is not logged in
chatRequiresAuth: true
serverSwitch:
    # Kick all players who switch servers without being authenticated (eg. plugin teleport)
    requiresAuth: true
    kickMessage: Authentication required.
# Enable auto-login between servers
autoLogin: true
# If enabled, unlogged users will be sent to the unloggedUserServer server!
sendOnLogout: true
# If sendOnLogout is enabled, unlogged users will be sent to this server!
unloggedUserServer: 'lobby'

config from fastlogin of bungecoord:

anti-bot:
  enabled: true
  connections: 600
  expire: 10
autoRegister: true
respectIpLimit: true
secondAttemptCracked: false
switchMode: false
premiumUuid: true
nameChangeCheck: true
forwardSkin: true
premium-warning: true
ip-addresses: []
mojang-request-limit: 600
auto-register-unknown: false
autoLogin: true
autoLoginFloodgate: true
allowFloodgateNameConflict: false
autoRegisterFloodgate: true
floodgatePrefixWorkaround: true
driver: 'org.sqlite.JDBC'
database: '{pluginDir}/FastLogin.db'
proxies:

fastlogin config from lobby:

anti-bot:
  enabled: true
  connections: 600
  expire: 10
autoRegister: true
respectIpLimit: true
secondAttemptCracked: false
switchMode: false
premiumUuid: true
nameChangeCheck: true
forwardSkin: true
premium-warning: true
ip-addresses: []
mojang-request-limit: 600
auto-register-unknown: false
autoLogin: true
autoLoginFloodgate: true
allowFloodgateNameConflict: true
autoRegisterFloodgate: true
floodgatePrefixWorkaround: true
driver: 'org.sqlite.JDBC'
database: '{pluginDir}/FastLogin.db'
proxies:

authme config hook from lobby:

Hooks:
    multiverse: true
    bungeecord: true
    sendPlayerTo: lobby
    disableSocialSpy: false
    useEssentialsMotd: false

lobby: server.properties: online-mode=false lobby: spigot.yml bungeecord: true the allowed-proxies.txt file already have the uuid from config.yml [bungeecord] in stats

so… who join on server ip join on lobby ( working fine )

For now, let’s forget about the connection between the lobby and the servers, to premium or cracked, that I intend to do.

For now, I would just like a support to understand where I’m going wrong in the Bungeecord and Lobby settings regarding their configuration files and the fastlogin and authme plugins to know why the auto login doesn’t work for my original premium account that is logged in using mojang’s own client.

Thank you very much first of all in case you decide to try to help me 😍

image

console from lobby [23:03:35 INFO]: [FastLogin] No on-going login session for player: CraftPlayer{name=comonier} with ID IP/DOOR [23:06:04 INFO]: comonier issued server command: /premium image

console from bungee 23:03:34 [INFO] [comonier] <-> ServerConnector [lobby] has connected

serverip: hu3.net.br (if you want to test it)

23:59:33 [SEVERE] Feb 19, 2022 11:59:33 PM com.github.games647.fastlogin.core.CommonUtil initializeLoggerService
INFO: Initialize logging service

23:59:33 [WARNING] [FastLogin] This driver org.sqlite.JDBC is not supported on this platform
23:59:33 [WARNING] [FastLogin] Please choose either MySQL (Spigot, BungeeCord), SQLite (Spigot, Sponge) or MariaDB (Sponge, Velocity)
java.lang.[ClassNotFoundException](http://www.google.com/search?hl=en&q=allinurl%3Adocs.oracle.com+javase+docs+api+classnotfoundexception): org.sqlite.JDBC
    at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:103)
    at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:59)
    at java.base/java.lang.[ClassLoader](http://www.google.com/search?hl=en&q=allinurl%3Adocs.oracle.com+javase+docs+api+classloader).loadClass([ClassLoader](http://www.google.com/search?hl=en&q=allinurl%3Adocs.oracle.com+javase+docs+api+classloader).java:520)
    at java.base/java.lang.Class.forName0(Native [Method](http://www.google.com/search?hl=en&q=allinurl%3Adocs.oracle.com+javase+docs+api+method))
    at java.base/java.lang.Class.forName(Class.java:375)
    at com.github.games647.fastlogin.core.shared.FastLoginCore.checkDriver(FastLoginCore.java:248)
    at com.github.games647.fastlogin.core.shared.FastLoginCore.setupDatabase(FastLoginCore.java:207)
    at com.github.games647.fastlogin.bungee.FastLoginBungee.onEnable(FastLoginBungee.java:89)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:265)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:285)
    at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:67)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

maybe that is the big problem ? should i create an mysql database to fastlogin from bungeecord ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:28 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
games647commented, Feb 21, 2022

so i need e fastlogin get premium uuid, fastlogin block cracked uuid from join on server coming from looby

The decision needs to be made at login. There is no concept coming through X. If a player connects to your proxy, BungeeCord or Velocity, a decision has to be made if this should be an onlinemode connection. There is no way to change it later.

1reaction
games647commented, Feb 21, 2022

You can just the server directly. Like premium.mc-server.com or cracked.mc-server.com, but it’s not possible to do that after a server switch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial How to setup BungeeCord server - Minecraft-hosting.pro
How to setup a BungeeCord server ? ... One for the Lobby, under Spigot or PaperMC, this will welcome your players, and allow...
Read more >
Solved - Bungeecord server lobby doesn't work - SpigotMC
I have a bungeecord server and two spigot server, i want to connect them with bungeecord, i did it but when with the...
Read more >
How to setup BungeeCord - Knowledgebase - MelonCube
In this tutorial, we will look at how to setup a BungeeCord network. BungeeCord is an extremely useful tool for connecting multiple Minecraft...
Read more >
Lobby & BungeeCord Setup | Flame | BuiltByBit (MC-Market)
SERVER SELECTOR | PLAYER HIDER | AUTO LOGIN | SETTINGS | COSMETICS | TEST SERVER & more ••
Read more >
How to Set Up BungeeCord to Link Spigot Servers - Linode
Finally, you need to set the default server for players who connect. You can do this by replacing the lobby in the line...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found