The current Script API only exposes a very limited set of player input events. For many types of addons and minigames, it would be extremely useful to detect all player inputs.
Please add support for events or InputButton values for actions such as:
- Open inventory
- Close inventory
- Open emote wheel
- Use an emote
- Toggle first-person / third-person (F5)
- Toggle HUD (F1)
- Left mouse button (Attack)
- Right mouse button (Use), even when clicking the air
- Sprint
- Sneak (already exists)
- Jump (already exists)
- Drop item (Q)
- Swap offhand item
- Change hotbar slot (mouse wheel or number keys)
- Pause menu
- Chat
These events would greatly improve the creation of custom game modes, shooters, RPGs, UI systems, accessibility features, and advanced gameplay mechanics.
They should work consistently across keyboard, mouse, controller, and touch devices, so addon creators can detect the same player actions regardless of the input method.
This would make the Script API much more powerful while remaining fully server-authoritative.
Please sign in to leave a comment.
0 Comments