New create character checks configurable: block monsters & spells names

This commit is contained in:
slawkens
2023-07-22 11:10:07 +02:00
parent ea21e27cdc
commit da19a34335
2 changed files with 35 additions and 17 deletions

View File

@@ -620,10 +620,22 @@ Sent by MyAAC,<br/>
'type' => 'section',
'title' => 'Create Character',
],
'create_character_name_npc_check' => [
'name' => 'Create Character Name Check NPC Names',
'create_character_name_monsters_check' => [
'name' => 'Block Monsters Names',
'type' => 'boolean',
'desc' => 'should country of user be automatically recognized by his IP? This makes an external API call to http://ipinfo.io',
'desc' => 'Should monsters names be blocked when creating character?',
'default' => true,
],
'create_character_name_npc_check' => [
'name' => 'Block NPC Names',
'type' => 'boolean',
'desc' => 'Should NPC names be blocked when creating character?',
'default' => true,
],
'create_character_name_spells_check' => [
'name' => 'Block Spells Names',
'type' => 'boolean',
'desc' => 'Should spells names and words be blocked when creating character?',
'default' => true,
],
'create_character_name_min_length' => [