GithubHelp home page GithubHelp logo

authme / authmebungee Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crylegend/authmebridge

28.0 28.0 37.0 338 KB

A bridge between your AuthMe Spigot instance and your BungeeCord proxy.

Home Page: https://www.spigotmc.org/resources/authmebungee.50219/

License: GNU General Public License v3.0

Java 100.00%
authentication authme bungeecord minecraft

authmebungee's People

Contributors

bodyash avatar crylegend avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar dnx5 avatar donotspampls avatar fensoft avatar puigru avatar sgdc3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

authmebungee's Issues

abreloadproxy

Reload is not working..

�=> abreloadproxy [18:34:19 INFO]: An internal error occurred whilst executing this command, please check the console log for details.
[18:34:19 WARN]: Error in dispatching command
java.lang.NullPointerException: null
at fr.xephi.authmebungee.commands.BungeeReloadCommand.execute(BungeeReloadCommand.java:22) ~[?:?]
at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:168) ~[proxy.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:82e5f37:164]
at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:115) ~[proxy.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:82e5f37:164]
at io.github.waterfallmc.waterfall.console.WaterfallConsole.lambda$runCommand$0(WaterfallConsole.java:43) ~[proxy.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:82e5f37:164]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

Chat problem

After the last update of the plugin, it became impossible to write anything to the chat, neither the command nor the message.

AuthMeBungee doesn't block commands / autologin doesn't work

I'm using Waterfall and Paper Spigot, and these are the versions of AuthMe that I use:

  • AuthMeBungee 2.2.0 SNAPSHOT
  • AuthMeReloaded 5.6.0 SNAPSHOT.

My spigot server named 'auth' has the AuthMeReloaded plugin. So I edited the config on bungeecord to this:
# List of servers which required to auth servers
authServers:
- auth
I have also enabled requireAuth: true and autoLogin: true.

When setting up AuthMeReloaded, I couldn't find hooks.bungeecord anywhere in the config. What I did find was this:
# Do we need to hook with BungeeCord
bungeecord: true
I assume this is the same thing, so I guess I've enabled hooks.bungeecord.

But, whenever I join the server on my account I can run commands like /lpb editor without having to login first. And when I go to the hub server, then later connect back to the auth server, I will have to login again, even though autologin is enabled.

I've asked for support on the Discord support server, but they don't seem to know what's wrong. And neither do I, because it should be working. If anyone could help me, please reply below.

List of plugins I'm using:

Bungeecord:

  • AuthMeBungee
  • CMI
  • CleanMotD
  • FastLogin
  • LuckPerms-Bungee

Spigot:

  • AuthMe
  • AutoRestart
  • CMI
  • FastLogin
  • LuckPerms-Bukkit
  • PlaceholderAPI
  • ProtocolLib
  • ProtocolSupport
  • TAB
  • Vault
  • Viaversion
  • bAnnouncer

AuthPlayer is not checked for null

Error I am getting:

java.lang.NullPointerException: null
    at fr.xephi.authmebungee.listeners.BungeePlayerListener.onServerConnect(BungeePlayerListener.java:126) ~[?:?]

RedisBungee compatibility

[16:41:46] [main/INFO]: Enabled Waterfall version git:Waterfall-Bootstrap:1.12-SNAPSHOT:87b23b8:165
laterst waterfall build / b165

[16:41:46] [main/INFO]: Loaded plugin AuthMeBungee version 2.0.1-SNAPSHOT by null
[16:41:47] [main/INFO]: Enabled plugin AuthMeBungee version 2.0.1-SNAPSHOT by null

https://pastebin.com/gZDyG9d6

"..."
[10:30:24] [Netty Worker IO Thread #0/WARN] [global]: Error dispatching event PluginMessageEvent(super=TargetedEvent(sender=net.md_5.bungee.ServerConnection@55b01c03, receiver=Sedirus), cancelled=true, tag=BungeeCord) to listener fr.xephi.authmebungee.listeners.BungeeMessageListener@315d228d
java.lang.NullPointerException: null
at fr.xephi.authmebungee.listeners.BungeeMessageListener.handleOnLogin(BungeeMessageListener.java:80) ~[?:?]
at fr.xephi.authmebungee.listeners.BungeeMessageListener.onPluginMessage(BungeeMessageListener.java:69) ~[?:?]
at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]

