public class MessageUtils
extends java.lang.Object
构造器和说明 |
---|
MessageUtils() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
hasPlaceholderAPI() |
static void |
send(@Nullable org.bukkit.command.CommandSender sender,
java.util.List<java.lang.String> messages) |
static void |
send(@Nullable org.bukkit.command.CommandSender sender,
java.lang.String... messages) |
static void |
sendWithPlaceholders(@Nullable org.bukkit.command.CommandSender sender,
java.util.List<java.lang.String> messages) |
static void |
sendWithPlaceholders(@Nullable org.bukkit.command.CommandSender sender,
java.util.List<java.lang.String> messages,
java.lang.String[] params,
java.lang.Object[] values) |
static void |
sendWithPlaceholders(@Nullable org.bukkit.command.CommandSender sender,
java.util.List<java.lang.String> messages,
java.lang.String param,
java.lang.Object value) |
static void |
sendWithPlaceholders(org.bukkit.command.CommandSender sender,
java.lang.String... messages) |
static @NotNull java.util.List<java.lang.String> |
setCustomParams(java.util.List<java.lang.String> messages,
java.util.HashMap<java.lang.String,java.lang.Object> params) |
static @NotNull java.util.List<java.lang.String> |
setCustomParams(@NotNull java.util.List<java.lang.String> messages,
@Nullable java.lang.String[] params,
@Nullable java.lang.Object[] values) |
static @NotNull java.util.List<java.lang.String> |
setCustomParams(@NotNull java.util.List<java.lang.String> messages,
@NotNull java.lang.String param,
@NotNull java.lang.Object value) |
static @NotNull java.lang.String |
setCustomParams(@NotNull java.lang.String message,
@NotNull java.util.HashMap<java.lang.String,java.lang.Object> params) |
static @Nullable java.lang.String |
setCustomParams(@Nullable java.lang.String message,
@Nullable java.lang.String[] params,
@Nullable java.lang.Object[] values) |
static java.lang.String |
setCustomParams(@NotNull java.lang.String message,
@NotNull java.lang.String param,
@NotNull java.lang.Object value) |
static @Nullable java.util.List<java.lang.String> |
setPlaceholders(@Nullable org.bukkit.command.CommandSender sender,
@Nullable java.util.List<java.lang.String> messages) |
static java.util.List<java.lang.String> |
setPlaceholders(@Nullable org.bukkit.command.CommandSender sender,
@NotNull java.util.List<java.lang.String> messages,
@Nullable java.lang.String[] params,
@Nullable java.lang.Object[] values) |
static java.lang.String |
setPlaceholders(@Nullable org.bukkit.command.CommandSender sender,
@Nullable java.lang.String message) |
static java.lang.String |
setPlaceholders(@Nullable org.bukkit.command.CommandSender sender,
@NotNull java.lang.String message,
@Nullable java.lang.String[] params,
@Nullable java.lang.Object[] values) |
public static boolean hasPlaceholderAPI()
public static void send(@Nullable @Nullable org.bukkit.command.CommandSender sender, java.lang.String... messages)
public static void send(@Nullable @Nullable org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> messages)
public static void sendWithPlaceholders(org.bukkit.command.CommandSender sender, java.lang.String... messages)
public static void sendWithPlaceholders(@Nullable @Nullable org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> messages)
public static void sendWithPlaceholders(@Nullable @Nullable org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> messages, java.lang.String param, java.lang.Object value)
public static void sendWithPlaceholders(@Nullable @Nullable org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> messages, java.lang.String[] params, java.lang.Object[] values)
public static java.lang.String setPlaceholders(@Nullable @Nullable org.bukkit.command.CommandSender sender, @Nullable @Nullable java.lang.String message)
@Nullable @Contract(value="_, !null -> !null") public static @Nullable java.util.List<java.lang.String> setPlaceholders(@Nullable @Nullable org.bukkit.command.CommandSender sender, @Nullable @Nullable java.util.List<java.lang.String> messages)
public static java.lang.String setPlaceholders(@Nullable @Nullable org.bukkit.command.CommandSender sender, @NotNull @NotNull java.lang.String message, @Nullable @Nullable java.lang.String[] params, @Nullable @Nullable java.lang.Object[] values)
public static java.util.List<java.lang.String> setPlaceholders(@Nullable @Nullable org.bukkit.command.CommandSender sender, @NotNull @NotNull java.util.List<java.lang.String> messages, @Nullable @Nullable java.lang.String[] params, @Nullable @Nullable java.lang.Object[] values)
public static java.lang.String setCustomParams(@NotNull @NotNull java.lang.String message, @NotNull @NotNull java.lang.String param, @NotNull @NotNull java.lang.Object value)
@Nullable @Contract(value="!null, _, _-> !null ; null, _, _->null ") public static @Nullable java.lang.String setCustomParams(@Nullable @Nullable java.lang.String message, @Nullable @Nullable java.lang.String[] params, @Nullable @Nullable java.lang.Object[] values)
@NotNull public static @NotNull java.lang.String setCustomParams(@NotNull @NotNull java.lang.String message, @NotNull @NotNull java.util.HashMap<java.lang.String,java.lang.Object> params)
@NotNull public static @NotNull java.util.List<java.lang.String> setCustomParams(@NotNull @NotNull java.util.List<java.lang.String> messages, @NotNull @NotNull java.lang.String param, @NotNull @NotNull java.lang.Object value)
@NotNull public static @NotNull java.util.List<java.lang.String> setCustomParams(@NotNull @NotNull java.util.List<java.lang.String> messages, @Nullable @Nullable java.lang.String[] params, @Nullable @Nullable java.lang.Object[] values)
@NotNull public static @NotNull java.util.List<java.lang.String> setCustomParams(java.util.List<java.lang.String> messages, java.util.HashMap<java.lang.String,java.lang.Object> params)
Copyright © 2024. All rights reserved.