Skyblocker icon indicating copy to clipboard operation
Skyblocker copied to clipboard

Add more shortcuts

Open AC19970 opened this issue 2 months ago • 2 comments

I use a QWERTY keyboard. I try to choose the letters for the abbreviations based on the characters I would subconsciously type when typing the full path.

Some shortcuts that don't follow this rule are usually because there are duplicate parameters or they can be entered quickly by double-clicking.

Most warp commands start with "w" to limit them to the same level, so that the auto-complete function does not provide too much warp commands.

By listing these commands, even if the user does not like the shortcuts, they can quickly change it without having to look up the specific command to enter.

AC19970 avatar Oct 28 '25 04:10 AC19970

I'm not sure about this, the reason why there isn't many by default is because if a user does not want them then they have to delete them all individually which can take a while and be annoying. There was originally more that were retracted for these reasons (see the unused getMoreDefaultShortcuts).

Some of the shortcuts you added here already exist (/rp); or they duplicate with hypixel (/cc, and /co); and some could slightly conflict with other mods (/cof for Cofl, and /ct for Chat Triggers).

AzureAaron avatar Nov 03 '25 21:11 AzureAaron

I saw getMoreDefaultShortcuts, but I don't really like them. They're still quite long, and they're first-level instead of second. This can be confusing if the player isn't just skyblock-only. I think it's better to use /w at the beginning of everything. Also, could we make this an option: ask the user if they want it enabled before initially creating the JSON? Or allow users to more easily import presets (instead of searching for folders to modify the json, since many players are completely unfamiliar with this)? The latter could also be used throughout the mod, but I don't know how to implement it specifically.

Before this pr, I considered the conflicts and made some changes. (These aren't all the ones I actually use.) And what you mentioned could indeed be problematic. However, we've already overridden some commands provided by Hypixel. Of course, I agree that we shouldn't continue adding a lot more overridden commands, as this could lead to potential instability. I will try to minimize this situation.

AC19970 avatar Nov 04 '25 05:11 AC19970