Package com.earth2me.essentials
Class CommandSource
java.lang.Object
com.earth2me.essentials.CommandSource
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Player
final CommandSender
final IUser
getUser()
boolean
isAuthorized
(String permission) final boolean
isPlayer()
void
sendComponent
(net.kyori.adventure.text.Component component) void
sendMessage
(String message) void
final CommandSender
setSender
(CommandSender base) net.kyori.adventure.text.Component
tlComponent
(String tlKey, Object... args)
-
Field Details
-
ess
-
sender
-
-
Constructor Details
-
CommandSource
-
-
Method Details
-
getSender
-
getPlayer
-
sendTl
-
tl
-
tlComponent
-
sendComponent
public void sendComponent(net.kyori.adventure.text.Component component) -
getUser
-
isPlayer
public final boolean isPlayer() -
setSender
-
sendMessage
-
isAuthorized
-
getSelfSelector
-
getDisplayName
-