public class Main
extends java.lang.Object
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(java.lang.String uuid,
java.util.ArrayList<java.lang.String> names)
Adds an new row to the database with the specified information
|
java.lang.String |
getLatestName(java.lang.String uuid)
Returns the latest name of the player if there is one
|
java.lang.String[] |
getNames(java.lang.String uuid)
Returns a list of all names bound to the specified uuid
|
UUIDPlayer |
getPlayer(java.lang.String name)
Returns the specified player's UUIDPlayer class
|
void |
removeEntry(UUIDPlayer player)
Removes the entire specified row tied to the inputed
|
public UUIDPlayer getPlayer(java.lang.String name)
name - Input the desired player namepublic void removeEntry(UUIDPlayer player)
player - Input the desired player's UUIDPlayer classpublic java.lang.String[] getNames(java.lang.String uuid)
uuid - Input the desired player's uuidpublic void addEntry(java.lang.String uuid,
java.util.ArrayList<java.lang.String> names)
uuid - The uuid of the desired playernames - A list of names that will be tied to the uuidpublic java.lang.String getLatestName(java.lang.String uuid)
uuid - The UUID of the specified player