/settings menu!
Getting the API Instance
You can access theSentrySettingsAPI by grabbing the main plugin instance.
Reading Player Preferences
If your custom plugin sends chat messages or plays sounds, you should check the player’s SentrySettings preferences first to ensure they haven’t muted them!Registering Custom GUI Toggles
You can inject your own custom toggles into the SentrySettings GUI. These toggles will automatically be saved to the database (H2/MySQL) just like native settings! To do this, you implement theCustomSetting interface.
.png?fit=max&auto=format&n=VrRd9ylcA_lbpmt6&q=85&s=4eb75c6784eda09d9cdee2d5224ca0e8)