PremiumLogin 1.7.2

Autologin Premium Players Easily And Safely. Requires AuthMe or LockLogin.

  1. NotReference
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    KarmaConfig (LockLogin API)
    Languages Supported:
    Works with:
    AuthMe, LockLogin

    This plugin needs AuthMe or LockLogin to work.

    For authme: type "bungeecord: true" into authme's config and spigot config.

    Telegram: @NotRefyDev


    Thanks for 500+ Downloads.
    Road to 1000.

    If you use LockLogin, please download at least LockLogin Version 2.1.8+ (API Constructor Changed). If you have older LockLogin Versions, please use PremiumLogin 1.4

    (NOTE: 1.15.2 seems to be not supported at all, please use the build 1.15 and download ViaVersion for 1.15.2 support)

    (1.0 Image)
    Now is 'Premium account found. You are now logged in.'
    But, you can customize all messages.

    If you like this plugin, star on GitHub :love:

    How to use?

    Very simple:

    - Put the .jar file into Bungeecord Plugins.
    - Start the server.
    - Setup the authentication server for perform login into the config.yml

    Remember this:

    - Remember to turn bungeecord: true in authme config and the spigot.yml of the authentication server.

    Messages are fully customizables. You can choose the AuthServer for do the autologin only into the specifed server and much more like stafflog, allow legacy connections, allow online mode, custom permission to use premium..

    • /premium - Add to premium players. (Default, Requires: nothing, If set, Require: CustomPermission)
    • /premiumlogin - Show player informations.
    • /premiumreload - Reload configuration. (Requires: premiumlogin.reload)
    • /premiumlookup (player) - Get other player informations. (Requires: premiumlogin.staff)
    • /premiumremove (player) - Remove a premium player to premium list. (Requires: premiumlogin.staff)
    • /premiumadd (player) - Add a premium player to premium list. (Requires: premiumlogin.staff)
    • Allow / Block Old legacy premium connections.
    • Instant AutoLogin Premium Players On Join.
    • Staff Log.
    • Set an auth server for autologin only in the specifed server.
    • Set a custom permission to use /premium.
    • Set that all servers are an auth server.
    • Developers API
    • Custom Events
    • /premium can be enabled and disabled.
    • Players which typed /premium will be locked and protected from sp players.
    • Safely.
    • Automatic skin detection.
    • Automatic UUID setup. (Optional)
    • Send to lobby on login. (Optional)
    • Custom config manager (doesn't remove # comments)
    • Temp files auto delete
    • Auto language setup (You can save your time just turning auto-language true and set your language code in language: '')

    Here is an api example:

    Code (Java):

    //Checking if premiumlogin is enabled.
    private boolean premiumlogin = false;
    public void onEnable() {

    ... your code ...

    if(yourPlugin.getInstance().getProxy().getPlugin("PremiumLogin") != null) {
    premiumlogin = true;

    ... your code ...


    public boolean isPremiumLoginHooked() {

    return premiumlogin;


    //Event example
    public void onAutologin(PremiumAutologinEvent event) {

    String playerName = event.getPlayer().getName();
    PremiumLoginAPI api = new PremiumLoginAPI();
    api.logStaffMembers(playerName + " logged in with PremiumLogin!");


    //API example
    public void execute(...) {

    if(!yourPlugin.getInstance().isPremiumLoginHooked()) {

    sender.sendMessage(new TextComponent("§cSorry, but premiumlogin is not enabled. Enable it to perform this api command."));


    PremiumLoginAPI api = new PremiumLoginAPI();

    if(!api.versionCheck().isLatest()) {

    api.newUtils().send(sender, "&cYou are using an outdated version of PremiumLogin. Please update it now from {spigot_link}".replace("{spigot_link", api.getSpigotUrl()));

    //Checking if is a player.

    //Note: This is an old PremiumLogin api version.
    //From the 1.6.2 the method accept does not exists.

    if(api.accept(sender)) {

    ProxiedPlayer player = (ProxiedPlayer) sender;

    //From the 1.6.2 the BuildSimpleKey method changed.

    AuthenticationKey key = api.buildSimpleKey()
                                                      .setServer(player.getServer().getInfo()) //or api.getAuthServer()
    LoginResponse response = api.simpleLogin(player, key);
    if(response != LoginResponse.SUCCESS) {

    if(api.isPremiumLogged(p)) {

    //already logged in so the authentication handler can't re login.
    //this method has been removed on b1.5.3
    api.sendToLastLoginRequestPlayer("&eYou are already logged in.");


    api.logLoginError("&cUnable to login user {user}", p);
    api.newUtils().send(p, "&cUnable to login. :(");

    } else {

    //the plugin automatically sent the login message from the config.
    //but you can always send another custom.

    api.newUtils().send(p, "&aYou are now logged in!");


    } else {

    sender.sendMessage(new TextComponent("§cYou must be a player!"));


    PluginUtils utils = api.newUtils();
    utils.send(sender, "&cMessage");


    //New (1.6.4)
    public void onUUIDChange(UUIDSetupEvent event) {

    if(event.getPlayerConnection.getName().equalsIgnoreCase("something")) {

    .... api = new PremiumLoginAPI(..);
    ProxiedPlayer player = api.getPlayerFrom(event);
    player.sendMessage(new TextComponent("No uuid setup for you."));





    1. e.PNG
    2. f.PNG
    Tsunderella, Soyaxo, chuky025 and 2 others like this.

Recent Reviews

  1. FanGamerYT
    Version: 1.7.2
    Hello, this plugin look great, but i have one question. If i have 2 hubs (2 login servers), how can i put 2 login servers in config.yml ?
    Here :
    # Select the authentication server.
    auth-server: ''

    Thanks you
    1. NotReference
      Author's Response
      Thanks for the review. You can allow multiple auth servers just turning to true the option 'all-servers-are-server-auth'.
  2. Flak
    Version: 1.7.2
    [21:56:05 ERROR] [PremiumLogin]: ERROR - Unable to autologin USER_4 (ignore this, this is not an error [sometimes], is just for block console spam.)

    No teleport Lobby
    1. NotReference
      Author's Response
      > ignore this, this is not an error [sometimes], is just for block console spam

      If the console is not giving you an exception log, this is not an error, the lobby teleport is blocked from LockLogin, so you need to set lobby server into locklogin's configuration. If you have another issues, contact me on dm.
  3. Gustavo_Player
    Version: 1.7.1
    Better than nLogin, great job! =)
    1. NotReference
      Author's Response
      Thanks you. I am happy that you like PremiumLogin.
  4. Block_233
    Version: v1.7.0.1
    This is a great plugin that allows genuine players on my server to log in easily
    Can I post this plugin to MCBBS after translation? This is a Chinese website, many people need Chinese language files. I will also teach them how to use it. I will write the spigotmc page on it and let users download it by themselves.
    Thank you.
    1. NotReference
      Author's Response
      Thanks for the review, ok.
  5. DelucaGamer
    Version: PRE-1.7
    How are I having a problem in my bungeecord, the plugin when I put / premium, / premium add or / premium reload. Put empty text in chat and do nothing. I would need help with the problem. Thank you.
    1. NotReference
      Author's Response
      Can you give me your console log in private conversation? Can you send me your config.yml too?
  6. chuky025
    Version: 1.6.5
    Very good plugin! I've been using it for several weeks on my server and it works perfectly, thanks for creating this plugin!
    1. NotReference
      Author's Response
      Thanks you for the review. I am happy that you like PremiumLogin!
  7. Heron4gf
    Version: 1.6.5
    Allora ho installato e tutto solo che mi si mettono gli UUID in online mode se faccio /premium, ho provato con le apposite funzioni e non va
    1. NotReference
      Author's Response
      Ciao, non ho capito bene il problema, potresti spiegarmelo meglio in conversazione privata? Per il fatto dell'uuid online puoi andare nel config e mettere setup-uuids: su false, poi esegui /premiumreload.
  8. Samgame9
    Version: 1.6.2 (Fixed)
    It detects that I am premium, but it does not send me to the hub. I don't know how to configure it to work the way I want.
    1. NotReference
      Author's Response
      Thanks for the review, i will fix on the next release soon.
  9. Nick_ELE
    Version: 1.4
    Good plugins for some server offline mode!
    I think VietNam so need this plugins but if you not account premium but you use /premium is auto login. When somebody (can hacker) login to you account is auto login too?
    1. NotReference
      Author's Response
      Thanks you for review. No, when you type /premium you are protected and sp players cannot spoof your name. For enter your account the hacker need to login into minecraft official launcher with your password, so it's super safe. <3
  10. Chappy2021
    Version: 1.3
    Amazing author, he quickly responded to an issue I had, and fixed the issue the same day while also adding an additional feature that made the plugin easier to use.

    As for the plugin, premium players playing on an offline server really appreciates it, and it makes it a lot more convenient for both server owners and players.
    1. NotReference
      Author's Response
      Thanks you for review <3.