Skip to content

Mod for Melvor Idle that adds keybindings and remapping functionality.

License

Notifications You must be signed in to change notification settings

ChaseStrackbein/melvor-keybindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Melvor Keybindings

Adds keybindings and remapping functionality to Melvor Idle. View and remap any bindings via the Settings menu (X).

Installation

Get the userscript

Usage

Simply reference the table below (or that in the Settings menu) and press a key to perform its function.

List of Default Keybindings

Function Keybinding
Menu M
Save CTRL + S
Reload / Character Select F5
Open Wiki F1
Settings X
Shop V
Bank B
Combat C
Eat Equipped Food H
Loot All (Combat) SPACE
Run (Combat) CTRL + SPACE
Equipment Set 1 CTRL + 1
Equipment Set 2 CTRL + 2
Equipment Set 3 CTRL + 3
Equipment Set 4 CTRL + 4
Search Bank CTRL + F
Summoning Synergies Menu S
Search Summoning Synergies CTRL + ALT + F
Woodcutting 1
Fishing 2
Firemaking 3
Cooking 4
Mining 5
Smithing 6
Thieving 7
Farming 8
Fletching 9
Crafting 0
Runecrafting !
Herblore @
Agility #
Summoning $
Astrology %
Alt. Magic ALT + M
Completion Log Y
Statistics F2
Golbin Raid G
Previous Page BACKSPACE

API

If you'd like to create a keybinding in your own code managed by Melvor Keybindings, there is a simple API for doing so: window.kb.register(name, category, defaultKeys, callback)

// Press 'L' to add oak logs to your bank
if (window.kb)
  window.kb.register(
    'Add oak logs to bank',
    'Cheats',
    { key: 'L', ctrlKey: false, altKey: false },
    () => window.addItemToBank(CONSTANTS.item.Oak_Logs, 100)
  );

Note that category is currently unused but planned for implementation as tabs in the future. If your mod has multiple keybindings it might be best to choose your own category now.

It's also important to note that all keys are in uppercase (e.g., BACKSPACE or ENTER).

About

Mod for Melvor Idle that adds keybindings and remapping functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published