Skip to content

/premium isn't working how it is supposed to #522

@ErnGr

Description

@ErnGr

What behaviour is observed:

I ran /premium and it said "sending request..."

What behaviour is expected:

it was supposed to ask me if i wanted to do it and after confirming add me to premium lsit

Steps/models to reproduce:

writing /premium

Screenshots (if applicable)

2021-04-30_15 08 28

Plugin list:

LuckPerms, ServersNPC, Essentials, EssentialsProtect, LoginSecurity, EssentialsSpawn, EssentialsChat, BungeeTabListPlus, EssentialsGeoIP, ProtocolLib. EssentialsAntiBuild, FastLogin

Environment description

Spigot 16.5, 16.5, MySQL

Plugin version or build number (don't write latest):

980

Server Log:

Hastebin / Gist link of the error, stacktrace or the complete log (if any)
[11:50:36] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[11:50:36] [main/INFO]: Reloading ResourceManager: Default, bukkit
[11:50:37] [Worker-Main-2/INFO]: Loaded 7 recipes
[11:50:39] [Server thread/INFO]: Starting minecraft server version 1.16.4
[11:50:39] [Server thread/INFO]: Loading properties
[11:50:39] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-37d799b-3eb7236 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
[11:50:39] [Server thread/INFO]: Server Ping Player Sample Count: 12
[11:50:39] [Server thread/INFO]: Using 4 threads for Netty based IO
[11:50:39] [Server thread/INFO]: Debug logging is disabled
[11:50:39] [Server thread/INFO]: Default game type: SURVIVAL
[11:50:39] [Server thread/INFO]: Generating keypair
[11:50:40] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:25636
[11:50:40] [Server thread/INFO]: Using epoll channel type
[11:50:41] [Server thread/WARN]: Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
[11:50:46] [Server thread/WARN]: Legacy plugin LoginSecurity v3.0.2 does not specify an api-version.
[11:50:46] [Server thread/INFO]: [LuckPerms] Loading LuckPerms v5.3.3
[11:50:47] [Server thread/INFO]: [ServersNPC] Loading ServersNPC v3.1
[11:50:47] [Server thread/INFO]: [Essentials] Loading Essentials v2.18.2.0
[11:50:47] [Server thread/INFO]: [EssentialsProtect] Loading EssentialsProtect v2.18.2.0
[11:50:47] [Server thread/INFO]: [LoginSecurity] Loading LoginSecurity v3.0.2
[11:50:47] [Server thread/INFO]: [EssentialsSpawn] Loading EssentialsSpawn v2.18.2.0
[11:50:47] [Server thread/INFO]: [EssentialsChat] Loading EssentialsChat v2.18.2.0
[11:50:47] [Server thread/INFO]: [BungeeTabListPlus] Loading BungeeTabListPlus v3.4.3
[11:50:47] [Server thread/INFO]: [EssentialsGeoIP] Loading EssentialsGeoIP v2.18.2.0
[11:50:47] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v4.6.0
[11:50:48] [Server thread/INFO]: [EssentialsAntiBuild] Loading EssentialsAntiBuild v2.18.2.0
[11:50:48] [Server thread/INFO]: [FastLogin] Loading FastLogin v1.11-SNAPSHOT-7192dcd
[11:50:48] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.3.3
[11:50:48] [Server thread/INFO]: �[0;36;1m �[0;36;22m __ �[m
[11:50:48] [Server thread/INFO]: �[0;36;1m | �[0;36;22m|) �[0;32;22mLuckPerms�[m �[0;36;1mv5.3.3�[m
[11:50:48] [Server thread/INFO]: �[0;36;1m |
_ �[0;36;22m| �[0;30;1mRunning on Bukkit - CraftBukkit�[m
[11:50:48] [Server thread/INFO]: �[m
[11:50:48] [Server thread/INFO]: [LuckPerms] Loading configuration...
[11:50:49] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2]
[11:50:49] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
[11:50:50] [Server thread/INFO]: [LuckPerms] Performing initial data load...
[11:50:50] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 1971ms)
[11:50:50] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v4.6.0
[11:50:50] [Server thread/INFO]: [ProtocolLib] Started structure compiler thread.
[11:50:50] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[11:50:50] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[11:50:50] [Server thread/WARN]: Whilst this makes it possible to use BungeeCord, unless access to your server is properly restricted, it also opens up the ability for hackers to connect with any username they choose.
[11:50:50] [Server thread/WARN]: Please see http://www.spigotmc.org/wiki/firewall-guide/ for further information.
[11:50:50] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[11:50:50] [Server thread/INFO]: Preparing level "world"
[11:50:50] [Server thread/INFO]: -------- World Settings For [world] --------
[11:50:50] [Server thread/INFO]: Experience Merge Radius: 3.0
[11:50:50] [Server thread/INFO]: Mob Spawn Range: 6
[11:50:50] [Server thread/INFO]: Cactus Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Cane Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Melon Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Sapling Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Carrot Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Potato Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Wheat Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Vine Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Kelp Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
[11:50:50] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[11:50:50] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[11:50:50] [Server thread/INFO]: Max TNT Explosions: 100
[11:50:50] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[11:50:50] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[11:50:50] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[11:50:50] [Server thread/INFO]: Item Merge Radius: 2.5
[11:50:50] [Server thread/INFO]: View Distance: 3
[11:50:50] [Server thread/INFO]: Item Despawn Rate: 6000
[11:50:50] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[11:50:50] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[11:50:50] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[11:50:50] [Server thread/INFO]: -------- World Settings For [world_nether] --------
[11:50:50] [Server thread/INFO]: Experience Merge Radius: 3.0
[11:50:50] [Server thread/INFO]: Mob Spawn Range: 6
[11:50:50] [Server thread/INFO]: Cactus Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Cane Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Melon Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Sapling Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Carrot Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Potato Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Wheat Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Vine Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Kelp Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
[11:50:50] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[11:50:50] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[11:50:50] [Server thread/INFO]: Max TNT Explosions: 100
[11:50:50] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[11:50:50] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[11:50:50] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[11:50:50] [Server thread/INFO]: Item Merge Radius: 2.5
[11:50:50] [Server thread/INFO]: View Distance: 3
[11:50:50] [Server thread/INFO]: Item Despawn Rate: 6000
[11:50:50] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[11:50:50] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[11:50:50] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[11:50:50] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[11:50:50] [Server thread/INFO]: Experience Merge Radius: 3.0
[11:50:50] [Server thread/INFO]: Mob Spawn Range: 6
[11:50:50] [Server thread/INFO]: Cactus Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Cane Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Melon Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Sapling Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Carrot Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Potato Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Wheat Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Vine Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Kelp Growth Modifier: 100%
[11:50:50] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
[11:50:50] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[11:50:50] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[11:50:50] [Server thread/INFO]: Max TNT Explosions: 100
[11:50:50] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[11:50:50] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[11:50:50] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[11:50:50] [Server thread/INFO]: Item Merge Radius: 2.5
[11:50:50] [Server thread/INFO]: View Distance: 3
[11:50:50] [Server thread/INFO]: Item Despawn Rate: 6000
[11:50:50] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[11:50:50] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[11:50:50] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[11:50:50] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[11:50:52] [Server thread/INFO]: Preparing spawn area: 0%
[11:50:52] [Server thread/INFO]: Preparing spawn area: 0%
[11:50:52] [Server thread/INFO]: Preparing spawn area: 0%
[11:50:52] [Server thread/INFO]: Preparing spawn area: 0%
[11:50:52] [Worker-Main-3/INFO]: Preparing spawn area: 0%
[11:50:53] [Server thread/INFO]: Time elapsed: 2606 ms
[11:50:53] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[11:50:54] [Server thread/INFO]: Preparing spawn area: 0%
[11:50:54] [Server thread/INFO]: Preparing spawn area: 0%
[11:50:54] [Server thread/INFO]: Preparing spawn area: 0%
[11:50:54] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:50:55] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:50:55] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:50:56] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:50:56] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:50:57] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:50:57] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:50:58] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:50:58] [Worker-Main-3/INFO]: Preparing spawn area: 87%
[11:50:59] [Worker-Main-3/INFO]: Preparing spawn area: 91%
[11:51:00] [Worker-Main-3/INFO]: Preparing spawn area: 95%
[11:51:00] [Worker-Main-3/INFO]: Preparing spawn area: 95%
[11:51:01] [Server thread/INFO]: Time elapsed: 7589 ms
[11:51:01] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[11:51:01] [Server thread/INFO]: Preparing spawn area: 0%
[11:51:01] [Server thread/INFO]: Preparing spawn area: 81%
[11:51:02] [Worker-Main-3/INFO]: Preparing spawn area: 83%
[11:51:02] [Server thread/INFO]: Time elapsed: 1425 ms
[11:51:02] [Server thread/INFO]: [ServersNPC] Enabling ServersNPC v3.1
[11:51:02] [Server thread/WARN]: Skipping cache for CONSTRUCTOR net.minecraft.server.v1_16_R3.PlayerInteractManager
[11:51:02] [Server thread/WARN]: Skipping cache for CONSTRUCTOR net.minecraft.server.v1_16_R3.PacketPlayOutEntityEquipment
[11:51:02] [Server thread/WARN]: Skipping cache for CONSTRUCTOR net.minecraft.server.v1_16_R3.PacketPlayOutEntityEquipment
[11:51:02] [Server thread/WARN]: Skipping cache for METHOD setCustomName
[11:51:02] [Server thread/WARN]: Skipping cache for METHOD watch
[11:51:02] [Server thread/INFO]: [Essentials] Enabling Essentials v2.18.2.0
[11:51:02] [Server thread/INFO]: [Essentials] You are running a server with limited API functionality. EssentialsX will still work, but certain features may be disabled.
[11:51:02] [Server thread/INFO]: Attempting to convert old kits in config.yml to new kits.yml
[11:51:02] [Server thread/INFO]: No kits found to migrate.
[11:51:03] [Server thread/INFO]: Loaded 25599 items from items.json.
[11:51:03] [Server thread/INFO]: Using locale en
[11:51:03] [Server thread/INFO]: [Essentials] ServerListPingEvent: Spigot iterator API
[11:51:03] [Server thread/INFO]: [Essentials] Starting Metrics. Opt-out using the global bStats config.
[11:51:03] [Server thread/WARN]: [Essentials] Detected supported permissions plugin LuckPerms without Vault installed.
[11:51:03] [Server thread/WARN]: [Essentials] Features such as chat prefixes/suffixes and group-related functionality will not work until you install Vault.
[11:51:03] [Server thread/INFO]: [Essentials] Using superperms-based permissions.
[11:51:03] [Server thread/INFO]: [EssentialsProtect] Enabling EssentialsProtect v2.18.2.0
[11:51:03] [Server thread/INFO]: [EssentialsProtect] Continuing to enable Protect.
[11:51:03] [Server thread/INFO]: [EssentialsProtect] Starting Metrics. Opt-out using the global bStats config.
[11:51:03] [Server thread/INFO]: [LoginSecurity] Enabling LoginSecurity v3.0.2
[11:51:03] [Server thread/INFO]: [LoginSecurity] Loading base translations from "en_us"
[11:51:03] [Server thread/INFO]: [LoginSecurity] Loading specified translations from "en_us"
[11:51:03] [Server thread/INFO]: [LoginSecurity] Registering commands...
[11:51:03] [Server thread/INFO]: [LoginSecurity] Registering listeners...
[11:51:03] [Server thread/INFO]: [LoginSecurity] Using 1.12+ map captcha renderer
[11:51:03] [Server thread/INFO]: [EssentialsSpawn] Enabling EssentialsSpawn v2.18.2.0
[11:51:03] [Server thread/INFO]: [EssentialsSpawn] Starting Metrics. Opt-out using the global bStats config.
[11:51:03] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat v2.18.2.0
[11:51:03] [Server thread/INFO]: [EssentialsChat] Starting Metrics. Opt-out using the global bStats config.
[11:51:03] [Server thread/INFO]: [BungeeTabListPlus] Enabling BungeeTabListPlus v3.4.3
[11:51:03] [Server thread/INFO]: [EssentialsGeoIP] Enabling EssentialsGeoIP v2.18.2.0
[11:51:03] [Server thread/ERROR]: No license key found! Please visit https://essentialsx.cf/geoip for first time setup instructions.
[11:51:03] [Server thread/ERROR]: Failed to read GeoIP database!
java.io.FileNotFoundException: plugins/EssentialsGeoIP/GeoIP2-Country.mmdb (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method) ~[?:1.8.0_282]
at java.io.RandomAccessFile.open(RandomAccessFile.java:316) ~[?:1.8.0_282]
at java.io.RandomAccessFile.(RandomAccessFile.java:243) ~[?:1.8.0_282]
at com.maxmind.db.BufferHolder.(BufferHolder.java:19) ~[?:?]
at com.maxmind.db.Reader.(Reader.java:116) ~[?:?]
at com.maxmind.geoip2.DatabaseReader.(DatabaseReader.java:66) ~[?:?]
at com.maxmind.geoip2.DatabaseReader.(DatabaseReader.java:54) ~[?:?]
at com.maxmind.geoip2.DatabaseReader$Builder.build(DatabaseReader.java:160) ~[?:?]
at com.earth2me.essentials.geoip.EssentialsGeoIPPlayerListener.reloadConfig(EssentialsGeoIPPlayerListener.java:175) ~[?:?]
at com.earth2me.essentials.geoip.EssentialsGeoIPPlayerListener.(EssentialsGeoIPPlayerListener.java:52) ~[?:?]
at com.earth2me.essentials.geoip.EssentialsGeoIP.onEnable(EssentialsGeoIP.java:31) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[server.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[server.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[server.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:494) ~[server.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:408) ~[server.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:435) ~[server.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:218) ~[server.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:808) ~[server.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[server.jar:git-Spigot-37d799b-3eb7236]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
[11:51:03] [Server thread/INFO]: [EssentialsGeoIP] This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com/.
[11:51:03] [Server thread/INFO]: [EssentialsGeoIP] Starting Metrics. Opt-out using the global bStats config.
[11:51:03] [Server thread/INFO]: [EssentialsAntiBuild] Enabling EssentialsAntiBuild v2.18.2.0
[11:51:03] [Server thread/INFO]: [EssentialsAntiBuild] Starting Metrics. Opt-out using the global bStats config.
[11:51:03] [Server thread/INFO]: [FastLogin] Enabling FastLogin v1.11-SNAPSHOT-7192dcd
[11:51:03] [Server thread/ERROR]: [FastLogin] Failed to read proxies
java.nio.file.FileAlreadyExistsException: plugins/FastLogin/allowed-proxies.txt
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88) ~[?:1.8.0_282]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.8.0_282]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.8.0_282]
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) ~[?:1.8.0_282]
at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_282]
at java.nio.file.Files.createFile(Files.java:632) ~[?:1.8.0_282]
at com.github.games647.fastlogin.bukkit.BungeeManager.loadBungeeCordIds(BungeeManager.java:139) ~[?:?]
at com.github.games647.fastlogin.bukkit.BungeeManager.initialize(BungeeManager.java:97) ~[?:?]
at com.github.games647.fastlogin.bukkit.FastLoginBukkit.onEnable(FastLoginBukkit.java:91) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[server.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[server.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[server.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:494) ~[server.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:408) ~[server.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:435) ~[server.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:218) ~[server.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:808) ~[server.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[server.jar:git-Spigot-37d799b-3eb7236]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
[11:51:03] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[11:51:03] [Server thread/INFO]: Done (13.522s)! For help, type "help"
[11:51:03] [Server thread/INFO]: Starting GS4 status listener
[11:51:03] [Server thread/INFO]: Thread Query Listener started
[11:51:03] [Query Listener #1/INFO]: Query running on 0.0.0.0:25636
[11:51:04] [Server thread/INFO]: [FastLogin] Hooking into auth plugin: LoginSecurityHook
[11:51:04] [Server thread/INFO]: [FastLogin] BungeeCord setting detected. No auth plugin is required
[11:51:18] [User Authenticator #1/INFO]: UUID of player Ernestas_Gr is 53c0cbb3-4c34-320a-918c-82f106f040ec
[11:51:20] [Server thread/INFO]: Ernestas_Gr[/78.63.147.221:37782] logged in with entity id 141 at ([world]-26.099655246605696, 58.0, -9.237658045167755)
[11:51:22] [Server thread/INFO]: [FastLogin] No on-going login session for player: CraftPlayer{name=Ernestas_Gr} with ID 78.63.147.221:37782
[11:51:29] [Server thread/INFO]: Ernestas_Gr issued server command: /premium
[11:51:44] [Server thread/INFO]: Ernestas_Gr issued server command: /premium
[11:51:46] [Server thread/INFO]: Ernestas_Gr issued server command: /premium
[11:53:33] [Server thread/INFO]: Ernestas_Gr issued server command: /premium
[11:53:41] [Server thread/INFO]: Ernestas_Gr lost connection: Disconnected
[11:53:41] [Server thread/INFO]: Ernestas_Gr left the game
[11:53:48] [User Authenticator #2/INFO]: UUID of player Ernestas_Gr is 53c0cbb3-4c34-320a-918c-82f106f040ec
[11:53:48] [Server thread/INFO]: Ernestas_Gr[/78.63.147.221:37840] logged in with entity id 323 at ([world]-89.28089892521267, 69.0, -48.35689039614479)
[11:53:48] [Server thread/INFO]: [FastLogin] No on-going login session for player: CraftPlayer{name=Ernestas_Gr} with ID 78.63.147.221:37840
[11:53:52] [Server thread/INFO]: Ernestas_Gr lost connection: Disconnected
[11:53:52] [Server thread/INFO]: Ernestas_Gr left the game
[11:53:56] [User Authenticator #3/INFO]: UUID of player Ernestas_Gr is 53c0cbb3-4c34-320a-918c-82f106f040ec
[11:53:56] [Server thread/INFO]: Ernestas_Gr[/78.63.147.221:37842] logged in with entity id 328 at ([world]-54.537558643844804, 67.0, -0.49987973668904156)
[11:53:56] [Server thread/INFO]: [FastLogin] No on-going login session for player: CraftPlayer{name=Ernestas_Gr} with ID 78.63.147.221:37842
[11:54:04] [Server thread/INFO]: Ernestas_Gr issued server command: /premium
[12:07:03] [Server thread/INFO]: Ernestas_Gr issued server command: /pl
[12:08:05] [Server thread/INFO]: Ernestas_Gr issued server command: /premium
[12:08:39] [Server thread/INFO]: Ernestas_Gr lost connection: Disconnected
[12:08:39] [Server thread/INFO]: Ernestas_Gr left the game
[12:21:05] [User Authenticator #4/INFO]: UUID of player Ernestas_Gr is 53c0cbb3-4c34-320a-918c-82f106f040ec
[12:21:05] [Server thread/INFO]: Ernestas_Gr[/78.63.147.221:38220] logged in with entity id 1511 at ([world]-48.69645464355471, 67.0, -9.462971189262978)
[12:21:05] [Server thread/INFO]: [FastLogin] No on-going login session for player: CraftPlayer{name=Ernestas_Gr} with ID 78.63.147.221:38220
[12:21:13] [Server thread/INFO]: Ernestas_Gr issued server command: /lp
[12:21:13] [Server thread/INFO]: Ernestas_Gr issued server command: /ci
[12:21:16] [Server thread/INFO]: Ernestas_Gr issued server command: /pl
[12:21:29] [Server thread/INFO]: Ernestas_Gr issued server command: /premium
[12:22:28] [Server thread/INFO]: Ernestas_Gr issued server command: /pl

Configuration:

Hastebin / Gist link of your config.yml file

FastLogin config

Project site: https://www.spigotmc.org/resources/fastlogin.14153

Source code: https://github.com/games647/FastLogin

You can access the newest config here:

https://github.com/games647/FastLogin/blob/master/core/src/main/resources/config.yml

Request a premium login without forcing the player to type a command

If you activate autoRegister, this plugin will check/do these points on login:

1. An existing cracked account shouldn't exist

-> paid accounts cannot steal the existing account of cracked players

- (Already registered players could still use the /premium command to activate premium checks)

2. Automatically registers an account with a strong random generated password

-> cracked player cannot register an account for the premium player and so cannot the steal the account

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

the player just disconnect and sees the message: 'bad login' or 'invalid session'

There is no way to change this message

For more information: https://github.com/games647/FastLogin#why-do-players-have-to-invoke-a-command

autoRegister: false

This is extra configuration option to the feature above. If we request a premium authentication from a player who

isn't actual premium but used a premium username, the player will disconnect with the reason "invalid session" or

"bad login".

If you activate this, we are remembering this player and do not force another premium authentication if the player

tries to join again, so the player could join as cracked player.

secondAttemptCracked: false

New cracked players will be kicked from server. Good if you want switch from offline-mode to online-mode without

losing players!

Existing cracked and premium players could still join your server. Moreover you could add playernames to a whitelist.

So that these cracked players could join too although they are new players.

switchMode: false

If this plugin detected that a player has a premium, it can also set the associated

uuid from that account. So if the player changes the username, they will still have

the same player data (inventory, permissions, ...)

Warning: This also means that the UUID will be different if the player is connecting

through a offline mode connection. This could cause plugin compatibility issues.

This is a example and doesn't apply for every plugin.

Example: If you want to ban players who aren't online at the moment, the ban plugin will look

after a offline uuid associated to the player, because the server is in offline mode. Then the premium

players could still join the server, because they have different UUID.

Moreover you may want to convert the offline UUID to a premium UUID. This will ensure that the player

will have the same inventory, permissions, ... if they switched to premium authentication from offline/cracked

authentication.

This feature requires Cauldron, Spigot or a fork of Spigot (Paper)

premiumUuid: false

This will make an additional check (only for player names which are not in the database) against the mojang servers

in order to get the premium UUID. If that premium UUID is in the database, we can assume on successful login that the

player changed it's username and we just update the name in the database.

Examples:

#### Case 1

nameChangeCheck = false ----- autoRegister = false

Player logins as cracked until the player invoked the command /premium. Then we could override the existing database

record.

#### Case 2

nameChangeCheck = true ----- autoRegister = false

Connect the Mojang API and check what UUID the player has (UUID exists => Paid Minecraft account). If that UUID is in

the database it's an existing player and FastLogin can assume the player is premium and changed the username.

If it's not in the database, it's a new player and could be a cracked player. So we just use a offline mode

authentication for this player.

Limitation: Cracked players who uses the new username of a paid account cannot join the server if the database

contains the old name. (Example: The owner of the paid account no longer plays on the server, but changed the username

in the meanwhile).

#### Case 3

nameChangeCheck = false ----- autoRegister = true

We will always request a premium authentication if the username is unknown to us, but is in use by a paid minecraft

account. This means it's kind of a more aggressive check like nameChangeCheck = true and autoRegister = false, because

it request a premium authentication which are completely new to us, that even the premium UUID is not in our database.

Limitation: see below

#### Case 4

nameChangeCheck = true ----- autoRegister = true

Based on autoRegister it checks if the player name is premium and login using a premium authentication. After that

fastlogin receives the premium UUID and can update the database record.

Limitation from autoRegister: New offline players who uses the username of an existing minecraft cannot join the

server.

nameChangeCheck: false

If your players have a premium account and a skin associated to their account, this plugin

can download the data and set it to the online player.

Keep in mind that this will only works if the player:

* is the owner of the premium account

* the server connection is established through a premium connection (paid account authentication)

* has a skin

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

players like cracked player, you have to use other plugins.

If you want to use skins for your cracked player, you need an additional plugin like

ChangeSkin, SkinRestorer, ...

forwardSkin: true

Displays a warning message that this message SHOULD only be invoked by

users who actually are the owner of this account. So not by cracked players

If they still want to invoke the command, they have to invoke /premium again

premium-warning: true

If you have autoRegister or nameChangeCheck enabled, you could be rate-limited by Mojang.

The requests of the both options will be only made by FastLogin if the username is unknown to the server

You are allowed to make 600 requests per 10-minutes (60 per minute)

If you own a big server this value could be too low

Once the limit is reached, new players are always logged in as cracked until the rate-limit is expired.

(to the next ten minutes)

The limit is IP-wide. If you have multiple IPv4-addresses you specify them here. FastLogin will then use it in rotating

order --> 5 different IP-addresses 5 * 600 per 10 minutes

If this list is empty only the default one will be used

Lists are created like this:

#ip-addresses:

- 192-168-0-2

ip-addresses: []

How many requests should be established to the Mojang API for Name -> UUID requests. Some other plugins as well

as the head minecraft block make such requests as well. Using this option you can limit the amount requests this

plugin should make.

If you lower this value, other plugins could still make requests while FastLogin cannot.

Mojang limits the amount of request to 600 per 10 minutes per IPv4-address.

mojang-request-limit: 600

This option automatically registers players which are in the FastLogin database, but not in the auth plugin database.

This can happen if you switch your auth plugin or cleared the database of the auth plugin.

#85

auto-register-unknown: false

This disables the auto login from fastlogin. So a premium (like a paid account) authentication is requested, but

the player won't be auto logged into the account.

This can be used as 2Factor authentication for better security of your accounts. A hacker then needs both passwords.

The password of your minecraft and the password to login in with your auth plugin

autoLogin: true

Database configuration

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

Single file SQLite database

driver: org.sqlite.JDBC

File location

database: '{pluginDir}/FastLogin.db'

MySQL/MariaDB

driver: com.mysql.jdbc.Driver
host: localhost
port: 25636
database: fastlogin
username: myUser
password: myPassword

It's strongly recommended to enable SSL and setup a SSL certificate if the MySQL server isn't running on the same

machine

#useSSL: false

HTTP proxies for connecting to the Mojang servers in order to check if the username of a player is premium.

This is a workaround to prevent rate-limiting by Mojang. These proxies will only be used once your server hit

the rate-limit or the custom value above.

Please make sure you use reliable proxies.

proxies:

'IP:Port' or 'Domain:Port'

- 'xyz.com:1337'

- 'test.com:5131'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions