Package | Description |
---|---|
com.comphenix.xp | |
com.comphenix.xp.messages |
Modifier and Type | Method and Description |
---|---|
void |
Action.announceMessages(ChannelProvider provider,
MessageFormatter formatter)
Sends a general message informing anyone listening of the resources awarded.
|
void |
Action.emoteMessages(ChannelProvider provider,
MessageFormatter formatter,
org.bukkit.entity.Player player)
Sends a message from the given player informing anyone listening of
the action performed and the resources awarded.
|
Modifier and Type | Method and Description |
---|---|
MessageFormatter |
MessageFormatter.add(MessageFormatter other)
Adds every parameter in both message formatters, creating a new message
formatter with the results.
|
static MessageFormatter |
MessageFormatter.add(MessageFormatter a,
MessageFormatter b)
Adds every parameter in both message formatters.
|
MessageFormatter |
MessageFormatter.createView(java.util.Collection<ResourceHolder> result) |
MessageFormatter |
MessageFormatter.createView(org.bukkit.entity.Player player,
java.util.Collection<ResourceHolder> result) |
MessageFormatter |
MessageFormatter.createView(org.bukkit.entity.Player player,
java.util.Collection<ResourceHolder> result,
java.lang.Integer count) |
MessageFormatter |
ChannelProvider.getFormatter(org.bukkit.entity.Player player,
java.util.Collection<ResourceHolder> result) |
MessageFormatter |
ChannelProvider.getFormatter(org.bukkit.entity.Player player,
java.util.Collection<ResourceHolder> result,
java.lang.Integer count) |
MessageFormatter |
ChannelProvider.getMessageFormatter() |
Modifier and Type | Method and Description |
---|---|
MessageFormatter |
MessageFormatter.add(MessageFormatter other)
Adds every parameter in both message formatters, creating a new message
formatter with the results.
|
static MessageFormatter |
MessageFormatter.add(MessageFormatter a,
MessageFormatter b)
Adds every parameter in both message formatters.
|
void |
MessageQueue.enqueue(Action action,
MessageFormatter formatter) |
void |
MessagePlayerQueue.enqueue(org.bukkit.entity.Player player,
Action action,
MessageFormatter formatter)
Enqueues a message transmitted by a player (or environment, in which case player should be NULL),
ensuring that there aren't too many messages sent at once.
|
void |
ChannelProvider.setMessageFormatter(MessageFormatter messageFormatter) |
void |
MessageQueue.transmitt(Action action,
MessageFormatter formatter) |