Coflnet / SkyblockMod

A frontend for sky.coflnet.com inside minecraft
GNU Affero General Public License v3.0
17 stars 24 forks source link

Add hotkeys programatically #100

Open Ekwav opened 1 year ago

Ekwav commented 1 year ago

The mod should receive the capability to programatically register hotkeys via a command from the server. This should enable future extensibility. Proposed format:

{
type:"registerHotkeys",
data:[{slug:"openSellerAh",defaultKey:"M"}]
}

command when key is pressed:

{
type:"hotkey",
data:"openSellerAh"
}

none of proposed commands exists yet on the server, as it may need severe adjustment

MatixAndr09 commented 1 week ago

Can you explain it a little bit more? Do you want to do something like that:

When i press the M key it will open the newest flip seller ah profile or the link to auction?