public abstract class HWIDHandler extends java.lang.Object implements java.lang.AutoCloseable, Reconfigurable
| Modifier and Type | Field and Description |
|---|---|
static pro.gravit.utils.ProviderMap<HWIDHandler> |
providers |
| Constructor and Description |
|---|
HWIDHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ban(java.util.List<pro.gravit.launcher.hwid.HWID> hwid) |
void |
check(pro.gravit.launcher.hwid.HWID hwid,
java.lang.String username) |
abstract void |
check0(pro.gravit.launcher.hwid.HWID hwid,
java.lang.String username) |
abstract void |
close() |
java.util.Map<java.lang.String,pro.gravit.utils.command.Command> |
getCommands()
Gets a list of commands available for this object.
|
abstract java.util.List<pro.gravit.launcher.hwid.HWID> |
getHwid(java.lang.String username) |
abstract void |
init() |
static void |
registerHandlers() |
abstract void |
unban(java.util.List<pro.gravit.launcher.hwid.HWID> hwid) |
public static pro.gravit.utils.ProviderMap<HWIDHandler> providers
public static void registerHandlers()
public java.util.Map<java.lang.String,pro.gravit.utils.command.Command> getCommands()
ReconfigurablegetCommands in interface Reconfigurablepublic abstract void ban(java.util.List<pro.gravit.launcher.hwid.HWID> hwid)
throws HWIDException
HWIDExceptionpublic void check(pro.gravit.launcher.hwid.HWID hwid,
java.lang.String username)
throws HWIDException
HWIDExceptionpublic abstract void check0(pro.gravit.launcher.hwid.HWID hwid,
java.lang.String username)
throws HWIDException
HWIDExceptionpublic abstract void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic abstract void init()
public abstract java.util.List<pro.gravit.launcher.hwid.HWID> getHwid(java.lang.String username)
throws HWIDException
HWIDExceptionpublic abstract void unban(java.util.List<pro.gravit.launcher.hwid.HWID> hwid)
throws HWIDException
HWIDException