Quick question about weapon system design
Right now:
- Weapons are Tools in the Backpack
- When clicked, I send the tool to the server
- Server removes it from the Backpack when equipped
Goal:
- Equipped weapons should NOT be in the Backpack
- I want them drawn/used via a keybind (not tool selection)
- Tools should only act as inventory items
- System should be fully server-authoritative
Concern:
- I’m currently passing the Tool instance from client → server, which feels unsafe and/or exploitable
Questions:
- Should I keep passing the Tool instance and just validate it on the server?
- Or switch to something like server-tracked ownership (IDs, etc.)?
- How do you usually handle equip state when tools are removed from the Backpack?