Uses of Interface
de.marcely.bedwars.api.message.Message
Package
Description
-
Uses of Message in de.marcely.bedwars.api.arena
Modifier and TypeMethodDescriptionBedDestructionInfo.Cause.getChatMessage()
Get the chat message that might be used for this cause.@Nullable Message
AddPlayerIssue.getHintMessage
(Arena arena) Returns the message that will be displayed to the player.@Nullable Message
AddPlayerIssue.getHintMessage
(RemoteArena arena) Returns the message that will be displayed to the player.RejoinPlayerIssue.getMessage()
Get the message that would be sent to the player.Team.getNameAsMessage()
Get the original Message instance that is used for the name of the team.AddPlayerIssue.getUnformattedHintMessage()
Get the hint message that has been passed during the construction.Modifier and TypeMethodDescriptionvoid
Sends this message to every player and spectatorstatic AddPlayerIssue
Constructs a newAddPlayerIssue
with the given id and hint message. -
Uses of Message in de.marcely.bedwars.api.event.arena
Modifier and TypeMethodDescription@Nullable Message
ArenaIssuesCheckEvent.IssueType.getMessage()
Get the error message that would be displayed using this issue-type.Modifier and TypeMethodDescriptionArenaBedBreakEvent.getChatMessageFunction()
Get the function that is used to obtain the message that shall be sent to each player.Modifier and TypeMethodDescriptionvoid
ArenaBedBreakEvent.setChatMessage
(Message message) Set a constant message that is equal for all players.Modifier and TypeMethodDescriptionvoid
ArenaBedBreakEvent.setChatMessageFunction
(Function<Player, Message> function) Set the function that is used to obtain the message that shall be sent to each player.ModifierConstructorDescriptionArenaBedBreakEvent
(Arena arena, @Nullable Player player, String altDisplayName, Team team, Location bedLocation, BedDestructionInfo.Cause cause, ArenaBedBreakEvent.Result result, boolean playSound, boolean sendTitle, boolean sendMessage, Function<Player, Message> messageFunction) -
Uses of Message in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerIngameDeathEvent.getDeathMessage()
Returns the death message that'll be displayed in the chat to the players instead of the default vanilla one.Modifier and TypeMethodDescriptionvoid
PlayerIngameDeathEvent.setDeathMessage
(Message deathMessage) Set the death message that'll be displayed in the chat to the players instead of the default vanilla one.ModifierConstructorDescriptionPlayerIngameDeathEvent
(PlayerDeathEvent bukkitEvent, Arena arena, boolean fatalDeath, Message deathMessage, Set<Player> deathMessageTargets, int deathSpectateDuration) PlayerKillPlayerEvent
(PlayerDeathEvent bukkitEvent, Arena arena, boolean fatalDeath, Message deathMessage, Set<Player> deathMessageTargets, int deathSpectateDuration, Player killer, PlayerDamageInfo damageInfo) -
Uses of Message in de.marcely.bedwars.api.message
Modifier and TypeMethodDescriptionstatic Message
Creates an instance of a message.static Message
Creates an instance of a message that persists of multiple lines.static Message
Creates an instance of a message that persists of multiple lines.static Message
Message.buildByKey
(String key) Creates an instance of a message.static Message
Message.buildByKey
(String key, String def) Creates an instance of a message.Message.clone()
Clones an exact replica.Message.cloneNonUpcyable()
Clones the current Message and creates a non-freeable variant.default Message
Message.placeholder
(String key, Object value) Adds a placeholder to the message.Message.placeholder
(String key, String value) Adds a placeholder to the message.Modifier and TypeMethodDescriptionabstract String
The default processor processes it in the following way:
1.MessageProcessor.process
(@Nullable CommandSender target, Message messageObj, boolean forceDefaultLang) Same asMessageProcessor.process(String, Message, String)
put fetches the locale from the given target -
Uses of Message in de.marcely.bedwars.api.unsafe
Modifier and TypeMethodDescriptionTeamWrapper.getNameAsMessage()
Deprecated.abstract Message
BedwarsAPILayer.newMessageInstance
(String rawMessage) Deprecated.abstract Message
BedwarsAPILayer.newMessageInstance
(String key, String def) Deprecated.abstract Message
BedwarsAPILayer.newMessageInstance
(List<String> lines) Deprecated. -
Uses of Message in de.marcely.bedwars.api.world.hologram.skin
Modifier and TypeMethodDescriptionCreates a new supplier that auto-translates the given message for each player.Modifier and TypeMethodDescriptionCreates a new supplier that auto-translates the given message for each player.