Uses of Class
io.github.lucfr1746.llibrary.chatinput.ChatInputAPI
Packages that use ChatInputAPI
-
Uses of ChatInputAPI in io.github.lucfr1746.llibrary.chatinput
Methods in io.github.lucfr1746.llibrary.chatinput that return ChatInputAPIModifier and TypeMethodDescriptionstatic ChatInputAPI
ChatInputAPI.create
(org.bukkit.plugin.java.JavaPlugin plugin, org.bukkit.entity.Player player, ChatInput inputType) Creates a new instance of ChatInputAPI.ChatInputAPI.setAllowedCommands
(@NotNull String... commands) Sets allowed commands during input.ChatInputAPI.setAllowedCommands
(@NotNull List<String> commands) Sets allowed commands during input.ChatInputAPI.setAttempts
(int attempts) Sets the maximum number of attempts allowed.Sets input flags.ChatInputAPI.setMessage
(@NotNull InputMessage inputMessage, @NotNull String message) Sets a custom message for the chat input prompt.ChatInputAPI.setTimeout
(int timeout) Sets the timeout duration for the chat input.