public static interface NucleusPlayerMetadataService.Result
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getLastIP()
Gets the last known IP address of the user.
|
Optional<org.spongepowered.api.util.Tuple<org.spongepowered.api.world.storage.WorldProperties,com.flowpowered.math.vector.Vector3d>> |
getLastLocation()
Gets the last known location of the user.
|
Optional<Instant> |
getLastLogin()
The
Instant that the player last logged in. |
Optional<Instant> |
getLastLogout()
The
Instant that the player last logged out. |
Optional<Instant> getLastLogin()
Instant that the player last logged in. This does not get updated on logout,
see getLastLogout().Instant the player last logged in, if any.Optional<Instant> getLastLogout()
Instant that the player last logged out. This does not get updated on login,
see getLastLogin() ()}.Instant the player last logged out, if any.Optional<String> getLastIP()
InetAddress.toString()Optional<org.spongepowered.api.util.Tuple<org.spongepowered.api.world.storage.WorldProperties,com.flowpowered.math.vector.Vector3d>> getLastLocation()
Note that this method exists to cater for unloaded worlds.
Tuple of the target WorldProperties and
Vector3d as the location.