mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Merge pull request #560 from Smart123s/fg-player-to-account
Update messages
This commit is contained in:
@ -69,17 +69,18 @@ public class FloodgateHook<P extends C, C, S extends LoginSource> {
|
|||||||
"Could not check wether Floodgate Player {}'s name conflicts a premium Java player's name.",
|
"Could not check wether Floodgate Player {}'s name conflicts a premium Java player's name.",
|
||||||
username);
|
username);
|
||||||
try {
|
try {
|
||||||
source.kick("Could not check if your name conflicts an existing Java Premium Player's name");
|
source.kick("Could not check if your name conflicts an existing premium Java account's name.\n"
|
||||||
|
+ "This is usually a serverside error.");
|
||||||
} catch (Exception e1) {
|
} catch (Exception e1) {
|
||||||
core.getPlugin().getLog().error("Could not kick Player {}", username);
|
core.getPlugin().getLog().error("Could not kick Player {}", username);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (premiumUUID.isPresent()) {
|
if (premiumUUID.isPresent()) {
|
||||||
core.getPlugin().getLog().info("Bedrock Player {}'s name conflicts an existing Java Premium Player's name",
|
core.getPlugin().getLog().info("Bedrock Player {}'s name conflicts an existing premium Java account's name",
|
||||||
username);
|
username);
|
||||||
try {
|
try {
|
||||||
source.kick("Your name conflicts an existing Java Premium Player's name");
|
source.kick("Your name conflicts an existing premium Java account's name");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
core.getPlugin().getLog().error("Could not kick Player {}", username);
|
core.getPlugin().getLog().error("Could not kick Player {}", username);
|
||||||
}
|
}
|
||||||
|
@ -94,7 +94,7 @@ public abstract class FloodgateManagement<P extends C, C, L extends LoginSession
|
|||||||
premiumUUID = core.getResolver().findProfile(username);
|
premiumUUID = core.getResolver().findProfile(username);
|
||||||
} catch (IOException | RateLimitException e) {
|
} catch (IOException | RateLimitException e) {
|
||||||
core.getPlugin().getLog().error(
|
core.getPlugin().getLog().error(
|
||||||
"Could not check wether Floodgate Player {}'s name conflits a premium Java player's name.",
|
"Could not check wether Floodgate Player {}'s name conflits a premium Java account's name.",
|
||||||
username);
|
username);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,6 @@ autoLogin: true
|
|||||||
|
|
||||||
# Floodgate configuration
|
# Floodgate configuration
|
||||||
# Connecing through Floodgate requires player's to sign in via their Xbox Live account
|
# Connecing through Floodgate requires player's to sign in via their Xbox Live account
|
||||||
# Requires Floodgate 2.0 https://github.com/GeyserMC/Floodgate/tree/dev/2.0
|
|
||||||
# !!!!!!!! WARNING: FLOODGATE SUPPORT IS AN EXPERIMENTAL FEATURE !!!!!!!!
|
# !!!!!!!! WARNING: FLOODGATE SUPPORT IS AN EXPERIMENTAL FEATURE !!!!!!!!
|
||||||
# Enabling any of these settings might lead to people gaining unauthorized access to other's accounts!
|
# Enabling any of these settings might lead to people gaining unauthorized access to other's accounts!
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user