• 10/31/25 4:42 am
- 145 views • 0 today
- 2
- 1
4
---
This is second article from my blog "Fan Suggestion", where I think and write features, not necessarily my, but is interesting.
---
Custom binds creates own namespace in Controls Settings, which saves in "world/config/binds.ini" or another one format for developers convenience.
Binds are adapted for servers, where user settings saves on client in ".minecraft/config/server/binds.ini" (or another one format for developers convenience), which stores sectors and action_names with server names and keybinds accordingly.
Arguments:
+ `/bind create "<function_name>" "<category>" <action_snippet> "<action_name>" "<default_key>" "<mode>"` - Creates custom bind with parameters:
+ + `<function_name>` - Name of function, which executes by pressing. Selector of function executor sets as player, which used bind.
+ + `<category>` - Name of the sector in Controls Settings, which stores this bind. Example: "Map: Utils" or "Skills".
+ + `<action_snippet>` - System name of the action, which need for commands. Example: `create_fireball` for "Create Fireball" or `stupid_action` for "jdiekebtvrhxo ye".
+ + `<action_name> - Name of the action, which displays in Controls Settings. Example: "Theft car" or "Hide".
+ + `<default_key>`? (not required) - Default key, sets by default in all users. Saves as "none" if not written.
+ + `<mode>`? (not required) - Mode of bind: "down", "hold" (every tick) or "up".
+ `/bind delete <action_snippet>` - Removes bind by it's system name.
+ `/bind list` - Prints all custom binds in chat in format: `<action_snippet> "<action_name>" - <default_key> [*<current user key>]`.
+ `/bind list <action_snippet>` - Prints only written bind.
Hypothetical errors:
+ "Default key is invalid" - When `<default_key>` is invalid. For example: `<default_key>` = "f-1" (valid: "f1" or "f+1") or "ctrl-x" (valid: "ctrl+x").
+ "Bind not found" - When commands use not created bind.
+ "Invalid bind mode" - When bind mode don't contains in this list: ["down", "hold", "up"].
Minecraft BE adaptation could look like buttons or sensors of mobile, but base functional is identical.
Matter: Crutches optimization, convenience, extended functional, personality.
Thanks for reading! You can discuss and write your thoughts or opinion about this article.
Sorry for my English. I am B1-B2, I can mistake.
This is second article from my blog "Fan Suggestion", where I think and write features, not necessarily my, but is interesting.
---
Custom binds creates own namespace in Controls Settings, which saves in "world/config/binds.ini" or another one format for developers convenience.
Binds are adapted for servers, where user settings saves on client in ".minecraft/config/server/binds.ini" (or another one format for developers convenience), which stores sectors and action_names with server names and keybinds accordingly.
Arguments:
+ `/bind create "<function_name>" "<category>" <action_snippet> "<action_name>" "<default_key>" "<mode>"` - Creates custom bind with parameters:
+ + `<function_name>` - Name of function, which executes by pressing. Selector of function executor sets as player, which used bind.
+ + `<category>` - Name of the sector in Controls Settings, which stores this bind. Example: "Map: Utils" or "Skills".
+ + `<action_snippet>` - System name of the action, which need for commands. Example: `create_fireball` for "Create Fireball" or `stupid_action` for "jdiekebtvrhxo ye".
+ + `<action_name> - Name of the action, which displays in Controls Settings. Example: "Theft car" or "Hide".
+ + `<default_key>`? (not required) - Default key, sets by default in all users. Saves as "none" if not written.
+ + `<mode>`? (not required) - Mode of bind: "down", "hold" (every tick) or "up".
+ `/bind delete <action_snippet>` - Removes bind by it's system name.
+ `/bind list` - Prints all custom binds in chat in format: `<action_snippet> "<action_name>" - <default_key> [*<current user key>]`.
+ `/bind list <action_snippet>` - Prints only written bind.
Hypothetical errors:
+ "Default key is invalid" - When `<default_key>` is invalid. For example: `<default_key>` = "f-1" (valid: "f1" or "f+1") or "ctrl-x" (valid: "ctrl+x").
+ "Bind not found" - When commands use not created bind.
+ "Invalid bind mode" - When bind mode don't contains in this list: ["down", "hold", "up"].
Minecraft BE adaptation could look like buttons or sensors of mobile, but base functional is identical.
Matter: Crutches optimization, convenience, extended functional, personality.
Thanks for reading! You can discuss and write your thoughts or opinion about this article.
Sorry for my English. I am B1-B2, I can mistake.
More like this
6762098
6

Have something to say?