"..."

Spigot - auth server plugins:

[16:05:24] [Server thread/INFO]: [AuthMe] Loading AuthMe v5.4.0-b1877

Description of how to setup this properly with Auth server and Lobby server

Hi, Is there anyone who can describe for me (and possible for others) how to properly setup AuthMe and AuthMeBungee to achieve following behavior?

Servers:

  • Bungeecord Proxy - AuthMeBungee installed
  • Spigot "Auth" - AuthMe installed
  • Spigot "Lobby" - possibly AuthMe installed? (But dont login again!)
  • Other Spigot servers like "Survival", "Skyblock", "Bedwars", ...

Workflow:

  1. Player connect to network
  2. Player is connected to "auth" server and he need to do /login (or he is logged by FastLogin plugin because he original Minecraft)
  3. Player is automatically redirected to 'lobby' server (No need to do /login again!)
  4. Player can use /changepassword, /unregister, /email commands on lobby server
  5. Player can switch to other servers without ever logging again

How to achieve this?
My current status is, that players are unable to change password or set email for refresh, because they are redirected after login from "auth" server.

I started writing bungeecord plugin to forward /changepassword command to auth server, but I realized its very hard to do.
For example BungeeMessaging need at least one player connected to server, Redis and WebServer are stupid overkill.
It can be made, that 'lobby' server also have AuthMe installed and player is logged automatically, but I was unable to achieve this.

AuthmeBungee didn't realized if I logined and blocked me from talking or commands

I did all I see in readme, put this plugin into bungeecord plugins/ and my authme was installed on 'lobby' server.
I changed config.yml of AUTHME: Hook.bungeecord=true.
when I tried to login, I succeeded but I couldn't talk or use commands.It just looked like that AuthmeBungee thinks I didn't login.
How can I fix this problem?I tried many times fixing config.yml for Authme and AuthmeBungee,but it seems not working. Help me please, many thanks.

Download link

Im getting the error that the file is missing, Could anyone look into this?

Multiple bungeecord support

Hi,

When I use multiple instances of bungeecord connected to the same authentication server. The first player was able to speak and execute commands. But for other players on different instances of bungeecord, they will not be able to speak or execute commands even after / login.

How can I fix this ?

Thanks

Exception encountered when loading plugin: AuthMeBungee

getting this at bungee-proxy #1310 starting authmebungee #2.0.2:

20:47:51 [WARNUNG] Exception encountered when loading plugin: AuthMeBungee
while scanning a quoted scalar
 in 'reader', line 27, column 21:
    unloggedUserServer: '
                        ^
found unexpected end of stream
 in 'reader', line 27, column 22:

    ^

    at fr.xephi.authmebungee.libs.yaml.snakeyaml.scanner.ScannerImpl.scanFlowScalarSpaces(ScannerImpl.java:1933)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.scanner.ScannerImpl.scanFlowScalar(ScannerImpl.java:1847)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.scanner.ScannerImpl.fetchFlowScalar(ScannerImpl.java:1029)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.scanner.ScannerImpl.fetchSingle(ScannerImpl.java:1004)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:392)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:585)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:249)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:240)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:140)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524)
    at fr.xephi.authmebungee.libs.yaml.snakeyaml.Yaml.load(Yaml.java:452)
    at fr.xephi.authmebungee.libs.jalu.configme.resource.YamlFileReader.reload(YamlFileReader.java:116)
    at fr.xephi.authmebungee.libs.jalu.configme.resource.YamlFileReader.<init>(YamlFileReader.java:42)
    at fr.xephi.authmebungee.libs.jalu.configme.resource.YamlFileResource.<init>(YamlFileResource.java:44)
    at fr.xephi.authmebungee.config.SettingsProvider.get(SettingsProvider.java:38)
    at fr.xephi.authmebungee.config.SettingsProvider.get(SettingsProvider.java:16)
    at fr.xephi.authmebungee.libs.jalu.injector.handlers.instantiation.ProviderHandler$InstantiationByProviderClass.instantiateWith(ProviderHandler.java:129)
    at fr.xephi.authmebungee.libs.jalu.injector.InjectorImpl.resolveContext(InjectorImpl.java:164)
    at fr.xephi.authmebungee.libs.jalu.injector.InjectorImpl.resolve(InjectorImpl.java:133)
    at fr.xephi.authmebungee.libs.jalu.injector.InjectorImpl.getSingleton(InjectorImpl.java:72)
    at fr.xephi.authmebungee.AuthMeBungee.onEnable(AuthMeBungee.java:38)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:227)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:277)
    at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:56)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

