discord: add Region AreaType
This commit is contained in:
@@ -30,5 +30,6 @@ enum DiscordAreaType
|
||||
CITIES,
|
||||
DUNGEONS,
|
||||
MINIGAMES,
|
||||
RAIDS
|
||||
RAIDS,
|
||||
REGIONS
|
||||
}
|
||||
|
||||
@@ -120,4 +120,15 @@ public interface DiscordConfig extends Config
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "showRegionsActivity",
|
||||
name = "Regions",
|
||||
description = "Show your activity and location while in other regions",
|
||||
position = 9
|
||||
)
|
||||
default boolean showRegionsActivity()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -436,6 +436,7 @@ public class DiscordPlugin extends Plugin
|
||||
case CITIES: return config.showCityActivity();
|
||||
case DUNGEONS: return config.showDungeonActivity();
|
||||
case MINIGAMES: return config.showMinigameActivity();
|
||||
case REGIONS: return config.showRegionsActivity();
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user