diff --git a/README.md b/README.md index 56cfc2d..4d4ef00 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,14 @@ # AzerothCore Module: Bot Level Brackets --------- Overview -------- -The Bot Level Brackets module for AzerothCore ensures an even spread of player bots across configurable level ranges (brackets). It periodically monitors bot levels and automatically adjusts them by transferring bots from overpopulated brackets to those with a deficit. During adjustments, bot levels are reset, equipped items are destroyed, trade skills are removed, quests are cleared, active auras are removed, pets are dismissed, and auto-maintenance actions are executed. Bots that are not immediately safe for level reset (for example, those in combat or engaged in other activities) are flagged for pending adjustment and processed later when they become safe. Additionally, Death Knight bots are safeguarded to never be assigned a level below 55. +The Bot Level Brackets module for AzerothCore ensures an even spread of player bots across configurable level ranges (brackets). It periodically monitors bot levels and automatically adjusts them by transferring bots from overpopulated brackets to those with a deficit. During adjustments, bots will be run through the normal Playerbots Randomize function, clearing and restoring them based on their new level. Bots that are not immediately safe for level reset (for example, those in combat or engaged in other activities) are flagged for pending adjustment and processed later when they become safe. Additionally, Death Knight bots are safeguarded to never be assigned a level below 55. Features -------- - **Configurable Level Brackets:** Define nine distinct level brackets with configurable lower and upper bounds: - - 1-9 - - 10-19 - - 20-29 - - 30-39 - - 40-49 - - 50-59 - - 60-69 - - 70-79 - - 80 + - 1-9 , 10-19 , 20-29 , 30-39 , 40-49 , 50-59 , 60-69 , 70-79 , 80 - **Faction-Specific Configuration:** Separate configurations for Alliance and Horde bots allow individual control over desired bot percentages within each bracket. @@ -31,9 +22,6 @@ Features - **Death Knight Level Safeguard:** Bots of the Death Knight class are enforced a minimum level of 55, ensuring they are only assigned to higher brackets. -- **Automated Maintenance Execution:** - After a level change, the module executes the AutoMaintenanceOnLevelupAction to properly reinitialize the bot’s state. - - **Support for Random Bots:** The module applies exclusively to bots managed by RandomPlayerbotMgr. @@ -130,7 +118,7 @@ To enable detailed debug logging, update the configuration file: BotLevelBrackets.DebugMode = 1 -This setting outputs logs detailing bot level adjustments, item destruction, pet removal, and the execution of auto-maintenance actions. +This setting outputs logs detailing bot level adjustments, percentages and distribution to the server console. License ------- diff --git a/data/.gitkeep b/data/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/data/sql/db-auth/base/.gitkeep b/data/sql/db-auth/base/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/data/sql/db-auth/updates/.gitkeep b/data/sql/db-auth/updates/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/data/sql/db-characters/base/.gitkeep b/data/sql/db-characters/base/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/data/sql/db-characters/updates/.gitkeep b/data/sql/db-characters/updates/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/data/sql/db-world/base/.gitkeep b/data/sql/db-world/base/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/data/sql/db-world/base/skeleton_module_acore_string.sql b/data/sql/db-world/base/skeleton_module_acore_string.sql deleted file mode 100644 index 4ac0cce..0000000 --- a/data/sql/db-world/base/skeleton_module_acore_string.sql +++ /dev/null @@ -1,4 +0,0 @@ -SET @ENTRY:=35410; -DELETE FROM `acore_string` WHERE `entry`=@ENTRY; -INSERT INTO `acore_string` (`entry`, `content_default`, `locale_koKR`, `locale_frFR`, `locale_deDE`, `locale_zhCN`, `locale_zhTW`, `locale_esES`, `locale_esMX`, `locale_ruRU`) VALUES -(@ENTRY, 'Hello World from Skeleton-Module!', '', '', '', '', '', '¡Hola Mundo desde Skeleton-Module!', '¡Hola Mundo desde Skeleton-Module!', ''); diff --git a/data/sql/db-world/updates/.gitkeep b/data/sql/db-world/updates/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..97f3499 Binary files /dev/null and b/icon.png differ diff --git a/include.sh b/include.sh deleted file mode 100644 index e69de29..0000000