InfiniteBan

public class InfiniteBan extends AbstractBan

Class InfiniteBan. Provides infiniteban functionality for the Hytale server.

java.lang.Object > AbstractBan > InfiniteBan

Field Summary

target

final UUID target

Field target.

by

final UUID by

Field by.

timestamp

final Instant timestamp

Field timestamp.

message

final StringBuilder message

Field message.

Method Detail

fromJsonObject

static InfiniteBan fromJsonObject (@Nonnull final JsonObject object)

Method fromJsonObject.

Parameters:
@Nonnull final JsonObject object

isInEffect

public boolean isInEffect ()

Method isInEffect.

getType

public String getType ()

Method getType.

getDisconnectReason

public CompletableFuture> getDisconnectReason (final UUID uuid)

Method getDisconnectReason.

Parameters:
final UUID uuid