mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2026-01-04 15:31:38 +00:00
Allow deprecation message to be disabled
This commit is contained in:
@@ -32,12 +32,13 @@ public enum IntegrationType {
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
if (this == RPGREGIONS) {
|
||||
if (this == RPGREGIONS && !plugin.getConfig().getBoolean("acknowledge-orbis", false)) {
|
||||
plugin.getLogger().warning("The RPGRegions integration has been deprecated and will not receive updates.");
|
||||
plugin.getLogger().warning("You are instead recommended to use the Orbis integration.");
|
||||
plugin.getLogger().warning("Find download options for Orbis at: https://github.com/EmpireWar/Orbis?tab=readme-ov-file#-downloads.");
|
||||
plugin.getLogger().warning("Migration tutorial can be found at: https://github.com/EmpireWar/Orbis/wiki/Migration-from-another-plugin.");
|
||||
plugin.getLogger().warning("Orbis has better performance and more features and is maintained by me directly.");
|
||||
plugin.getLogger().warning("You can silence this message by adding `acknowledge-orbis=true` to your config.yml under `settings.external`.");
|
||||
}
|
||||
|
||||
Class<? extends IntegrationManager> clazz = (Class<? extends IntegrationManager>) Class
|
||||
|
||||
Reference in New Issue
Block a user