Uses of Interface
de.marcely.bedwars.api.message.Message
Packages that use Message
Package
Description
Contains classes that are related to the
Arena
.Events related to an
Arena
.Events related to
Player
actions, or changes to player properties.Classes dedicated building and sending messages to players.
DO NOT USE: These classes are for internal use only, and may change at any time.
Interfaces for different types of skins that can be applied to MBedwars packet holograms.
-
Uses of Message in de.marcely.bedwars.api.arena
Methods in de.marcely.bedwars.api.arena that return MessageModifier 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.Methods in de.marcely.bedwars.api.arena with parameters of type MessageModifier 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
Methods in de.marcely.bedwars.api.event.arena that return MessageModifier and TypeMethodDescription@Nullable Message
ArenaIssuesCheckEvent.IssueType.getMessage()
Get the error message that would be displayed using this issue-type.Methods in de.marcely.bedwars.api.event.arena that return types with arguments of type MessageModifier and TypeMethodDescriptionArenaBedBreakEvent.getChatMessageFunction()
Get the function that is used to obtain the message that shall be sent to each player.Methods in de.marcely.bedwars.api.event.arena with parameters of type MessageModifier and TypeMethodDescriptionvoid
ArenaBedBreakEvent.setChatMessage
(Message message) Set a constant message that is equal for all players.Method parameters in de.marcely.bedwars.api.event.arena with type arguments of type MessageModifier 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.Constructor parameters in de.marcely.bedwars.api.event.arena with type arguments of type MessageModifierConstructorDescriptionArenaBedBreakEvent
(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
Methods in de.marcely.bedwars.api.event.player that return MessageModifier and TypeMethodDescriptionPlayerIngameDeathEvent.getDeathMessage()
Returns the death message that'll be displayed in the chat to the players instead of the default vanilla one.Methods in de.marcely.bedwars.api.event.player with parameters of type MessageModifier 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.Constructors in de.marcely.bedwars.api.event.player with parameters of type MessageModifierConstructorDescriptionPlayerIngameDeathEvent
(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
Methods in de.marcely.bedwars.api.message that return MessageModifier 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.Methods in de.marcely.bedwars.api.message with parameters of type MessageModifier 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
Methods in de.marcely.bedwars.api.unsafe that return MessageModifier 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
Methods in de.marcely.bedwars.api.world.hologram.skin with parameters of type MessageModifier and TypeMethodDescriptionCreates a new supplier that auto-translates the given message for each player.Method parameters in de.marcely.bedwars.api.world.hologram.skin with type arguments of type MessageModifier and TypeMethodDescriptionCreates a new supplier that auto-translates the given message for each player.