What's Changed in v1.0.1
Added
- Custom & Add-on Weapon Support in Admin Dashboard (
/hostageadmin):- The Allowed Weapons section now features a dual-mode weapon row editor.
- Added ability to switch between selecting from standard vanilla GTA presets and typing custom weapon spawn codes (e.g.
weapon_glock17,weapon_m4a1,custom_pistol). - Added automatic detection of custom non-catalog weapons loaded from database/config, rendering them directly in custom text input mode.
- Added inline normalization for weapon spawn codes (trimmed whitespace and lowercased).
Fixed
- Fixed an issue where the dashboard prevented adding custom or add-on weapons when "Restrict to allowed weapons" is enabled.
Compatibility
- Fully backward compatible with existing
osm_hostage_settingsdatabase entries and configurations. No migrations required.