2015-09-05 10:03:06 +02:00
|
|
|
# FastLogin
|
2015-09-04 19:56:58 +02:00
|
|
|
|
2016-05-18 15:47:51 +02:00
|
|
|
Checks if a Minecraft player has a paid account (premium). If so, they can skip offline authentication (auth plugins).
|
2015-11-14 20:03:24 +01:00
|
|
|
So they don't need to enter passwords. This is also called auto login (auto-login).
|
2015-11-03 17:44:57 +01:00
|
|
|
|
2018-04-05 17:33:32 +02:00
|
|
|
## Features
|
2016-04-05 11:40:23 +02:00
|
|
|
|
2015-11-03 17:44:57 +01:00
|
|
|
* Detect paid accounts from others
|
|
|
|
* Automatically login paid accounts (premium)
|
|
|
|
* Support various of auth plugins
|
2016-03-20 11:30:52 +01:00
|
|
|
* Cauldron support
|
|
|
|
* Forge/Sponge message support
|
2016-03-23 10:15:48 +01:00
|
|
|
* Premium UUID support
|
2020-05-07 16:21:03 +02:00
|
|
|
* Forward skins
|
2016-05-31 17:46:49 +02:00
|
|
|
* Detect user name changed and will update the existing database record
|
2015-11-13 22:46:38 +01:00
|
|
|
* BungeeCord support
|
2016-03-20 11:30:52 +01:00
|
|
|
* Auto register new premium players
|
|
|
|
* Plugin: ProtocolSupport is supported and can be used as an alternative to ProtocolLib
|
2015-11-04 19:41:47 +01:00
|
|
|
* No client modifications needed
|
2020-05-07 16:21:03 +02:00
|
|
|
* Good performance by using async operations
|
2016-06-10 09:22:21 +02:00
|
|
|
* Locale messages
|
2020-06-06 18:32:08 +02:00
|
|
|
* Support for Bedrock players proxied through FloodGate
|
2015-11-03 17:44:57 +01:00
|
|
|
|
2020-05-07 16:21:03 +02:00
|
|
|
## Issues
|
|
|
|
|
|
|
|
Please use issues for bug reports, suggestions, questions and more. Please check for existing issues. Existing issues
|
2020-05-14 15:11:01 +02:00
|
|
|
can be voted up by adding up vote to the original post. Closing issues means that they are marked as resolved. Comments
|
|
|
|
are still allowed and it could be re-opened.
|
2020-05-07 16:21:03 +02:00
|
|
|
|
2018-04-02 14:43:43 +02:00
|
|
|
## Development builds
|
|
|
|
|
|
|
|
Development builds of this project can be acquired at the provided CI (continuous integration) server. It contains the
|
|
|
|
latest changes from the Source-Code in preparation for the following release. This means they could contain new
|
|
|
|
features, bug fixes and other changes since the last release.
|
|
|
|
|
2020-05-07 16:21:03 +02:00
|
|
|
They **could** contain new bugs and are likely to be less stable than released versions.
|
2018-04-02 14:43:43 +02:00
|
|
|
|
2020-05-07 16:21:03 +02:00
|
|
|
Specific builds can be grabbed by clicking on the build number on the left side or by clicking on status to retrieve the
|
|
|
|
latest build.
|
2018-04-02 14:43:43 +02:00
|
|
|
https://ci.codemc.org/job/Games647/job/FastLogin/changes
|
|
|
|
|
2015-11-03 17:44:57 +01:00
|
|
|
***
|
2015-09-04 19:56:58 +02:00
|
|
|
|
2018-04-05 17:33:32 +02:00
|
|
|
## Commands
|
|
|
|
|
2018-03-09 13:57:51 +01:00
|
|
|
/premium [player] Label the invoker or the argument as paid account
|
|
|
|
/cracked [player] Label the invoker or the argument as cracked account
|
2015-10-01 19:35:41 +02:00
|
|
|
|
2018-04-05 17:33:32 +02:00
|
|
|
## Permissions
|
|
|
|
|
2018-03-09 13:57:51 +01:00
|
|
|
fastlogin.bukkit.command.premium
|
|
|
|
fastlogin.bukkit.command.cracked
|
|
|
|
fastlogin.command.premium.other
|
|
|
|
fastlogin.command.cracked.other
|
2015-10-01 19:35:41 +02:00
|
|
|
|
2020-05-14 13:41:32 +02:00
|
|
|
## Placeholder
|
|
|
|
|
|
|
|
This plugin supports `PlaceholderAPI` on `Spigot`. It exports the following variable
|
|
|
|
`%fastlogin_status%`. In BungeeCord environments, the status of a player will be delivered with a delay after the player
|
|
|
|
already successful joined the server. This takes about a couple of milliseconds. In this case the value
|
|
|
|
will be `Unknown`.
|
|
|
|
|
|
|
|
Possible values: `Premium`, `Cracked`, `Unknown`
|
|
|
|
|
2018-04-05 17:33:32 +02:00
|
|
|
## Requirements
|
|
|
|
|
2018-04-02 14:43:43 +02:00
|
|
|
* Plugin:
|
|
|
|
* [ProtocolLib](https://www.spigotmc.org/resources/protocollib.1997/) or
|
|
|
|
* [ProtocolSupport](https://www.spigotmc.org/resources/protocolsupport.7201/)
|
2020-03-14 18:47:37 +01:00
|
|
|
* [Spigot](https://www.spigotmc.org) 1.8.8+
|
2017-09-08 11:30:24 +02:00
|
|
|
* Java 8+
|
2020-05-14 13:41:32 +02:00
|
|
|
* Run Spigot (or a fork e.g. Paper) and/or BungeeCord (or a fork e.g. Waterfall) in offline mode
|
2021-02-18 18:16:06 +01:00
|
|
|
* An auth plugin.
|
2016-03-20 15:19:02 +01:00
|
|
|
|
2021-02-18 18:16:06 +01:00
|
|
|
### Supported auth plugins
|
|
|
|
|
|
|
|
#### Spigot/Paper
|
2016-03-20 15:19:02 +01:00
|
|
|
|
2016-05-14 13:25:12 +02:00
|
|
|
* [AdvancedLogin (Paid)](https://www.spigotmc.org/resources/advancedlogin.10510/)
|
2021-02-18 18:17:52 +01:00
|
|
|
* [AuthMe (5.X)](https://dev.bukkit.org/bukkit-plugins/authme-reloaded/)
|
2016-11-26 10:06:27 +01:00
|
|
|
* [CrazyLogin](https://dev.bukkit.org/bukkit-plugins/crazylogin/)
|
|
|
|
* [LoginSecurity](https://dev.bukkit.org/bukkit-plugins/loginsecurity/)
|
2021-02-18 18:17:52 +01:00
|
|
|
* [LogIt](https://github.com/games647/LogIt)
|
2020-07-29 10:58:04 +08:00
|
|
|
* [SodionAuth (2.0+)](https://github.com/Mohist-Community/SodionAuth)
|
2021-02-18 18:17:52 +01:00
|
|
|
* [UltraAuth](https://dev.bukkit.org/bukkit-plugins/ultraauth-aa/)
|
2021-02-18 18:16:06 +01:00
|
|
|
* [UserLogin](https://www.spigotmc.org/resources/userlogin.80669/)
|
2021-02-18 18:17:52 +01:00
|
|
|
* [xAuth](https://dev.bukkit.org/bukkit-plugins/xauth/)
|
2016-03-20 15:19:02 +01:00
|
|
|
|
2021-02-18 18:16:06 +01:00
|
|
|
#### BungeeCord/Waterfall
|
2016-03-20 15:19:02 +01:00
|
|
|
|
|
|
|
* [BungeeAuth](https://www.spigotmc.org/resources/bungeeauth.493/)
|
2021-02-18 18:16:06 +01:00
|
|
|
* [BungeeAuthenticator](https://www.spigotmc.org/resources/bungeecordauthenticator.87669/)
|
2021-04-06 00:31:17 +08:00
|
|
|
* [SodionAuth (2.0+)](https://github.com/Mohist-Community/SodionAuth)
|
2016-03-20 12:49:24 +01:00
|
|
|
|
2019-04-14 10:16:33 +02:00
|
|
|
## Network requests
|
|
|
|
|
|
|
|
This plugin performs network requests to:
|
|
|
|
|
|
|
|
* https://api.mojang.com - retrieving uuid data to decide if we should activate premium login
|
|
|
|
* https://sessionserver.mojang.com - verify if the player is the owner of that account
|
|
|
|
|
2015-11-03 17:44:57 +01:00
|
|
|
***
|
|
|
|
|
2018-04-05 17:33:32 +02:00
|
|
|
## How to install
|
2016-05-14 14:00:43 +02:00
|
|
|
|
2020-05-23 21:39:47 +02:00
|
|
|
### Spigot/Paper
|
2016-05-14 14:00:43 +02:00
|
|
|
|
2018-03-31 10:34:26 +02:00
|
|
|
1. Download and install ProtocolLib/ProtocolSupport
|
|
|
|
2. Download and install FastLogin (or FastLoginBukkit for newer versions)
|
2016-05-18 15:47:51 +02:00
|
|
|
3. Set your server in offline mode by setting the value onlinemode in your server.properties to false
|
2016-05-14 14:00:43 +02:00
|
|
|
|
2018-04-05 17:33:32 +02:00
|
|
|
### BungeeCord/Waterfall
|
2016-05-14 14:00:43 +02:00
|
|
|
|
|
|
|
1. Activate BungeeCord in the Spigot configuration
|
|
|
|
2. Restart your server
|
2020-07-09 18:29:17 +02:00
|
|
|
3. Now there is `allowed-proxies.txt` file in the FastLogin folder
|
2016-05-14 14:00:43 +02:00
|
|
|
Put your stats id from the BungeeCord config into this file
|
|
|
|
4. Activate ipForward in your BungeeCord config
|
2018-03-31 10:34:26 +02:00
|
|
|
5. Download and Install FastLogin (or FastLoginBungee in newer versions) on BungeeCord AND Spigot
|
|
|
|
(on the servers where your login plugin is or where player should be able to execute the commands of FastLogin)
|
2016-05-14 14:00:43 +02:00
|
|
|
6. Check your database settings in the config of FastLogin on BungeeCord
|
2020-05-07 16:21:03 +02:00
|
|
|
7. Set proxy and Spigot in offline mode by setting the value onlinemode in your config.yml to false
|
2017-10-01 17:11:06 +02:00
|
|
|
8. You should *always* firewall your Spigot server that it's only accessible through BungeeCord
|
2018-02-16 12:08:29 +01:00
|
|
|
* https://www.spigotmc.org/wiki/bungeecord-installation/#post-installation
|
|
|
|
* BungeeCord doesn't support SQLite per default, so you should change the configuration to MySQL or MariaDB
|