PlayerOnline

class PlayerOnline(player: Player) : Condition

A condition that is met if the player is online.

Constructors

Link copied to clipboard
constructor(player: Player)

Functions

Link copied to clipboard
open infix fun and(other: Condition): Condition

Returns a condition that is the logical AND of this condition and the other condition.

Link copied to clipboard
open override fun canRun(): Boolean

Checks if the player is currently online.

Link copied to clipboard
open fun not(): Condition

Returns a condition that is the logical negation of this condition.

Link copied to clipboard
open infix fun or(other: Condition): Condition

Returns a condition that is the logical OR of this condition and the other condition.

Link copied to clipboard
open infix fun xor(other: Condition): Condition

Returns a condition that is the logical XOR of this condition and the other condition.