10 · Fixes · Fix
Emote Lock Near Doors
Small fix with a big effect. Players were abusing emotes and animations to clip through locked doors, so emotes are blocked near doors, and it's configurable per door so normal roleplay isn't hurt.
How it works
Start to finish
-
An emote cancelled next to a locked door, with the warning notification 1 / 2 01 — The watcher
Cancel the emote, say why
- A watcher cancels rpemotes animations when a player stands within 7.5 m of an ox_doorlock door (distance and check rate configurable) and tells them why.
-
The ox_doorlock settings panel with the added Allow emotes toggle 2 / 2 02 — The toggle
Opt out per door
- A per-door Allow emotes toggle in the ox_doorlock settings UI, saved with the door, so doors that don't need the protection can opt out.
- Docs first: design spec and implementation plan written before the code, then the change landed across both resources.
Tech
Tech and package
- Door resourceclient script, config, NUI
- ox_doorlockthe settings UI change
Need something like this on your server?