mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 02:37:34 +02:00
Fix disconnect reason documentation when cracked users joins (Fixes #9)
This message changed a couple of versions ago
This commit is contained in:
@ -123,8 +123,9 @@ Yes, indeed. Therefore the command for toggling the fast login method exists.
|
|||||||
of a cracked player that has the same username. The player have to proof first that it's his own account.
|
of a cracked player that has the same username. The player have to proof first that it's his own account.
|
||||||
2. We only receive the username from the player on login. We could check if that username is associated
|
2. We only receive the username from the player on login. We could check if that username is associated
|
||||||
to a paid account but if we request a online mode login from a cracked player (who uses a username from
|
to a paid account but if we request a online mode login from a cracked player (who uses a username from
|
||||||
a paid account), the player will disconnect with the reason bad login. There is no way to change that message
|
a paid account), the player will disconnect with the reason "bad login" or "Invalid session". There is no way to change
|
||||||
on the server side (without client modifications), because it's a connection between the Client and the Sessionserver.
|
that message on the server side (without client modifications), because it's a connection between the Client and the
|
||||||
|
Sessionserver.
|
||||||
3. If a premium player would skip registration too, a player of a cracked account could later still register the
|
3. If a premium player would skip registration too, a player of a cracked account could later still register the
|
||||||
account and would claim and steal the account from the premium player. Because commands cannot be invoked unless the
|
account and would claim and steal the account from the premium player. Because commands cannot be invoked unless the
|
||||||
player has a account or is logged in, protects this method also premium players
|
player has a account or is logged in, protects this method also premium players
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
# Furthermore the premium player check have to be made based on the player name
|
# Furthermore the premium player check have to be made based on the player name
|
||||||
# This means if a cracked player connects to the server and we request a paid account login from this player
|
# This means if a cracked player connects to the server and we request a paid account login from this player
|
||||||
# the player just disconnect and sees the message: 'bad login'
|
# the player just disconnect and sees the message: 'bad login' or 'invalid session'
|
||||||
# There is no way to change this message
|
# There is no way to change this message
|
||||||
# For more information: https://github.com/games647/FastLogin#why-do-players-have-to-invoke-a-command
|
# For more information: https://github.com/games647/FastLogin#why-do-players-have-to-invoke-a-command
|
||||||
autoRegister: false
|
autoRegister: false
|
||||||
@ -49,4 +49,16 @@ premiumUuid: false
|
|||||||
# This means this plugin doesn't need to create a new connection to the Mojang servers, because
|
# This means this plugin doesn't need to create a new connection to the Mojang servers, because
|
||||||
# the skin data is included in the Auth-Verification-Response sent by Mojang. If you want to use for other
|
# the skin data is included in the Auth-Verification-Response sent by Mojang. If you want to use for other
|
||||||
# players like cracked player, you have to use other plugins.
|
# players like cracked player, you have to use other plugins.
|
||||||
forwardSkin: true
|
forwardSkin: true
|
||||||
|
|
||||||
|
# Database configuration
|
||||||
|
# Recommened is the use of MariaDB (a better version of MySQL)
|
||||||
|
driver: mysql
|
||||||
|
host: localhost
|
||||||
|
port: 3306
|
||||||
|
database: FastLogin
|
||||||
|
username: myUser
|
||||||
|
password: myPassword
|
||||||
|
# If you use an existing database which will be used by other programs too
|
||||||
|
# you define here a prefix, to prevent conflicts.
|
||||||
|
tablePrefix: ''
|
||||||
|
16
pom.xml
16
pom.xml
@ -83,4 +83,20 @@
|
|||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<!--Database pooling-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zaxxer</groupId>
|
||||||
|
<artifactId>HikariCP</artifactId>
|
||||||
|
<version>2.4.5</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!--Logging framework implements slf4j which is required by hikari-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.slf4j</groupId>
|
||||||
|
<artifactId>slf4j-jdk14</artifactId>
|
||||||
|
<version>1.7.20</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
<artifactSet>
|
<artifactSet>
|
||||||
<includes>
|
<includes>
|
||||||
<include>${project.groupId}:*</include>
|
<include>${project.groupId}:*</include>
|
||||||
|
<include>com.zaxxer:HikariCP</include>
|
||||||
</includes>
|
</includes>
|
||||||
</artifactSet>
|
</artifactSet>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
Reference in New Issue
Block a user