There are a lot of potential mods that require custom control schemes (not just button remapping). Server-side, an example would be controlling a custom go-kart entity or pressing a key to activate a super power. Client side, it would let touch control users to remap their controls or players to auto eat food when hungry
-client side: button presses can trigger component events, component events can control movement (moving/jumping), player states (crouching/swimming), player actions (punching/using item), ui states (inventory/hotbar), settings (third person/hide ui), and chat/commands
-server side: in addition to client side, give scripts access to movement patterns (speed, acceleration, direction), and ui states (custom crafting for instance)
Please sign in to leave a comment.