Support for forced hosts

Just a support for bungee forced hosts.
It should look like this:

  • Player connects to fb.example.net (let's say Freebuild server).
  • Redirect the unlogged player to the selected login server (with authme).
  • After login, redirect player to freebuild server.

AuthMe does not connect with AuthMeBungee

I Follow this guide:

Download AuthMeBungee package
Place AuthMeBungee.jar into your BungeeCord's plugin folder
MAKE SURE THAT hooks.bungeecord is enabled in your authme (spigot side) config file!
Restart everything
Configure the plugin (don't forget to edit the configuration file)
Enjoy!

I have 2 problems:

  1. I can't find the hooks.bungeecord string, I find this:

Do we need to hook with BungeeCord?

bungeecord: true
  1. Despite having put Hook with Bungeecord: true it doesn't work. It makes me log in but it doesn't let me write or change servers or make commands.

Use Authme 5.6.0

Sorry for my bad English.

Goodbye.

Clients 1.6 and below issue

Using ProtocolSupport and ProtocolSupportBungee. (This plugin supports clients from 1.4.7 - 1.13.2)
Using latest versions of AuthMe and AuthMeBungee. Using MySQL and Caching disabled. If you are a client on 1.6 and below, you are authenticated (if it does it for you automatically) however, you can't chat or use any commands still and it doesn't teleport you to servers. I'm not sure if you'll fix this issue or not since it is for super outdated clients but if you do, you're awesome. <3

Edit: One little work around you could do right now with the current builds is when they authenticate to use the bungee send command to send them to the lobby and everything works from there lol

Commands don't work at all on any server, but they will if I set commands: requireAuth: to false.

I have no idea what the problem is, I've done a lot of searching and even went through old issue reports here to find some lead. I have bungee hooks enabled in AuthMeReloaded.

I am running AuthmeReloaded 5.6.0-SNAPSHOT on my 1.14 server, and 5.4.0 release on all the other servers.

On my BungeeCord (v Waterfall-Bootstrap:1.14-SNAPSHOT:1f16030:286) instance, I'm running AuthMeBungee 2.2.0-beta1, BungeeChat 2.1.6.855, BungeePing 2.0, BungeeTabListPlus 2.8.10, HubMagic 0.2.6, NuVotifier 2.5.3, and SkinsRestorer 13.6.1. I can give you any logs you need, but where do I start? I've looked through everything I could think was related, and ALL of the 9 servers are having this problem. I have to remove plugin this until the issue is resolved. I only need this to add the FastLogin plugin.

Another note: In Authme 5.4.0, it is no longer hooks.bungeecord in authme's configuration. It is now this and your instructions on your Spigot page still say the old one. Perhaps this is my problem and I'm overlooking something, but the text seems clear.

Hooks:
# Do we need to hook with multiverse for spawn checking?
multiverse: true
# Do we need to hook with BungeeCord?
bungeecord: true
# Send player to this BungeeCord server after register/login
sendPlayerTo: ''
# Do we need to disable Essentials SocialSpy on join?
disableSocialSpy: false
# Do we need to force /motd Essentials command on join?
useEssentialsMotd: false

hack my server

any one player can join ( without login ) to my admin account

then can use any bungee command, example.
/server
or
/end


i must remove this permission
/lp group lider permission set bungeecord.* false


authme bungee config

# List of servers which required to be authenticated
serversList:
  - hub
  - s2-survival
# Allows or not commands to be performed if user is not logged in
commandsRequiresAuth: true
# List of commands allowed to be perform without being authenticated
commandsWhitelist:
  - /glist
# Allows or not user to talk in chat if he is not logged in
chatRequiresAuth: true
# Kick all players who switch servers without being authenticated (eg. plugin teleport)
# Do not set this option to true unless you know what you're doing!
serverSwitchRequiresAuth: false
# Enable session resume between servers (eg. autologin if you change server)
autoLogin: true

authme bungee
https://ci.xephi.fr/job/AuthMeBungee/34/

authme
https://ci.xephi.fr/job/AuthMeReloaded/1892/

Exception encountered when loading plugin: AuthMeBungee

When using AuthMeBungee on the latest version of Bungee I keep getting this exception in the console, the plugin itself seems to work just fine but the config is not being created.

14:28:35 [ADVERTENCIA] Exception encountered when loading plugin: AuthMeBungee
ch.jalu.injector.exceptions.InjectorException: Class 'class ch.jalu.configme.SettingsManager' with package 'ch.jalu.configme' is outside of the allowed packages. It must be provided explicitly or the package must be passed to the constructor.
at ch.jalu.injector.handlers.preconstruct.PreConstructPackageValidator.process(PreConstructPackageValidator.java:35)
at ch.jalu.injector.handlers.preconstruct.PlainPreConstructHandler.accept(PlainPreConstructHandler.java:11)
at ch.jalu.injector.InjectorImpl.processPreConstructorHandlers(InjectorImpl.java:244)
at ch.jalu.injector.InjectorImpl.get(InjectorImpl.java:157)
at ch.jalu.injector.InjectorImpl.getSingleton(InjectorImpl.java:51)
at fr.xephi.authmebungee.bungeecord.AuthMeBungee.onEnable(AuthMeBungee.java:37)
at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:227)
at net.md_5.bungee.BungeeCord.start(BungeeCord.java:273)
at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:55)
at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

