public class SimpleAuth
extends java.lang.Object
implements net.fabricmc.api.DedicatedServerModInitializer
Modifier and Type | Field and Description |
---|---|
static AuthConfig |
config
Config of the SimpleAuth mod.
|
static DBHelper |
DB |
static java.nio.file.Path |
gameDirectory |
static java.util.HashSet<java.lang.String> |
mojangAccountNamesCache
HashSet of player names that have Mojang accounts.
|
static java.util.HashMap<java.lang.String,PlayerCache> |
playerCacheMap
HashMap of players that have joined the server.
|
static java.util.Properties |
serverProp |
static java.util.concurrent.ExecutorService |
THREADPOOL |
Constructor and Description |
---|
SimpleAuth() |
Modifier and Type | Method and Description |
---|---|
void |
onInitializeServer() |
public static DBHelper DB
public static final java.util.concurrent.ExecutorService THREADPOOL
public static final java.util.HashMap<java.lang.String,PlayerCache> playerCacheMap
PlayerCache
object.public static final java.util.HashSet<java.lang.String> mojangAccountNamesCache
public static final java.nio.file.Path gameDirectory
public static final java.util.Properties serverProp
public static AuthConfig config