feat(Core/Player): Allow stay in group when logged out (#10887)

* Config option

* Extra check

* Fixes

Updated some comments
Removed the config option from the first if since it's not necessary (afaik)

* REVERT

Reverting the if to what I had it at originally until I can get some input on it...

* Updated if

Got some input and this is working as intended

* Update World.cpp

* Update src/server/worldserver/worldserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
Revision
2022-04-25 14:29:44 +02:00
committed by GitHub
parent 4774772a42
commit a1707b2d14
4 changed files with 17 additions and 4 deletions

View File

@@ -3709,6 +3709,15 @@ EnablePlayerSettings = 0
JoinBGAndLFG.Enable = 0
#
# LeaveGroupOnLogout.Enabled
# Description: Should the player leave their group when they log out?
# (It does not affect raids or dungeon finder groups)
#
# Default: 1 - (Enabled)
LeaveGroupOnLogout.Enabled = 1
#
# ChangeFaction.MaxMoney
# Description: Maximum amount of gold allowed on the character to perform a faction change.