mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-01-26 01:21:27 +01:00
Update Events Javadoc
This commit is contained in:
parent
4064394c9e
commit
9090f37cf8
@ -4,6 +4,8 @@ import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
*
|
||||
* This event is call when AuthMe try to teleport a player
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
|
@ -6,6 +6,9 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
/**
|
||||
*
|
||||
* This event is called when a player login or register through AuthMe.
|
||||
* The boolean 'isLogin' will be false if, and only if, login/register failed.
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
public class LoginEvent extends Event {
|
||||
|
@ -4,6 +4,9 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
/**
|
||||
*
|
||||
* This event is call just after store inventory into cache and will
|
||||
* empty the player inventory.
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
|
@ -4,6 +4,9 @@ import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
*
|
||||
* This event is call if, and only if, a player is teleported
|
||||
* just after a register.
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
|
@ -3,6 +3,8 @@ package fr.xephi.authme.events;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
*
|
||||
* This event is call when a creative inventory is reseted.
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
|
@ -4,6 +4,8 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
/**
|
||||
*
|
||||
* This event restore the inventory from cache
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
|
@ -3,6 +3,8 @@ package fr.xephi.authme.events;
|
||||
import fr.xephi.authme.cache.auth.PlayerAuth;
|
||||
|
||||
/**
|
||||
*
|
||||
* This event is call when a player logging in through a timed session
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
|
@ -4,6 +4,8 @@ import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
*
|
||||
* Called if a player is teleported to a specific spawn
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
|
@ -6,6 +6,8 @@ import org.bukkit.inventory.ItemStack;
|
||||
import fr.xephi.authme.cache.backup.FileCache;
|
||||
|
||||
/**
|
||||
*
|
||||
* This event is call just before write inventory content to cache
|
||||
*
|
||||
* @author Xephi59
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user