Authenticator

icon
A u t h e n t i c a t o r


The developpement of this plugin has ceased. You can grab the latest jar or browse the sources on github

Xephi59 try to continue this plugin and keep it up to date

Base on the idea of the Vault plugin, Authenticator let you, plugin developers, interact with users after their login with an auth system like xAuth, AuthMe, ... It register as a classic bukkit plugin, and monitor login/logout

I mainly created this for my other plugin, InventorySQL. It's great if you need to manipulate the inventory after a player login, as offlie-mode plugins often clear the inventory on login and after authentication

How to use

Create a listener

On a class that implements org.bukkit.event.Listener, add :

    @EventHandler
    public void onPlayerOfflineModeLogin(PlayerOfflineModeLogin event) {
        // Your code here...
    }
Hook into the plugin

Register your listener class with

Plugin p = Bukkit.getServer().getPluginManager().getPlugin("Authenticator");
if(p != null){ //if Authenticator is present..
    if (fr.areku.Authenticator.Authenticator.isUsingOfflineModePlugin()) { // .. and has detected a auth plugin ..
        getServer().getPluginManager().registerEvents(Listener, Plugin); // ..register the listener
    }
}
What's next ?

When a player login, Authenticator adds it to a watchlist, and detects when the offline-mode plugin will validates the authentication. After that, it trigger the method onPlayerPluginLogin.

See Methods for a list of available methods
See Introduction to the New Event System for help with bukkit event system

Supported plugins

  • AuthDB
  • AuthMe (reloaded)
  • CrazyLogin
  • xAuth
  • vAuth
  • LoginSecurity

Ask me by PM for any other auth plugin you want :) !

Sources : GitHub

http://mcstats.org/signature/authenticator.png

Other plugins: InventorySQL - ThisLogMustDie!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Xephi59 Xephi59 May 17, 2013 at 14:45 UTC - 0 likes

    Authenticator - Xephi59 Build - 1.5

    Remove updater from ThisIsAreku
    Fix for the latest AuthDB
    Fix for latest AuthMe Reloaded version
    Add LoginSecurity plugin
    Add vAuth plugin

    I'll send a pm to thisIsAreku if he can let me the plugin management :)

    Xephi

    Last edited May 17, 2013 by Xephi59

    Minewish
    My Bukkit Server

    BFAK:90728951,aeb99218fe24bda69428470664c6244ae805b870dc3efd67369a80c1ad03a5f2

  • Avatar of rsod rsod May 12, 2013 at 23:25 UTC - 0 likes

    could it be please updated to latest authme reloaded?

  • Avatar of dfdgsdfg dfdgsdfg Apr 27, 2013 at 01:11 UTC - 0 likes

    It does not work with the lastest authdb 2.3.8.

    http://forums.spout.org/resources/authdb.36/history

  • Avatar of Orscrider Orscrider Mar 10, 2013 at 23:27 UTC - 0 likes

    @ThisIsAreku: Go

    xAuth, but i asked the author of xAuth if he can add an event which is fired on /login and he will add it

  • Avatar of ThisIsAreku ThisIsAreku Mar 09, 2013 at 14:26 UTC - 0 likes

    @Orscrider: Go

    what is the offline plugin you are using ?

    my website BFAK:ThisIsAreku,89052,9122527f769561c604fe1ece21be4a7346d2f5b7f9fcd56a1ca5dccd1ef9e04a

  • Avatar of Orscrider Orscrider Mar 06, 2013 at 22:18 UTC - 0 likes

    I tried this plugin, but it doesn't work :( I tried to send a message to the player who logged in. My code looks like this: http://pastebin.com/LHVXefQN.

  • Avatar of rfsantos1996 rfsantos1996 Feb 27, 2013 at 16:58 UTC - 0 likes

    @ThisIsAreku: Go

    Thanks, man, its nice to see you back! (;

  • Avatar of ThisIsAreku ThisIsAreku Feb 27, 2013 at 15:30 UTC - 0 likes

    @Xephi59: Go

    @rfsantos1996: Go

    @SolaKun: Go

    Sorry, I don't know why I didn't recieve any emails for your comments.. Il'l fix it quick.

  • Avatar of rfsantos1996 rfsantos1996 Feb 19, 2013 at 02:10 UTC - 0 likes

    @SolaKun: Go

    Update please? Using Spigot 531 + InvSQL 2.5.2 + Vault 1.2.23 + Authenticator 1.3.3 + AuthMe 2.7.8
    http://pastebin.com/J1mPturK

    @EDIT: Also tried the Xephi version, same error

    Last edited Feb 19, 2013 by rfsantos1996
  • Avatar of SolaKun SolaKun Feb 17, 2013 at 00:36 UTC - 0 likes

    @Xephi59: Go

    hmm.This plugin PlayerOfflineModeLogin Event . is wrong.

Facts

Date created
Aug 28, 2012
Category
Last update
May 17, 2013
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
Authenticator
Downloads
4,090
Recent files

Authors