mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-25 03:35:16 +01:00
Page:
Hooking into AuthMe
Pages
'please verify' Label
5.2 Changelog
5.3 Changelog
5.4 changelog
Argon2 as Password Hash
AuthMe Coding Styleguide
AuthMe Releases (Jenkins)
Breaking Changes
Command Handling
Configuring logging
Converters
Dependency Injection
Development Setup
Development team
Forge mods compatibility
Forum integrations
Home
Hooking into AuthMe
Limbo architecture
Limbo players
Name Restrictions
Plugins hooking into AuthMe
Project intro
Registration
Spawn Handling
Tool tasks
Translators
Unit Testing
4
Hooking into AuthMe
ljacqu edited this page 2017-09-29 20:05:26 +02:00
Table of Contents
A technical description for plugin developers on how to interact with AuthMe.
API
We offer an API for performing actions and queries in AuthMe, see AuthMeApi. You can get the AuthMeApi
object the following way:
import fr.xephi.authme.api.v3.AuthMeApi;
// ...
AuthMeApi authmeApi = AuthMeApi.getInstance();
The individual methods are described in the Javadoc (see link above).
Events
Before or after various actions, we throw an Event you can listen to in your plugin. All AuthMe events extend the CustomEvent class. You can see a list of all events and their hierarchy here. All event classes are described with Javadoc.
Note that not all events can be canceled—only the ones extending Bukkit's Cancellable
interface.
Demo Plugin
A functional plugin demonstrating AuthMe integration is hosted on the ljacqu/AuthMe_demo_integration repository.
- Home
- For plugin users
- For developers using AuthMe
- For developers