Add comprehensive documentation and fix authentication config paths
- Add detailed README.md with installation, usage, and development guide - Add CONFIG.md with complete configuration documentation - Update connection and SASL authentication to use nested config paths - Fix server password and SASL username/password config access - Add config validation test script (test_config.py) - Clean up config.json (removed invalid JSON comments) - Improve error handling for config arrays and null values
This commit is contained in:
@@ -36,12 +36,12 @@
|
||||
"min_hp": 3,
|
||||
"max_hp": 5,
|
||||
"xp": 15,
|
||||
"timeout": 50
|
||||
"timeout": 60
|
||||
},
|
||||
"fast": {
|
||||
"chance": 0.25,
|
||||
"timeout": 20,
|
||||
"xp": 20
|
||||
"xp": 12
|
||||
}
|
||||
},
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"accuracy": 75,
|
||||
"magazines": 3,
|
||||
"bullets_per_magazine": 6,
|
||||
"jam_chance": 5,
|
||||
"jam_chance": 15,
|
||||
"xp": 0
|
||||
},
|
||||
|
||||
@@ -72,6 +72,6 @@
|
||||
|
||||
"limits": {
|
||||
"max_inventory_items": 20,
|
||||
"max_temp_effects": 5
|
||||
"max_temp_effects": 20
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user