diff --git a/api/src/main/java/net/islandearth/rpgregions/api/integrations/IntegrationType.java b/api/src/main/java/net/islandearth/rpgregions/api/integrations/IntegrationType.java index 3595e6c..b19c459 100644 --- a/api/src/main/java/net/islandearth/rpgregions/api/integrations/IntegrationType.java +++ b/api/src/main/java/net/islandearth/rpgregions/api/integrations/IntegrationType.java @@ -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 clazz = (Class) Class diff --git a/rpgregions/src/main/resources/config.yml b/rpgregions/src/main/resources/config.yml index 458e355..114737f 100644 --- a/rpgregions/src/main/resources/config.yml +++ b/rpgregions/src/main/resources/config.yml @@ -25,6 +25,7 @@ settings: name: RPGRegions # Name of the integration: WorldGuard, Residence, GriefPrevention, GriefDefender, UltraRegions, Lands, RPGRegions external: dynmap: true # Enable dynmap support + acknowledge-orbis: false # Enable to silence the RPGRegions integration deprecation warning. teleport: # Enable a permission for costing money on teleport. # Example: rpgregions.teleport.10*n+100 means It costs $100 per teleport and 10 more per block away from the target location.