Package me.lokka30.levelledmobs.commands
Class MessagesBase
java.lang.Object
me.lokka30.levelledmobs.commands.MessagesBase
- Direct Known Subclasses:
DebugSubcommand
,InfoSubcommand
,KillSubcommand
,PlayerInteractEventListener
,RulesSubcommand
,SpawnerBaseClass
,SummonSubcommand
Provides common functions for showing messages stored in messages.yml to the user
- Since:
- 3.3.0
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.bukkit.command.CommandSender
protected final LevelledMobs
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull String
getMessage
(@NotNull String path) getMessage
(@NotNull String path, @NotNull String replaceWhat, @NotNull String replaceWith) getMessage
(@NotNull String path, String @NotNull [] replaceWhat, String @NotNull [] replaceWith) protected void
showMessage
(@NotNull String path) protected void
showMessage
(@NotNull String path, @NotNull String replaceWhat, @NotNull String replaceWith) protected void
showMessage
(@NotNull String path, @NotNull org.bukkit.command.CommandSender sender) protected void
showMessage
(@NotNull String path, String @NotNull [] replaceWhat, String @NotNull [] replaceWith) protected void
showMessage
(@NotNull String path, String @NotNull [] replaceWhat, String @NotNull [] replaceWith, @NotNull org.bukkit.command.CommandSender sender)
-
Field Details
-
main
-
messageLabel
-
commandSender
protected org.bukkit.command.CommandSender commandSender
-
-
Constructor Details
-
MessagesBase
-
-
Method Details
-
showMessage
-
showMessage
protected void showMessage(@NotNull @NotNull String path, @NotNull @NotNull org.bukkit.command.CommandSender sender) -
showMessage
-
showMessage
-
showMessage
-
getMessage
-
getMessage
-
getMessage
-