public class PlayerCountPart extends RawData
Placeholder values can be retrieved using the get method.
Contains following placeholders after analyzed: ${playersTotal}, ${ops}
Constructor and Description |
---|
PlayerCountPart() |
Modifier and Type | Method and Description |
---|---|
void |
addOP(UUID uuid) |
void |
addOPs(Collection<UUID> uuids) |
void |
addPlayer(UUID uuid) |
void |
addPlayers(Collection<UUID> uuids) |
void |
analyse()
Subclasses should analyse the data added together.
|
Set<UUID> |
getOps() |
int |
getPlayerCount() |
Set<UUID> |
getUuids() |
addValue, addValues, analyseData, get, getReplaceMap, isAnalysed
public void analyse()
RawData
Place-holders should be added to the replace map.
public void addPlayer(UUID uuid)
public void addPlayers(Collection<UUID> uuids)
public void addOPs(Collection<UUID> uuids)
public void addOP(UUID uuid)
public int getPlayerCount()
Copyright © 2017. All rights reserved.