Cannot block bungee command

Can still use the bungee command without logging in

# List of servers which required to be authenticated
authServers: 
- 'lobby'
- 'WizardOfDream'
- 'MiniGame'
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: 'Login again Plz'
# Enable auto-login between servers
autoLogin: true
# If enabled, unlogged users will be sent to the unloggedUserServer server!
sendOnLogout: false
# If sendOnLogout is enabled, unlogged users will be sent to this server!
unloggedUserServer: '' 
 servers:
  lobby:
    motd: '           &e▁&d▂&c▃&b▅&a▆&a&lCoco&b&lPixel&d&l&oMC&r&9 Server&a▆&b▅&c▃&d▂&e▁           &c&lPrivate
      server   &6&k &a&o   Lobby to active server'
    address: 127.0.0.1:43265
    restricted: false
  WizardOfDream:
    motd: Wizard Of Dream
    address: 127.0.0.1:23498
    restricted: false
  MiniGame:
    motd: MiniGame
    address: 127.0.0.1:44586
    restricted: false

Something wrong with metrics classes.

Pulled the repo and compiled it, and received this error.
Using latest Waterfall #380.
Authme build: AuthMe/AuthMeReloaded@782f226

[04:04:59] [main/WARN]: Exception encountered when loading plugin: AuthMeBungee
java.lang.ExceptionInInitializerError: null
at fr.xephi.authmebungee.AuthMeBungee.onEnable(AuthMeBungee.java:60) ~[?:?]
at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:300) ~[waterfall.jar:git:Waterfall-Bootstrap:1.16-R0.4-SNAPSHOT:d5978da:380]
at net.md_5.bungee.BungeeCord.start(BungeeCord.java:289) ~[waterfall.jar:git:Waterfall-Bootstrap:1.16-R0.4-SNAPSHOT:d5978da:380]
at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62) ~[waterfall.jar:git:Waterfall-Bootstrap:1.16-R0.4-SNAPSHOT:d5978da:380]
at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[waterfall.jar:git:Waterfall-Bootstrap:1.16-R0.4-SNAPSHOT:d5978da:380]
Caused by: java.lang.IllegalStateException: bStats Metrics class has not been relocated correctly!
at org.bstats.bungeecord.Metrics.(Metrics.java:43) ~[?:?]
... 5 more

Problem ProtocolSupport?

SAME PROBLEM THEN #35

Bungee + AuthMeBungee
Spigot + AuthMe-5.5.1-SNAPSHOT.jar + Protocol Support

Users CANT move and use commands, works in Authme 5.4.0 but im not 100% sure if my server is secure!

Prelogin warn

Hello, how to fix this prelogin warn, isn't it from Authmebungee?

>.... [17:17:03 WARN]: Event PreLoginEvent(cancelled=false, cancelReasonComponents=null, connection=[/xxxx:61880|MatejkoSmille] <-> InitialHandler) took 388ms to process!
>.... [17:17:06 WARN]: Event PostLoginEvent(player=MatejkoSmille) took 559ms to process!

