showPlayerIsTalking()
showPlayerIsTalking
Method in MelodyManager
Class
showPlayerIsTalking
Method in MelodyManager
ClassMethod Signature
Parameters
Parameter
Type
Description
player
MelodyPlayer
The player whose talking status is to be displayed.
Example
Here is an example of how to use the showPlayerIsTalking
method in another plugin:
In this example, the displayTalkingStatus
method in the ExamplePlugin
class retrieves the MelodyPlayer
instance for the player using their UUID. It then uses the showPlayerIsTalking
method of the MelodyManager
class to display the talking status of the player. If the status is successfully displayed, a message is logged to the console. If the player is not found, a warning is logged instead.
Last updated