[GSA] LockLogin 1.0.1.3

A plugin that provides security to your Spigot/Bungee server, with some features like 2FA and other

  1. API changes

    KarmaConfigs
    This update fixes some problems with the new API and

    TEMPORAL OLD API SUPPORT
    dinoboss2001 likes this.
  2. Integration with KarmaAPI and more

    KarmaConfigs
    What's new?
    • Implemented KarmaAPI which allows me to reduce plugin weight
      enormously
    • Removed redundant and dead code
    • Added comments to files using KarmaAPI
    • LockLogin API now requires a LockLogin module to be used, this will bring more control over who makes API calls, for more info...
  3. More fixes

    KarmaConfigs
    • Fixed more login errors
    • Fixed blindness effect wasn't being removed when logged in
    Suezuka and Broccollie like this.
  4. Fixes

    KarmaConfigs
  5. Updated filter

    KarmaConfigs
    • Updated filter to hide also when the player types /lOgiN, /loGiN and similar...
    • Minimal changes to BungeeCord API
  6. New language

    KarmaConfigs
    Fixes:
    • Code optimization
    What's new:
    • Included a community made language
    • Now you can use language names as language option in config.yml, see wiki for more
  7. Fixed plugin for versions < 1.16

    KarmaConfigs
    Fixed:
    • A problem with LockLogin and < 1.16 versions, in this update, I made sure the plugin was compatible with legacy and < 1.16 versions
  8. Pressure plate fixes

    KarmaConfigs
    Fixed:
    • A bug in where players weren't able to login when they log out on a pressure plate
    • A problem with flashing titles
    New:
    • Now you can toggle nausea effect from config
  9. Updated .jar

    KarmaConfigs
    This should fix the infinite update problem
  10. API adaptations

    KarmaConfigs
    I added 2 new API methods to login and register a player, these methods will return an AuthResult object


    Code (Java):
    PlayerAPI api = new PlayerAPI(player);

    AuthResult result = api.tryLogin(true); //AuthResult result = api.tryLogin(true, "You've been logged);
    //Also works with:
    AuthResult result = api.tryRegister("aRandomPassword");

    switch (result) {
          case OFFLINE:
          case CANCELLED:
              break;
          case SUCCESS:
          case SUCCESS_TEMP:
              System.out.printIn("YAY!");...