Currently you can only toggle camera and all movement inputs with the inputpermission command, we could have commands to toggle specific camera and movements input, for the camera we could have something like:
- /inputpermission set <targets: target> camera_vertical_movement <state: state> - As the name says, it would disable only the vertical movement of the camera while keeping the horizontal movement. A camera_horizontal_movement permission would also need to be implemented.
For movement we could have very interesting permissions, particularly for map/addon makers. Here are some examples:
- /inputpermission set <targets: target> movement_jump <state: state> - This would prevent the player from jumping, something we can't really do currently.
- /inputpermission set <targets: target> movement _sprint <state: state> - The player would become unable to sprint, at the moment it's possible to prevent players from sprinting with hunger, but it has drawbacks, such as not having natural regeneration.
- /inputpermission set <targets: target> movement _sneak <state: state> - Making the player unable to sneak could also be useful.
- /inputpermission set <targets: target> movement_inventory_slot <state: state> - This would make players unable to switch the inventory slot they have selected. Also an inventory input permission could be used to prevent players from opening their inventory, which also would prevent interacting with crafting tables, furnaces, etc.
Please sign in to leave a comment.
3 Comments