public class UserListBans extends UserList
| Constructor and Description |
|---|
UserListBans(java.io.File bansFile) |
| Modifier and Type | Method and Description |
|---|---|
protected UserListEntry |
createEntry(com.google.gson.JsonObject entryData) |
java.lang.String[] |
getKeys() |
protected java.lang.String |
getObjectKey(java.lang.Object obj) |
protected java.lang.String |
getProfileId(com.mojang.authlib.GameProfile profile) |
boolean |
isBanned(com.mojang.authlib.GameProfile profile) |
com.mojang.authlib.GameProfile |
isUsernameBanned(java.lang.String username) |
addEntry, getEntry, getSaveFile, getValues, hasEntries, hasEntry, isLanServer, readSavedFile, removeEntry, setLanServer, writeChangesprotected UserListEntry createEntry(com.google.gson.JsonObject entryData)
createEntry in class UserListpublic boolean isBanned(com.mojang.authlib.GameProfile profile)
protected java.lang.String getProfileId(com.mojang.authlib.GameProfile profile)
public com.mojang.authlib.GameProfile isUsernameBanned(java.lang.String username)
protected java.lang.String getObjectKey(java.lang.Object obj)
getObjectKey in class UserList