open.mp icon indicating copy to clipboard operation
open.mp copied to clipboard

Add sanity checks for config options

Open vsmxd opened this issue 5 months ago • 0 comments
trafficstars

Changes

  • Added sanity checks for config options in legacy network component
  • Validates max_bots vs max_players configuration
  • Checks and corrects negative values in network settings
  • Warns when query is disabled but announce is enabled
  • Added warning for scriptfiles directory creation in Pawn component

Testing

  • [x] Changes are minimal and focused
  • [x] No new dependencies added
  • [x] Warnings are clear and informative

Fixes #611

vsmxd avatar Jun 07 '25 00:06 vsmxd