require login again after switch

I have 2 server or according to works very well however with my server in 1.13.1 it asks again to login.
i have setting server correcly and adding in config of plugin bungee

Authmereloaded: 5.5.0
Authmebungee: 2.0.2 (Maybe need a update plugin for working with 5.5.0 ?)
i have testing authmebungee 2.1.0 (dev build) with authmeReload 5.5.0 and dont working

authme config: https://hastebin.com/xosapazofa.bash
bridge config: https://hastebin.com/rahedomate.bash

working fine ont Authme server and Survie server but not in Dev server in 1.13.1

Access to Privileged BungeeCord Commands

If requireAuth is false then a player can log in with another player and access privileged bungeecord instructions (IE, glist) without needing to log in.

This is prevented by setting requireAuth to true but now players with no registered accounts can't do anything outside the whitelist. I could update the whitelist with every command an unauth player is likely to need but that has other issues.

What I'd like is the following:

  • If a player has an account, limit what they can access unauthenticated to the whitelist. Admins will require registered accounts.
  • If a player has no account, then they have access to all commands that their user has permission to (They're treated as quasi logged in). This falls back to normal permission system which should be limited.

Perhaps an additional flag: commands.whitelistRequiresAccount default to true to preserve backwards compatibility. If false then the whitelist will be ignored if the player has no registered account.

Reproducing

  • Log in as a user with access to a privileged command and an account with requireAuth: false. Easiest to test is the Bungeecord glist command
  • Without logging in, execute the command. It works.
  • Now set requireAuth: true and log in with a user without an account. Will not be able to commands outside of whitelist like /help etc.

Once again, probably expected behaviour but I don't want to force users to create an account and I have about 26 backend vanilla servers all with lots of commands particular to them.

WARNING: AuthMeBungee bypass!!!

Hello. We have been griefed because a severe exploit in BungeeCord and AuthMeBungee.

Here's a description of how they did it:

Utilize an external BungeeCord server. You can bypass the "cannot proxy to it self" by utilizing build 1000.

In the server list, put a "lobby" with authme and authmebridge, and the one you want to connect to.

enter in your lobby from your bungeecord, and do /server servername. you will be connected to the destination server, and the authmebungee plugin will authenticate you.

They said it's something related to this:

ByteArrayOutputStream stm = new ByteArrayOutputStream(); DataOutputStream out = new DataOutputStream(stm); out.writeUTF("PluginName"); out.writeUTF("AutoLogin"); out.writeUTF(player.getName())

critical bug

hello, all work fine but there is big problem if you install litebans plugin under bungeecord players can come with admin commands and stay use command's without login (/ban,/unmute,....)

Auth Servers

Hello,

can you add way to create all servers as Auth Server?
just create setting like requireAuthOnEveryServer: true/false

AuthMe Bungee: Auto login does not work

Hello, my problem is that I can't get the auto login to work on my main servers
On my test servers, no problem, the only difference between them is that I don't use a MySQL database on my test servers
I have disabled the DB cache and enabled the Bungeecord hook on all my servers

Minecraft 1.13.2, Paper 488 & Waterfall 244
AuthMe 5.5.1-b2189 & AuthMeBungee 2.1.0-b92
config.yml AuthMeBungee:

# List of servers which required to be authenticated
authServers: 
- 'lobby'
- 'survival'
- 'creative'
- 'games'
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: 'Vous devez vous connecter'
# Enable auto-login between servers
autoLogin: true
# If enabled, unlogged users will be sent to the unloggedUserServer server!
sendOnLogout: false
# If sendOnLogout is enabled, unlogged users will be sent to this server!
unloggedUserServer: ''

Same issue here: #30

chat and command

any command or message in chat not work
2017-12-04_00 14 46

config


# List of servers which required to be authenticated
authServers:
- 'hub'
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

only i can use a /login or /register

yes, I'm already logged in

on any other servers in my network i have the same problem

travertine
https://ci.lucko.me/job/Travertine/

plugins

SkinsRestorer-v13.1.3.jar
ServerListPlus-3.4.7-Universal.jar
LuckPerms-Bungee-4.0.10.jar
BungeeTabListPlus-2.8.3-SNAPSHOT.jar
BungeeChat-2.1.6.855.jar
bungeeban-2.6.7.jar
BungeeAliases-1.1.4.jar
authmebungee-2.0.1-SNAPSHOT.jar

Errore java last build : 2170

Hi, there,

Using spigot 1.12.2

I have updated authme to the last build: 2170, and no longer appears the login screen, and appears this error in java in the console:

at fr.xephi.authme.libs.com.google.common.cache.LocalCache.get(LocalCache.java:3952) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4958) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4964) ~[?:?]
at fr.xephi.authme.datasource.CacheDataSource.getAuth(CacheDataSource.java:97) ~[?:?]
at fr.xephi.authme.datasource.CacheDataSource.isAuthAvailable(CacheDataSource.java:81) ~[?:?]
at fr.xephi.authme.service.TeleportationService.teleportNewPlayerToFirstSpawn(TeleportationService.java:112) ~[?:?]
at fr.xephi.authme.listener.PlayerListener.onPlayerJoin(PlayerListener.java:248) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-e8ded36-acbc348]
... 16 more
[07:52:59 WARN]: [AuthMe] Plugin AuthMe v5.5.0-SNAPSHOT-b2170 generated an exception while executing task 52
java.lang.NoClassDefFoundError: fr/xephi/authme/libs/com/google/common/util/concurrent/SettableFuture
at fr.xephi.authme.libs.com.google.common.cache.LocalCache$LoadingValueReference.(LocalCache.java:3471) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache$LoadingValueReference.(LocalCache.java:3475) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2133) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache.get(LocalCache.java:3952) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4958) ~[?:?]
at fr.xephi.authme.libs.com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4964) ~[?:?]
at fr.xephi.authme.datasource.CacheDataSource.getAuth(CacheDataSource.java:97) ~[?:?]
at fr.xephi.authme.datasource.CacheDataSource.isAuthAvailable(CacheDataSource.java:81) ~[?:?]
at fr.xephi.authme.process.join.AsynchronousJoin.processJoin(AsynchronousJoin.java:106) ~[?:?]
at fr.xephi.authme.process.Management.lambda$performJoin$6(Management.java:77) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-e8ded36-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot.jar:git-Spigot-e8ded36-acbc348]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]

