Interface FlickPlayer
public interface FlickPlayer
A player that completed the Flick handshake on this server. Everything here is reported by the client
and can be forged by a modified client — use it for features and UX, never as an anti-cheat guarantee.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanallows(FlickFeature feature) Whether the player allows this API category in their client settings.Message families the client understands (waypoints,modules,notify, ...).Modules currently forced off for this player (config + API).Module ids the player currently has enabled (updated live viastatemessages).longEpoch millis of the handshake.Last mod list reported by the client (afterFlickAPI.requestMods(Player)); client-reported and spoofable.Minecraft version reported by the client, e.g.org.bukkit.entity.PlayerintProtocol version spoken by the client (currently 1).Flick Client version, e.g.Ids of waypoints this server currently shows to the player.
-
Method Details
-
getPlayer
org.bukkit.entity.Player getPlayer() -
getUniqueId
UUID getUniqueId() -
getVersion
String getVersion()Flick Client version, e.g.0.1.0+1.21.11. -
getMinecraftVersion
String getMinecraftVersion()Minecraft version reported by the client, e.g.1.21.11. -
getProtocolVersion
int getProtocolVersion()Protocol version spoken by the client (currently 1). -
getEnabledModules
-
getCapabilities
-
allows
Whether the player allows this API category in their client settings. -
getWaypointIds
-
getDisabledModules
-
getLastReportedMods
Last mod list reported by the client (afterFlickAPI.requestMods(Player)); client-reported and spoofable. -
getHandshakeTime
long getHandshakeTime()Epoch millis of the handshake.
-