toggleLogger()
toggleLogger
Method in MelodyManager
Class
toggleLogger
Method in MelodyManager
ClassMethod Signature
Parameters
Parameter
Type
Description
uuid
String
The UUID of the player for whom the logger is to be toggled.
Usage
To use the toggleLogger
method in your plugin, you need to import the MelodyManager
class and call the method on its instance. Here is an example:
In this example, the togglePlayerLogger
method in the ExamplePlugin
class calls the toggleLogger
method on the MelodyManager
instance. It then logs a message to the console indicating that the logger has been toggled for the player with the given UUID.
Make sure to replace playerUUID
with the actual UUID of the player for whom you want to toggle the logger.
Last updated