Skip navigation links
A C D E F G H I K L M N O P R S T U V W X Y Z 

A

AccountCommand - Class in org.samo_lego.simpleauth.commands
 
AccountCommand() - Constructor for class org.samo_lego.simpleauth.commands.AccountCommand
 
accountDeleted - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
allowBlockPunch - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Allows mining or punching blocks.
allowBlockUse - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Allows block "use" - right clicking (e.g.
allowChat - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Allows chat (but not commands, except for /login and /register).
allowEntityInteract - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Allows "right-clicking" on an entity (e.g.
allowEntityPunch - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Allows attacking mobs.
allowItemDrop - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Allows dropping items from inventory.
allowItemMoving - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Allows moving item through inventory.
allowItemUse - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Allows item "use" - right click function (e.g.
allowMovement - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Allows player movement.
alreadyAuthenticated - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
alreadyRegistered - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
AuthCommand - Class in org.samo_lego.simpleauth.commands
 
AuthCommand() - Constructor for class org.samo_lego.simpleauth.commands.AuthCommand
 
AuthConfig - Class in org.samo_lego.simpleauth.storage
 
AuthConfig() - Constructor for class org.samo_lego.simpleauth.storage.AuthConfig
 
AuthConfig.ExperimentalConfig - Class in org.samo_lego.simpleauth.storage
 
AuthConfig.LangConfig - Class in org.samo_lego.simpleauth.storage
 
AuthConfig.MainConfig - Class in org.samo_lego.simpleauth.storage
 
AuthConfig.MainConfig.MongoDBCredentials - Class in org.samo_lego.simpleauth.storage
Credentials for MongoDB database.
AuthConfig.MainConfig.WorldSpawn - Class in org.samo_lego.simpleauth.storage
Data for spawn (where deauthenticated players are teleported temporarily).
AuthEventHandler - Class in org.samo_lego.simpleauth.event
This class will take care of actions players try to do, and cancel them if they aren't authenticated
AuthEventHandler() - Constructor for class org.samo_lego.simpleauth.event.AuthEventHandler
 
AuthHelper - Class in org.samo_lego.simpleauth.utils
 
AuthHelper() - Constructor for class org.samo_lego.simpleauth.utils.AuthHelper
 
AuthHelper.PasswordOptions - Enum in org.samo_lego.simpleauth.utils
 

C

cannotChangePassword - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
cannotLogout - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
cannotUnregister - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
canSkipAuth() - Method in class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
Checks whether player can skip authentication process.
canSkipAuth() - Method in interface org.samo_lego.simpleauth.utils.PlayerAuth
Checks whether player is a fake player (from CarpetMod).
CarpetHelper - Class in org.samo_lego.simpleauth.utils
 
CarpetHelper() - Constructor for class org.samo_lego.simpleauth.utils.CarpetHelper
 
ChatCallback - Interface in org.samo_lego.simpleauth.event.entity.player
 
checkCanPlayerJoinServer(SocketAddress, GameProfile, PlayerManager) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
checkCanPlayerJoinServer(SocketAddress, GameProfile, PlayerManager) - Method in interface org.samo_lego.simpleauth.event.entity.player.PrePlayerJoinCallback
 
checkPassword(String, char[]) - Static method in class org.samo_lego.simpleauth.utils.AuthHelper
Checks password of user
close() - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
Closes database connection.
close() - Static method in class org.samo_lego.simpleauth.storage.database.MongoDB
 
close() - Method in class org.samo_lego.simpleauth.storage.DBHelper
Closes database connection.
config - Static variable in class org.samo_lego.simpleauth.SimpleAuth
Config of the SimpleAuth mod.
configurationReloaded - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 

D

DB - Static variable in class org.samo_lego.simpleauth.SimpleAuth
 
DBHelper - Class in org.samo_lego.simpleauth.storage
 
DBHelper() - Constructor for class org.samo_lego.simpleauth.storage.DBHelper
 
debugMode - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Debug mode.
deleteUserData(String) - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
Deletes data for the provided uuid.
deleteUserData(String) - Static method in class org.samo_lego.simpleauth.storage.database.MongoDB
 
deleteUserData(String) - Method in class org.samo_lego.simpleauth.storage.DBHelper
Deletes data for the provided uuid.
dimension - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.WorldSpawn
Dimension id, e.g.
dimension - Variable in class org.samo_lego.simpleauth.storage.PlayerCache.LastLocation
 
disallowedUsername - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
DropItemCallback - Interface in org.samo_lego.simpleauth.event.item
 

E

enableGlobalPassword - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Disables registering and forces logging in with global password.
enterNewPassword - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
enterPassword - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
EVENT - Static variable in interface org.samo_lego.simpleauth.event.entity.player.ChatCallback
 
EVENT - Static variable in interface org.samo_lego.simpleauth.event.entity.player.PlayerJoinServerCallback
 
EVENT - Static variable in interface org.samo_lego.simpleauth.event.entity.player.PlayerLeaveServerCallback
 
EVENT - Static variable in interface org.samo_lego.simpleauth.event.entity.player.PlayerMoveCallback
 
EVENT - Static variable in interface org.samo_lego.simpleauth.event.entity.player.PrePlayerJoinCallback
 
EVENT - Static variable in interface org.samo_lego.simpleauth.event.item.DropItemCallback
 
EVENT - Static variable in interface org.samo_lego.simpleauth.event.item.TakeItemCallback
 
experimental - Variable in class org.samo_lego.simpleauth.storage.AuthConfig
 
ExperimentalConfig() - Constructor for class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
 

F

forcedOfflinePlayers - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Contains a list of lower case (!) player names that should always be treated as offline.
forceoOfflineUuids - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Whether to modify player uuids to offline style.
fromJson(ServerPlayerEntity, String) - Static method in class org.samo_lego.simpleauth.storage.PlayerCache
Creates an empty cache for player (when player doesn't exist in DB).

G

gameDirectory - Static variable in class org.samo_lego.simpleauth.SimpleAuth
 
getAuthMessage() - Method in class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
Gets the text which tells the player to login or register, depending on account status.
getAuthMessage() - Method in interface org.samo_lego.simpleauth.utils.PlayerAuth
Gets the text which tells the player to login or register, depending on account status.
getFakeUuid() - Method in class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
Converts player uuid, to ensure player with "nAmE" and "NamE" get same uuid.
getFakeUuid() - Method in interface org.samo_lego.simpleauth.utils.PlayerAuth
Converts player uuid, to ensure player with "nAmE" and "NamE" get same uuid.
getFile() - Method in interface org.samo_lego.simpleauth.mixin.ServerStatHandlerAccessor
 
getUserData(String) - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
Gets the hashed password from DB.
getUserData(String) - Static method in class org.samo_lego.simpleauth.storage.database.MongoDB
 
getUserData(String) - Method in class org.samo_lego.simpleauth.storage.DBHelper
Gets the hashed password from DB.
globalPassword - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Hashed global password.
globalPasswordSet - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 

H

hash(char[]) - Static method in class org.samo_lego.simpleauth.utils.hashing.HasherArgon2
Hashes the password
hash(char[]) - Static method in class org.samo_lego.simpleauth.utils.hashing.HasherBCrypt
Hashes the password
HasherArgon2 - Class in org.samo_lego.simpleauth.utils.hashing
 
HasherArgon2() - Constructor for class org.samo_lego.simpleauth.utils.hashing.HasherArgon2
 
HasherBCrypt - Class in org.samo_lego.simpleauth.utils.hashing
 
HasherBCrypt() - Constructor for class org.samo_lego.simpleauth.utils.hashing.HasherBCrypt
 
hashPassword(char[]) - Static method in class org.samo_lego.simpleauth.utils.AuthHelper
Hashes password with algorithm, depending on config
hidePosition(boolean) - Method in class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
Teleports player to spawn or last location that is recorded.
hidePosition(boolean) - Method in interface org.samo_lego.simpleauth.utils.PlayerAuth
Teleports player to spawn or last location that is recorded.
host - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.MongoDBCredentials
Database host (address).

I

initialize() - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
Connects to the LevelDB.
initialize() - Static method in class org.samo_lego.simpleauth.storage.database.MongoDB
 
isAuthenticated() - Method in class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
Checks whether player is authenticated.
isAuthenticated - Variable in class org.samo_lego.simpleauth.storage.PlayerCache
Whether player is authenticated.
isAuthenticated() - Method in interface org.samo_lego.simpleauth.utils.PlayerAuth
Checks whether player is authenticated.
isClosed() - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
Tells whether DB connection is closed.
isClosed() - Static method in class org.samo_lego.simpleauth.storage.database.MongoDB
 
isClosed() - Method in class org.samo_lego.simpleauth.storage.DBHelper
Tells whether DB connection is closed.
isPlayerCarpetFake(PlayerEntity) - Static method in class org.samo_lego.simpleauth.utils.CarpetHelper
Checks if player is actually a fake one.
isUserRegistered(String) - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
Checks if player is registered.
isUserRegistered(String) - Static method in class org.samo_lego.simpleauth.storage.database.MongoDB
 
isUserRegistered(String) - Method in class org.samo_lego.simpleauth.storage.DBHelper
Checks if player is registered.
isUsingMojangAccount() - Method in class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
Whether the player is using the mojang account.
isUsingMojangAccount() - Method in interface org.samo_lego.simpleauth.utils.PlayerAuth
Whether the player is using the mojang account

K

kickTime - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Time after which player will be kicked if not authenticated - in seconds

L

lang - Variable in class org.samo_lego.simpleauth.storage.AuthConfig
 
LangConfig() - Constructor for class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
lastIp - Variable in class org.samo_lego.simpleauth.storage.PlayerCache
Last recorded IP of player.
lastLocation - Variable in class org.samo_lego.simpleauth.storage.PlayerCache
 
LastLocation() - Constructor for class org.samo_lego.simpleauth.storage.PlayerCache.LastLocation
 
LevelDB - Class in org.samo_lego.simpleauth.storage.database
 
LevelDB() - Constructor for class org.samo_lego.simpleauth.storage.database.LevelDB
 
load(File) - Static method in class org.samo_lego.simpleauth.storage.AuthConfig
Loads SimpleAuth's config file.
logError(String) - Static method in class org.samo_lego.simpleauth.utils.SimpleLogger
 
LoginCommand - Class in org.samo_lego.simpleauth.commands
 
LoginCommand() - Constructor for class org.samo_lego.simpleauth.commands.LoginCommand
 
logInfo(String) - Static method in class org.samo_lego.simpleauth.utils.SimpleLogger
 
loginRequired - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
loginTries - Variable in class org.samo_lego.simpleauth.storage.PlayerCache
Stores how many times player has tried to login.
loginTriesExceeded - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
LogoutCommand - Class in org.samo_lego.simpleauth.commands
 
LogoutCommand() - Constructor for class org.samo_lego.simpleauth.commands.LogoutCommand
 

M

main - Variable in class org.samo_lego.simpleauth.storage.AuthConfig
 
MainConfig() - Constructor for class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
 
matchPassword - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
maxLoginTries - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Maximum login tries before kicking the player from server.
maxPasswordChars - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
maxPasswordChars - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Maximum length of password.
minPasswordChars - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
minPasswordChars - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Minimum length of password.
MixinPlayerAdvancementTracker - Class in org.samo_lego.simpleauth.mixin
 
MixinPlayerAdvancementTracker() - Constructor for class org.samo_lego.simpleauth.mixin.MixinPlayerAdvancementTracker
 
MixinPlayerEntity - Class in org.samo_lego.simpleauth.mixin
 
MixinPlayerEntity() - Constructor for class org.samo_lego.simpleauth.mixin.MixinPlayerEntity
 
MixinPlayerManager - Class in org.samo_lego.simpleauth.mixin
 
MixinPlayerManager() - Constructor for class org.samo_lego.simpleauth.mixin.MixinPlayerManager
 
MixinServerLoginNetworkHandler - Class in org.samo_lego.simpleauth.mixin
 
MixinServerLoginNetworkHandler() - Constructor for class org.samo_lego.simpleauth.mixin.MixinServerLoginNetworkHandler
 
MixinServerPlayerEntity - Class in org.samo_lego.simpleauth.mixin
 
MixinServerPlayerEntity() - Constructor for class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
 
MixinServerPlayNetworkHandler - Class in org.samo_lego.simpleauth.mixin
 
MixinServerPlayNetworkHandler() - Constructor for class org.samo_lego.simpleauth.mixin.MixinServerPlayNetworkHandler
 
MixinSlot - Class in org.samo_lego.simpleauth.mixin
 
MixinSlot() - Constructor for class org.samo_lego.simpleauth.mixin.MixinSlot
 
MixinWorldSaveHandler - Class in org.samo_lego.simpleauth.mixin
 
MixinWorldSaveHandler() - Constructor for class org.samo_lego.simpleauth.mixin.MixinWorldSaveHandler
 
mojangAccountNamesCache - Static variable in class org.samo_lego.simpleauth.SimpleAuth
HashSet of player names that have Mojang accounts.
MongoDB - Class in org.samo_lego.simpleauth.storage.database
 
MongoDB() - Constructor for class org.samo_lego.simpleauth.storage.database.MongoDB
 
MongoDBCredentials() - Constructor for class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.MongoDBCredentials
 
mongoDBCredentials - Variable in class org.samo_lego.simpleauth.storage.AuthConfig
 

N

notAuthenticated - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 

O

onAttackEntity(PlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onBreakBlock(PlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onCreativeInventoryAction(CreativeInventoryActionC2SPacket, CallbackInfo) - Method in class org.samo_lego.simpleauth.mixin.MixinServerPlayNetworkHandler
 
onDropItem(PlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onDropItem(PlayerEntity) - Method in interface org.samo_lego.simpleauth.event.item.DropItemCallback
 
onInitializeServer() - Method in class org.samo_lego.simpleauth.SimpleAuth
 
onPlayerChat(PlayerEntity, String) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onPlayerChat(PlayerEntity, String) - Method in interface org.samo_lego.simpleauth.event.entity.player.ChatCallback
 
onPlayerJoin(ServerPlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onPlayerJoin(ServerPlayerEntity) - Method in interface org.samo_lego.simpleauth.event.entity.player.PlayerJoinServerCallback
 
onPlayerLeave(ServerPlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onPlayerLeave(ServerPlayerEntity) - Method in interface org.samo_lego.simpleauth.event.entity.player.PlayerLeaveServerCallback
 
onPlayerMove(PlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onPlayerMove(PlayerEntity) - Method in interface org.samo_lego.simpleauth.event.entity.player.PlayerMoveCallback
 
onTakeItem(PlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onTakeItem(PlayerEntity) - Method in interface org.samo_lego.simpleauth.event.item.TakeItemCallback
 
onUseBlock(PlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onUseEntity(PlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
onUseItem(PlayerEntity) - Static method in class org.samo_lego.simpleauth.event.AuthEventHandler
 
openConnection() - Method in class org.samo_lego.simpleauth.storage.DBHelper
Connects to the DB.
org.samo_lego.simpleauth - package org.samo_lego.simpleauth
 
org.samo_lego.simpleauth.commands - package org.samo_lego.simpleauth.commands
 
org.samo_lego.simpleauth.event - package org.samo_lego.simpleauth.event
 
org.samo_lego.simpleauth.event.entity.player - package org.samo_lego.simpleauth.event.entity.player
 
org.samo_lego.simpleauth.event.item - package org.samo_lego.simpleauth.event.item
 
org.samo_lego.simpleauth.mixin - package org.samo_lego.simpleauth.mixin
 
org.samo_lego.simpleauth.storage - package org.samo_lego.simpleauth.storage
 
org.samo_lego.simpleauth.storage.database - package org.samo_lego.simpleauth.storage.database
 
org.samo_lego.simpleauth.utils - package org.samo_lego.simpleauth.utils
 
org.samo_lego.simpleauth.utils.hashing - package org.samo_lego.simpleauth.utils.hashing
 

P

password - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.MongoDBCredentials
Password for the database access.
password - Variable in class org.samo_lego.simpleauth.storage.PlayerCache
Hashed password of player.
passwordUpdated - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
pitch - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.WorldSpawn
 
pitch - Variable in class org.samo_lego.simpleauth.storage.PlayerCache.LastLocation
 
player - Variable in class org.samo_lego.simpleauth.mixin.MixinServerPlayNetworkHandler
 
playerAlreadyOnline - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
PlayerAuth - Interface in org.samo_lego.simpleauth.utils
PLayer authentication extension.
PlayerCache - Class in org.samo_lego.simpleauth.storage
Class used for storing the non-authenticated player's cache
PlayerCache() - Constructor for class org.samo_lego.simpleauth.storage.PlayerCache
 
PlayerCache.LastLocation - Class in org.samo_lego.simpleauth.storage
Last recorded position before de-authentication.
playerCacheMap - Static variable in class org.samo_lego.simpleauth.SimpleAuth
HashMap of players that have joined the server.
playerInvisible - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
If player should be invisible to mobs before authentication.
playerInvulnerable - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
If player should be invulnerable before authentication.
PlayerJoinServerCallback - Interface in org.samo_lego.simpleauth.event.entity.player
 
PlayerLeaveServerCallback - Interface in org.samo_lego.simpleauth.event.entity.player
 
PlayerMoveCallback - Interface in org.samo_lego.simpleauth.event.entity.player
 
port - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.MongoDBCredentials
Database port.
position - Variable in class org.samo_lego.simpleauth.storage.PlayerCache.LastLocation
 
premiumAutologin - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Whether players who have a valid session should skip the authentication process.
PrePlayerJoinCallback - Interface in org.samo_lego.simpleauth.event.entity.player
 
preventAnotherLocationKick - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Prevents player being kicked because another player with the same name has joined the server.

R

registerCommand(CommandDispatcher<ServerCommandSource>) - Static method in class org.samo_lego.simpleauth.commands.AccountCommand
 
registerCommand(CommandDispatcher<ServerCommandSource>) - Static method in class org.samo_lego.simpleauth.commands.AuthCommand
Registers the "/auth" command
registerCommand(CommandDispatcher<ServerCommandSource>) - Static method in class org.samo_lego.simpleauth.commands.LoginCommand
 
registerCommand(CommandDispatcher<ServerCommandSource>) - Static method in class org.samo_lego.simpleauth.commands.LogoutCommand
 
RegisterCommand - Class in org.samo_lego.simpleauth.commands
 
RegisterCommand() - Constructor for class org.samo_lego.simpleauth.commands.RegisterCommand
 
registerCommand(CommandDispatcher<ServerCommandSource>) - Static method in class org.samo_lego.simpleauth.commands.RegisterCommand
 
registerRequired - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
registerSuccess - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
registerUser(String, String) - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
Deprecated.
registerUser(String, String) - Method in class org.samo_lego.simpleauth.storage.DBHelper
Inserts the data for the player.
reloadConfig(Entity) - Static method in class org.samo_lego.simpleauth.commands.AuthCommand
Reloads the config file.

S

save(File) - Method in class org.samo_lego.simpleauth.storage.AuthConfig
Saves the config to the given file.
saveAll(HashMap<String, PlayerCache>) - Method in class org.samo_lego.simpleauth.storage.DBHelper
 
saveFromCache(HashMap<String, PlayerCache>) - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
 
saveFromCache(HashMap<String, PlayerCache>) - Static method in class org.samo_lego.simpleauth.storage.database.MongoDB
 
server - Variable in class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
 
serverProp - Static variable in class org.samo_lego.simpleauth.SimpleAuth
 
ServerStatHandlerAccessor - Interface in org.samo_lego.simpleauth.mixin
 
sessionTimeoutTime - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
How long to keep session (auto-logging in the player), in seconds Set to -1 to disable
setAuthenticated(boolean) - Method in class org.samo_lego.simpleauth.mixin.MixinServerPlayerEntity
Sets the authentication status of the player and hides coordinates if needed.
setAuthenticated(boolean) - Method in interface org.samo_lego.simpleauth.utils.PlayerAuth
Sets the authentication status of the player.
setFile(File) - Method in interface org.samo_lego.simpleauth.mixin.ServerStatHandlerAccessor
 
SimpleAuth - Class in org.samo_lego.simpleauth
 
SimpleAuth() - Constructor for class org.samo_lego.simpleauth.SimpleAuth
 
simpleAuthDatabase - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.MongoDBCredentials
Name of the new database in which SimpleAuth should store player data.
SimpleLogger - Class in org.samo_lego.simpleauth.utils
 
SimpleLogger() - Constructor for class org.samo_lego.simpleauth.utils.SimpleLogger
 
spawnOnJoin - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Whether to tp player to spawn when joining (to hide original player coordinates).
successfulLogout - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
successfullyAuthenticated - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 

T

TakeItemCallback - Interface in org.samo_lego.simpleauth.event.item
 
THREADPOOL - Static variable in class org.samo_lego.simpleauth.SimpleAuth
 
timeExpired - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
toJson() - Method in class org.samo_lego.simpleauth.storage.PlayerCache
 
toOfflineProfile(GameProfile) - Method in class org.samo_lego.simpleauth.mixin.MixinServerLoginNetworkHandler
 
tryPortalRescue - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Tries to rescue players if they are stuck inside a portal on logging in.

U

updateUserData(String, String) - Static method in class org.samo_lego.simpleauth.storage.database.LevelDB
Deprecated.
updateUserData(String, String) - Method in class org.samo_lego.simpleauth.storage.DBHelper
Updates player's data.
useBCryptLibrary - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.ExperimentalConfig
Whether to use BCrypt instead of Argon2 (GLIBC_2.25 error).
useMongoDB - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Whether to use MongoDB instead of LevelDB.
userdataDeleted - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
userdataUpdated - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
username - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.MongoDBCredentials
Username for the database access.
usernameRegex - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig
Regex of valid playername characters.
userNotRegistered - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
userSourceDatabase - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.MongoDBCredentials
Database where user with provided credentials is located.
useSsl - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.MongoDBCredentials
Whether to use ssl connection.

V

validUntil - Variable in class org.samo_lego.simpleauth.storage.PlayerCache
Time until session is valid.
valueOf(String) - Static method in enum org.samo_lego.simpleauth.utils.AuthHelper.PasswordOptions
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.samo_lego.simpleauth.utils.AuthHelper.PasswordOptions
Returns an array containing the constants of this enum type, in the order they are declared.
verify(char[], String) - Static method in class org.samo_lego.simpleauth.utils.hashing.HasherArgon2
Verifies password
verify(char[], String) - Static method in class org.samo_lego.simpleauth.utils.hashing.HasherBCrypt
Verifies password

W

wasInPortal - Variable in class org.samo_lego.simpleauth.storage.PlayerCache
Player stats before de-authentication.
WorldSpawn() - Constructor for class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.WorldSpawn
 
worldSpawn - Variable in class org.samo_lego.simpleauth.storage.AuthConfig
 
worldSpawnSet - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 
wrongPassword - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.LangConfig
 

X

x - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.WorldSpawn
 

Y

y - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.WorldSpawn
 
yaw - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.WorldSpawn
 
yaw - Variable in class org.samo_lego.simpleauth.storage.PlayerCache.LastLocation
 

Z

z - Variable in class org.samo_lego.simpleauth.storage.AuthConfig.MainConfig.WorldSpawn
 
A C D E F G H I K L M N O P R S T U V W X Y Z 
Skip navigation links