public static interface NucleusPlayerMetadataService.Result
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getLastIP()
Gets the last known IP address of the user.
|
java.util.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.
|
java.util.Optional<java.time.Instant> |
getLastLogin()
The
Instant that the player last logged in. |
java.util.Optional<java.time.Instant> |
getLastLogout()
The
Instant that the player last logged out. |
boolean |
hasFirstJoinBeenProcessed()
Gets whether Nucleus will perform first join actions for this player on the next login.
|
boolean hasFirstJoinBeenProcessed()
java.util.Optional<java.time.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.java.util.Optional<java.time.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.java.util.Optional<java.lang.String> getLastIP()
InetAddress.toString()
java.util.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.