Adds a toggle-able admin alert when any admin joins the server

This commit is contained in:
2021-11-25 14:56:05 +01:00
parent a61a03be33
commit cfb4910977
4 changed files with 28 additions and 3 deletions

View File

@ -319,6 +319,15 @@ public final class StargateConfig {
}
}
/**
* Gets whether admins should be alerted about new plugin updates
*
* @return <p>Whether admins should be alerted about new updates</p>
*/
public boolean alertAdminsAboutUpdates() {
return (boolean) configOptions.get(ConfigOption.ADMIN_UPDATE_ALERT);
}
/**
* Loads all config values
*/