Session saving even when player is on bungeecord

Hi, what about feature that session will not be counted from (so if there's 30 min session, then when player is on network, it still will be 30 and cooldown will starts after he leaves NOT after he leaves AUTH server) the time he leave whole network, not just auth server?

Will be better for us to prevent account stealing cause we wouldn't have to set BIG session numbers if players just wanna relog.

error

travertine
https://ci.lucko.me/job/Travertine/

kit

plugins

SkinsRestorer-v13.1.3.jar
ServerListPlus-3.4.7-Universal.jar
LuckPerms-Bungee-4.0.10.jar
BungeeTabListPlus-2.8.3-SNAPSHOT.jar
BungeeChat-2.1.6.855.jar
bungeeban-2.6.7.jar
BungeeAliases-1.1.4.jar
authmebungee-2.0.1-SNAPSHOT.jar

Plugin doesn't load

16:48:52 [WARNING] Error enabling plugin AuthMeBungee
java.lang.ClassNotFoundException: AuthMeBungee
	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(ClassLoader.java:357)
	at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:304)
	at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:212)
	at net.md_5.bungee.BungeeCord.start(BungeeCord.java:263)
	at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:55)
	at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

I feel like it's because of this change in commit a30befa, correct me if I'm wrong

Send the player to the lobby even if the password is wrong during login.

I investigated all day to find the solution to this problem but nothing, so I came to the conclusion that it is an AuthMe Bug. If you type "/ login (ex. / Login nutellahdjdjdhjs)" while your password is 'sweatshirt', you will be teleported to the server you chose when the player should be sent after login

AutoLogin doesn't work

I have the autologin option enabled in AuthMeBungee config and I have two servers. The idea is that players login in the "lobby" server and then they can go to survival server without login again. Currently, this is my config (I enabled bungeecord option in AuthMe in both servers):

1

But when I enter the survival server after login in the lobby server, AuthMe send two messages: "This user isn't registerd" and "Please, register to the server with.....". Also in the console says:
"[AuthMe] The user Ajneb has been automatically logged in, as requested by the AuthMeBungee integration."

It says that I am already logged in but still tell me to register :/

I tried setting just the "lobby server" on authServers in AuthMeBungee config, but still doesn't work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.