mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-22 23:38:13 +00:00
feat: Add configurable restrictions for muted accounts (#1887)
* Add configurable restrictions for muted accounts * switched to and updated GetRandomElement * Update config option check * implement cached config values for mute settings and update handlers * Address review * Update dGame/dComponents/PetComponent.cpp Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> * Update dGame/dComponents/PetComponent.cpp Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> * reduce if argument chain --------- Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
This commit is contained in:
@@ -74,3 +74,9 @@ database_type=sqlite
|
||||
|
||||
# Skips the account creation check in master. Used for non-interactive setups.
|
||||
skip_account_creation=0
|
||||
# 0 or 1, restrict mail while account is muted
|
||||
mute_restrict_mail=1
|
||||
# 0 or 1, restrict trade while account is muted
|
||||
mute_restrict_trade=1
|
||||
# 0 or 1, automatically reject character and pet names submitted while muted
|
||||
mute_auto_reject_names=1
|
||||
|
Reference in New Issue
Block a user