Class BridgeDocProperties
- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final eu.cloudnetservice.driver.document.property.DocProperty<String> This service property reads the extra value of any givenServiceInfoSnapshot.static final eu.cloudnetservice.driver.document.property.DocProperty<Boolean> This service property reads the online property of any givenServiceInfoSnapshot.static final eu.cloudnetservice.driver.document.property.DocProperty<Integer> This service property reads the max player count of any givenServiceInfoSnapshot.static final eu.cloudnetservice.driver.document.property.DocProperty<String> This service property reads the motd of any givenServiceInfoSnapshot.static final eu.cloudnetservice.driver.document.property.DocProperty<Integer> This service property reads the online player count of any givenServiceInfoSnapshot.static final eu.cloudnetservice.driver.document.property.DocProperty<Collection<ServicePlayer>> This service property allows accessing all players that are connected to the given service.static final eu.cloudnetservice.driver.document.property.DocProperty<String> This property holds the required permission that a player must have to join a specific service.static final eu.cloudnetservice.driver.document.property.DocProperty<String> This service property reads the state of any givenServiceInfoSnapshot.static final eu.cloudnetservice.driver.document.property.DocProperty<String> This service property reads the version of any givenServiceInfoSnapshot. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
REQUIRED_PERMISSION
public static final eu.cloudnetservice.driver.document.property.DocProperty<String> REQUIRED_PERMISSIONThis property holds the required permission that a player must have to join a specific service. If the property is not set, the player is unable to join. This property defaults tonullwith indicates that no permission is required to join the service.Note: this property only has effect when applied to the associated service task of a service.
-
ONLINE_COUNT
This service property reads the online player count of any givenServiceInfoSnapshot. The property is only updated after the service itself was updated.Note: This property is not modifiable, modifying it results in an
UnsupportedOperationException. -
MAX_PLAYERS
This service property reads the max player count of any givenServiceInfoSnapshot. The property is only updated after the service itself was updated.Note: This property is not modifiable, modifying it results in an
UnsupportedOperationException. -
VERSION
This service property reads the version of any givenServiceInfoSnapshot. The property is only updated after the service itself was updated.Note: This property is not modifiable, modifying it results in an
UnsupportedOperationException. -
MOTD
This service property reads the motd of any givenServiceInfoSnapshot. The property is only updated after the service itself was updated.Note: This property is not modifiable, modifying it results in an
UnsupportedOperationException.Setting the state is possible using
BridgeServiceHelper.motd()on the service itself. -
EXTRA
This service property reads the extra value of any givenServiceInfoSnapshot. The property is only updated after the service itself was updated.Note: This property is not modifiable, modifying it results in an
UnsupportedOperationException.Setting the state is possible using
BridgeServiceHelper.extra()on the service itself. -
STATE
This service property reads the state of any givenServiceInfoSnapshot. The property is only updated after the service itself was updated.Note: This property is not modifiable, modifying it results in an
UnsupportedOperationException.Setting the state is possible using
BridgeServiceHelper.state()on the service itself. -
IS_ONLINE
This service property reads the online property of any givenServiceInfoSnapshot. This property is always true after the bridge plugin was enabled. The property is only updated after the service itself was updated.Note: This property is not modifiable, modifying it results in an
UnsupportedOperationException. -
PLAYERS
public static final eu.cloudnetservice.driver.document.property.DocProperty<Collection<ServicePlayer>> PLAYERSThis service property allows accessing all players that are connected to the given service. The property is only updated after the service itself was updated.Note: Writing to this property is not allowed it results in an
UnsupportedOperationException.
-
-
Constructor Details
-
BridgeDocProperties
private BridgeDocProperties()
-