account bound логика

This commit is contained in:
2026-08-05 18:32:36 +04:00
parent 1668e27ba3
commit 7c092e8a72
3 changed files with 82 additions and 1 deletions
+2 -1
View File
@@ -124,4 +124,5 @@ __pycache__/
# !modules/yourmodule
#
# ==================
.claude
.claude
!modules/AccountBound
Submodule modules/AccountBound added at f7ba75b14b
+79
View File
@@ -472,6 +472,84 @@ DynamicQuestXP.Level_70_plus = ${ACORE_DYNAMIC_QUEST_XP_LEVEL_70_PLUS}
EOF
}
write_account_bound_conf() {
write_file "$MODULES_ETC_DIR/AccountBound.conf.dist" <<EOF
# Managed by ./setup-modules.sh
AccountBound.Achievements.Enable = 0
AccountBound.Achievements.StartupBackfill = 1
AccountBound.Achievements.SameFactionOnly = 1
AccountBound.Achievements.SyncOnCreate = 1
AccountBound.Achievements.SyncRealmFirst = 0
AccountBound.Achievements.SyncHidden = 0
AccountBound.Achievements.ConvertFactionSpecific = 1
AccountBound.Achievements.SyncUnpairedFactionSpecific = 0
AccountBound.Achievements.AllowList = all
AccountBound.Achievements.BlockList = ""
AccountBound.Mounts.Enable = 1
AccountBound.Mounts.StartupBackfill = 1
AccountBound.Mounts.SyncOnCreate = 1
AccountBound.Mounts.RespectFactionRestrictions = 1
AccountBound.Mounts.ConvertFactionSpecific = 1
AccountBound.Mounts.RequireRiding = 1
AccountBound.Mounts.SyncClassMounts = 1
AccountBound.Mounts.RequireClass = 1
AccountBound.Mounts.ClassMountsSameFactionOnly = 1
AccountBound.Mounts.CleanupInvalid = 1
AccountBound.Mounts.BackfillOnRidingSkillChange = 1
AccountBound.Mounts.AllowList = all
AccountBound.Mounts.BlockList = ""
AccountBound.Pets.Enable = 1
AccountBound.Pets.StartupBackfill = 1
AccountBound.Pets.SyncOnCreate = 1
AccountBound.Pets.SameFactionOnly = 0
AccountBound.Pets.IncludeCompanionSkillLine = 1
AccountBound.Pets.IncludeMinipetSummons = 1
AccountBound.Pets.AllowList = all
AccountBound.Pets.BlockList = ""
AccountBound.Titles.Enable = 0
AccountBound.Titles.StartupBackfill = 1
AccountBound.Titles.SyncOnCreate = 1
AccountBound.Titles.SyncOnSave = 1
AccountBound.Titles.SyncRealmFirst = 0
AccountBound.Titles.ConvertFactionSpecific = 1
AccountBound.Titles.AllowList = all
AccountBound.Titles.BlockList = ""
AccountBound.Reputations.Enable = 0
AccountBound.Reputations.StartupBackfill = 1
AccountBound.Reputations.SyncOnCreate = 1
AccountBound.Reputations.SyncOnChange = 1
AccountBound.Reputations.SameFactionOnly = 1
AccountBound.Reputations.ConvertFactionSpecific = 1
AccountBound.Reputations.SyncUnpairedCrossFaction = 0
AccountBound.Reputations.AllowList = all
AccountBound.Reputations.BlockList = ""
AccountBound.Professions.Enable = 0
AccountBound.Professions.MaxPrimaryProfessions = 11
AccountBound.Professions.Primary.AllowList = all
AccountBound.Professions.Primary.BlockList = ""
AccountBound.Professions.Primary.CountOnlyAllowed = 1
AccountBound.Professions.Primary.EnforceAllowedList = 0
AccountBound.Professions.MaxSkillValue = 450
AccountBound.Professions.StartupBackfill = 1
AccountBound.Professions.SyncOnCreate = 1
AccountBound.Professions.SyncOnLearn = 1
AccountBound.Professions.IncludeSecondaryProfessions = 1
AccountBound.Professions.SyncSkillProgress = 1
AccountBound.Professions.SyncProfessionRanks = 1
AccountBound.Professions.SyncRecipes = 1
AccountBound.Professions.SyncSkillGrantedSpells = 1
AccountBound.Professions.RequireRecipeSkill = 1
AccountBound.Professions.SpellAllowList = ""
AccountBound.Professions.SpellBlockList = ""
AccountBound.Friends.Enable = 1
AccountBound.Friends.SyncOnCreate = 1
AccountBound.Friends.SyncOnlineChanges = 1
AccountBound.Friends.SameFactionOnly = 0
AccountBound.Friends.SyncIntervalSeconds = 3
AccountBound.Friends.StartupBackfill = 1
EOF
}
write_aoe_loot_conf() {
write_file "$MODULES_ETC_DIR/mod_aoe_loot.conf.dist" <<EOF
# Managed by ./setup-modules.sh
@@ -729,6 +807,7 @@ main() {
write_gamemodes_conf
write_playerbots_conf
write_playerbots_ai_conf
write_account_bound_conf
if (( SKIP_SQL )); then
log "local module SQL imports skipped"
else