Scripting and Extensions: Difference between revisions

From Melvor Idle
(Remove entries for scripts removed from Greasy Fork)
(removed many deprecated scripts)
Line 173: Line 173:
{{VColor|0.22}}
{{VColor|0.22}}
| [[Combat]]
| [[Combat]]
|-
| [https://greasyfork.org/en/scripts/428066-melvor-mine-highest Melvor Mine Highest]
| Automatically mines the highest available rock at all times.
| [https://discordapp.com/users/611895892844216353 kieranw#5073]
{{VColor|0.21}}
| [[Mining]]
|-
|-
| [https://gitlab.com/aldousWatts/MICE/-/blob/main/README.md Melvor Idle Cheat Engine] (MICE)
| [https://gitlab.com/aldousWatts/MICE/-/blob/main/README.md Melvor Idle Cheat Engine] (MICE)
Line 197: Line 191:
{{VColor|0.19.0}}
{{VColor|0.19.0}}
| UI/QOL
| UI/QOL
|-
| [https://greasyfork.org/en/scripts/404416-melvor-auto-farming-mastery Melvor Auto Farming Mastery]
| Automatically plants your lowest mastery seeds.
| [https://discordapp.com/users/310577881803784202 JHawk55#8345]
{{VColor|0.17.0}}
| [[Farming]]
|-
| [https://greasyfork.org/en/scripts/404853-melvor-slayer-task-notification Melvor Slayer Task Notification]
| Gives you notification on [[Slayer#Slayer Tasks|slayer task]] completion.
| [https://discordapp.com/users/190161169321951232 Breindahl#2660]
{{VColor|0.17.0}}
|-
|-
| [https://greasyfork.org/en/scripts/394855-melvor-auto-replant Melvor Auto Replant]
| [https://greasyfork.org/en/scripts/394855-melvor-auto-replant Melvor Auto Replant]
Line 226: Line 209:
{{VColor|0.15.1}}
{{VColor|0.15.1}}
| [[Farming]]
| [[Farming]]
|-
| [https://github.com/Katorone/AutoMelvorIdle AutoMelvorIdle]
| Several automatic functionalities
| [https://discordapp.com/users/459758357692153866 Katorone#2957]
{{VColor|0.12.2}}
| Multi
| Multi
|-
| [https://discordapp.com/channels/625838709203271680/664637399028072470/669475769671483392 Auto Bonfire]
| Automatically lights [[Firemaking#Bonfire|bonfires]] for [[Firemaking]]
| [https://discordapp.com/users/190295254073606144 Dream#1511]
{{VColor|0.11.2}}
| [[Firemaking]]
|-
| [https://discordapp.com/channels/625838709203271680/664637399028072470/668666998992928779 Auto Mine Tracker]
| Mines highest ore available
| [https://discordapp.com/users/84980169600679936 Natsulus#0001]
{{VColor|0.11.2}}
| [[Mining]]
|-
| [https://discordapp.com/channels/625838709203271680/664637399028072470/667406487785570304 Balanced Bronze Mining]
| Switches between [[Tin Ore|tin]] and [[Copper Ore|copper]] to mine for [[Bronze Bar|bronze]]
| [https://discordapp.com/users/131154769942151168 nysos3#7071]
{{VColor|0.11.2}}
| [[Mining]]
|-
| [https://discordapp.com/channels/625838709203271680/664637399028072470/668936067331653642 Mine Priority List]
| Automatically [[Mining|mines]] based on input ore priority
| [https://discordapp.com/users/328305525710258176 Brqqq#2634]
{{VColor|0.11.2}}
| [[Mining]]
|-
|-
| [https://discordapp.com/channels/625838709203271680/664637399028072470/671113318135627808 Smithing HUD]
| [https://discordapp.com/channels/625838709203271680/664637399028072470/671113318135627808 Smithing HUD]

Revision as of 23:03, 15 November 2021

Many people have developed scripts and extensions that add QOL, automation, calculators and more. There is an active community of people trying to develop new scripts and extensions on the Melvor Idle Discord.

Disclaimer: It is possible that there are bugs in these scripts that could corrupt your game. Also note that many of these scripts and extensions were created for earlier versions of the game and could not be working in newer versions, or worst case scenario, corrupt your save.

It is highly recommended to BACKUP YOUR SAVE before running any scripts or extensions.

Disclaimer: Do not run code you can not understand or do not trust. Malicious code could be included in any of these scripts and extensions.

List of Independent Tools

These tools are used independently of the Melvor Idle app and website. Usually they are independent reference tools or interact with game data via the save data export.

List of Scripts and Extensions

These tools are used as part of the Melvor Idle app and website. Usually they are add ons that add menus, sections, or other functionality to the game interface.

In-game functions

- Main article: In-game Functions

It is possible to interact directly with the in-game functions of the game through the console. This can be used to add items, levels, GP and more.

How to Use?

Depending on the type of script or extension there are different ways needed to add them to the game. For Steam, see Scripting and Extensions Instructions.

Extensions

Extensions are independent add-ons that run in the browser. How to install varies from different browsers.

For Firefox, most extensions can be installed directly to the browser from the Firefox Extension Store.

For Chrome, many extensions needs to be added as an upacked extension while in Developer Mode.

Some extensions might require you to edit specific files or set specific variables before they can run. The page with the download link will usually have a more detailed explanation on how to install.

Remember to refresh the game for the extension to take effect.

Userscripts

Userscripts are programs that run by the help of userscript manager browser extensions such as Greasemonkey or Tampermonkey.

If the source of your userscript is a userscript repository, such as Greasyfork, simply Install by clicking the button on the page.

If the userscript is shared through a plain text sharing site, such as Pastebin, copy the code into a new userscript in your userscript manager browser extension.

Remember to refresh the game for the userscript to take effect.

Console scripts

The simplest form of scripts are javascript code that are pasted directly into the console of of your browser.

To access the console open Developer Tools (usually by pressing F12) in your browser and navigate to the console. Then, simply paste the code in the input field and press enter. Most console scripts will require you to fill out variables in the code before executing them.

Do note that unlike extensions and userscripts, console scripts will run without refreshing the game, but will in turn not be saved when the game is closed.