bungeecord + lobby + server
See original GitHub issueHello! 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
- using plugins: authme + fastlogin (bukkit/spigot version) on lobby and cracked server
- 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 😍

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

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:
- Created 2 years ago
- Comments:28 (10 by maintainers)
Top Related StackOverflow Question
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.
You can just the server directly. Like
premium.mc-server.comorcracked.mc-server.com, but it’s not possible to do that after a server switch.