games647 / FastLogin

Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
https://www.spigotmc.org/resources/fastlogin.14153
MIT License
500 stars 121 forks source link

Question #66

Closed shootcraft closed 8 years ago

shootcraft commented 8 years ago

Is it compulsory for me to setup fast login with bungee cord method if I am using bungee cord to connect my server or can I just setup fast login on my auth server only ?

shootcraft commented 8 years ago

Database configuration

Recommened is the use of MariaDB (a better version of MySQL)

MySQL: driver: com.mysql.jdbc.Driver host: s5.minespan.com port: 3306 database: 15990 username: 15990 password: --removed by games647--

shootcraft commented 8 years ago

is this correct ?

games647 commented 8 years ago

No remove the "MySQL:" line

shootcraft commented 8 years ago

how to Copy the contents (the "org"-folder) from the SQLite driver to BungeeCord ?

shootcraft commented 8 years ago

is that means copy the whole sqlite content into my server jar directory

games647 commented 8 years ago

No open both jars with a archiver program like WinRar or 7Zip. Then copy the mentioned over.

shootcraft commented 8 years ago

i just copy everything from the file i download into bungee cord

shootcraft commented 8 years ago

10.09 03:29:53 [Server] INFO Using standard Java JCE cipher. To enable the OpenSSL based native cipher, please make sure you are using 64 bit Ubuntu or Debian with libssl installed. 10.09 03:29:53 [Server] INFO Could not load native library: /tmp/bungeecord-native-cipher3720444739139789323.so: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

shootcraft commented 8 years ago

no idea

shootcraft commented 8 years ago

please tell me how to fix this ? http://pastebin.com/nhygKFM3

games647 commented 8 years ago

First this isn't a FastLogin issue. Second just follow the message

To enable the OpenSSL based native cipher, please make sure you are using 64 bit Ubuntu or Debian with libssl installed.

shootcraft commented 8 years ago

lol what is that

games647 commented 8 years ago

Just follow the message, but BungeeCord will also work without. It's just for better performance.

shootcraft commented 8 years ago

I just want fastlogin to work, I got check my auth server using /premium command but it just replied some message

games647 commented 8 years ago

What message and why do think is this wrong?

shootcraft commented 8 years ago

sending request ...... and there is no database file generated, only config.yml and message.yml in bungee cord

games647 commented 8 years ago

Then there must be an error as I see there: Failed to load class of driverClassName org.sqlite.JDBC. Looks like you didn't copied it correctly over

shootcraft commented 8 years ago

image

games647 commented 8 years ago

You download the wrong file. It's actually here: https://bitbucket.org/xerial/sqlite-jdbc/downloads

shootcraft commented 8 years ago

I copied everything inside it and paste it on bungee cord

shootcraft commented 8 years ago

sqlite-jdbc-3.8.11.2 wrong ?

games647 commented 8 years ago

No just the wrong download source. It's a jar file not a zip.

shootcraft commented 8 years ago

so i just have to copy the org and the meta-inf dont have to ?

games647 commented 8 years ago

just the org content yes

shootcraft commented 8 years ago

yes !!! I dont whether I did it right, I think it is done, it showed warning: this command should only be invoked if you are the owner of this paid minecraft account type /premium again to confirm, finally after a week i manage to use fast login ultimately thanks for guiding me without you I might not able to use plugin .....

shootcraft commented 8 years ago

how to enable auto login for cracked account ?

games647 commented 8 years ago

They just need to type /premium or you activate autoRegister for new players.

shootcraft commented 8 years ago

I can't is it because of cracked username ?

games647 commented 8 years ago

What can't you do?

shootcraft commented 8 years ago

image

games647 commented 8 years ago

Your BungeeCord still refused to accept it

games647 commented 8 years ago

You have to check for errors.

shootcraft commented 8 years ago

http://pastebin.com/Wt08me1L

games647 commented 8 years ago

Are you sure you are connected over BungeeCord.

shootcraft commented 8 years ago

how to check whether it is connected ?

games647 commented 8 years ago

You just have to connect through your BungeeCord connections settings.

shootcraft commented 8 years ago

My bungee server and auth serve is connected and cracked player with premium username unable to join my server because autoregister was true

games647 commented 8 years ago

That's how it works. Please read the description of autoRegister.

shootcraft commented 8 years ago

but the problem is I used /premium command with my cracked account and it replied warning and tell to excecute second time but then it showed sending request.....

games647 commented 8 years ago

Then it doesn't seems you are connected over the BungeeCord server.