Scripting and Extensions: Difference between revisions

From Melvor Idle
(→‎List of Scripts and Extensions: Update versions of various scripts)
 
(83 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{V|0.21}}
<!--No version number since version is per tool/script
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 [https://discord.gg/KNakXTh Melvor Idle Discord].
--><div class="warningbox">While mod developers take every precaution to ensure their mods are stable, it is possible that mods could contain bugs which in the worst case may corrupt your saves. Therefore, it is highly recommended to '''BACKUP YOUR SAVES''' before using any mods, and to take backups on a regular schedule thereafter.</div>


'''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.
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 [https://discord.gg/MelvorIdle Melvor Idle Discord].


It is highly recommended to '''BACKUP YOUR SAVE''' before running any scripts or extensions.
From [[V1.1]] onwards, all mods available for the game can be browsed either on [https://mod.io/g/melvoridle mod.io] or through the in-game mod manager. Mods may then also be subscribed to via the in-game mod manager. The mod manager must first be enabled within the in-game settings, after which the mod manager will be accessible from the side bar.


'''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.
For spreadsheet based calculators instead, see [[Spreadsheets and Theorycrafting]].


== List of Independent Tools ==
== List of Independent Tools ==
Line 18: Line 18:
! Aspects
! Aspects
|-
|-
| [https://mict.spectralcoding.com/ Melvor Idle Completionist Tool]
| [https://melvor-calc.kpwn243.com/ Melvor Calculators]
| Accepts a user's save data export and displays the remaining items, pets, and monsters needed to complete the game.
| Contains various calculators for the game, currently a combat level calculator is available with more planned in the future.
| [https://discordapp.com/users/178688021456093185 Dandelock#6912]
| [https://discordapp.com/users/145335611631337472 kpwn243]
{{VColor|0.22.1}}
{{VColor|1.0.5}}
| Multi
| Multi
|-
|-
| [https://lwagf.github.io/melvoredit/ MelvorEdit]
| Import, modify, and export Save Data Exports
| lwagf
{{VColor|0.22}}
| Multi
|-
| [https://silberdrachi.github.io/CanIIdle/ Can I Idle Melvor?]
| Determines whether dungeons, Slayer tiers, or any monsters can be safely idled.
| [https://discordapp.com/users/818221327826812950 Silber#6947]
{{VColor|0.22}}
| [[Combat]]
|}
|}


== List of Scripts and Extensions ==
=== In-Game Functions ===
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.
{{Main|Reference=In-game Functions}}
{| class="wikitable sortable stickyHeader"
|- class="headerRow-0"
! Name
! Description
! Author
! Version
! Aspects
|-
| [https://github.com/visua0/Melvor-Idle-Combat-Simulator-Reloaded Combat Simulator Reloaded]
| An updated fork of the original Combat Simulator
| [https://discordapp.com/users/798542155999608873 Visua#9999]<br/>[https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| [[Combat]]
|-
| [https://gitlab.com/aldousWatts/SEMI Scripting Engine for Melvor Idle] (SEMI)
| Adds automation and functionality to Melvor Idle, combining several userscripts into one
| [https://discordapp.com/users/243146939611217931 Aldous Watts#2494]<br/>[https://discordapp.com/users/181210019163930624 TheAlpacalypse#8105]
{{VColor|0.22}}
| Multi
|-
| [https://greasyfork.org/en/scripts/412689-melvor-action-queue Melvor Action Queue]
| Allows you to queue up actions ahead of time and automatically spend mastery pool. Works with Tampermonkey but not Greasemonkey.
| [https://discordapp.com/users/266517729131888640 8992#7954]
{{VColor|0.22}}
| Multi
|-
| [https://greasyfork.org/en/scripts/425457-melvor-dungeontimer Melvor DungeonTimer]
| Displays different statistics relating to dungeon completion (Completion count, previous time, best time, average time)
| [https://discordapp.com/users/763882009641746452 Chrono#1840]
{{VColor|0.21}}
| [[Combat]]
|-
| [https://greasyfork.org/scripts/430727 Melvor Additive Skilling Anti-Lag]
| Dynamically adjusts game speed to compensate for lag. Forked from the original [https://greasyfork.org/en/scripts/421556-melvor-anti-lag Melvor Anti-Lag] by [https://discordapp.com/users/266517729131888640 8992#7954]
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.21}}
| QOL
|-
| [https://greasyfork.org/scripts/428138 Melvor Virtual Levels]
| Shows progress to the next virtual level, and some related changes
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| QOL
|-
| [https://greasyfork.org/en/scripts/419699-melvor-auto-farming Melvor Auto Farming]
| Automatically plants your seeds, prioritizes highest level tree seed and equal allotment and herb produce.
Comment seeds you don't want to plant and equipment you don't want to use.
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| [[Farming]]
|-
| [https://greasyfork.org/en/scripts/405082-melvor-completion-log-helper Melvor Completion Log Helper]
| Shows greyed out images of items/monsters that you have yet to get/kill in the completion log and adds links to the wiki.
| [https://discordapp.com/users/190161169321951232 Breindahl#2660]<br/>[https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| UI/QOL
|-
| [https://greasyfork.org/en/scripts/415592-melvor-eta Melvor ETA]
| Shows Estimated Time till 100%, lvl 99... Requires Combat Simulator for GUI Settings.
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| UI/QOL
|-
| [https://greasyfork.org/en/scripts/430344 Melvor Obstacle Filter]
| Agility course planner that allows you to filter agility obstacles based on skill of interest.
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| [[Agility]]
|-
| [https://greasyfork.org/en/scripts/411909-melvor-idle-timestamped-saves Melvor Idle Timestamped Saves]
| Adds character name and a timestamp to the default filename when downloading a save.
| [https://discordapp.com/users/798542155999608873 Visua#9999]
{{VColor|0.22}}
| UI/QOL
|-
| [https://greasyfork.org/en/scripts/425582-melvor-swap-rc Melvor Swap RC]
| Automatically changes Runecrafting runes.
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.21}}
| UI/QOL
|-
| [https://greasyfork.org/en/scripts/423057-melvor-make-xi Melvor Make-XI]
| Adds button to Make X amount of actions of a skill and then stop. Forked from the original Melvor MakeX by [https://discordapp.com/users/190161169321951232 Breindahl#2660]
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| UI/QOL
|-
| [https://greasyfork.org/en/scripts/423121-melvor-show-modifiers Melvor Show Modifiers]
| Adds a button to show all your currently active modifiers.
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| UI/QOL
|-
| [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)
| Manipulates the game in a variety of ways. Best used as a save recovery tool or to facilitate testing.
| [https://discordapp.com/users/243146939611217931 Aldous Watts#2494]
{{VColor|0.21}}
| Multi
|-
| [https://greasyfork.org/en/scripts/426675-bad-lemon Bad Lemon]
| Bad Apple goes Melvor. This Fan Content is a fan work based on Touhou Project
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| UI/QOL
|-
| [https://greasyfork.org/en/scripts/423027-lemvor/ Lemvor]
| lemon
| [https://discordapp.com/users/369499615357304853 TinyCoyote#1769]
{{VColor|0.22}}
| UI/QOL
|-
| [https://greasyfork.org/en/scripts/423552-melvor-golbin-raider Melvor Golbin Raider]
| Makes item selections for you in Golbin Raid, does not use Auto-Eat.
| [https://discordapp.com/users/86953616094543872 NotCorgan#1234]
{{VColor|0.20}}
| [[Golbin Raid]]
|-
| [https://greasyfork.org/en/scripts/419960-melvor-offline-cap-remover Melvor Offline Cap Remover]
| Removes the 12hr offline cap
| [https://discordapp.com/users/266517729131888640 8992#7954]
{{VColor|0.20}}
| QOL
|-
| [https://greasyfork.org/en/scripts/422123-melvor-idle-item-dashboard-miid Melvor Idle Item Dashboard (MIID)]
| Big dashboard to track average items, gold value, kills and resources over time.
| [https://discordapp.com/users/316212552457781250 Gardens#3738]
{{VColor|0.19.0}}
| 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/394854-melvor-auto-loot Melvor Auto Loot]
| Automatically loot [[Enemies|enemy]] drops
| [https://discordapp.com/users/615898740607156234 NotArcanus#3825]
{{VColor|0.15.2}}
| Auto-Loot
|-
| [https://greasyfork.org/en/scripts/394855-melvor-auto-replant Melvor Auto Replant]
| Automatically replants the same seed for [[Farming]]
| [https://discordapp.com/users/615898740607156234 NotArcanus#3825]
{{VColor|0.15.2}}
| [[Farming]]
|-
| [https://greasyfork.org/en/scripts/400027-melvor-idle-autosell-fishing-junk/code Melvor Idle AutoSell Fishing Junk]
| Automatically sells [[Fishing#Junk|junk]] caught while [[Fishing|fishing]]
| [https://discordapp.com/users/243146939611217931 Aldous Watts#2494]
{{VColor|0.15.2}}
| Auto-Sell
|-
| [https://pastebin.com/KjJnLt7f Auto planter by priorities]
| Automatically tries to plant the highest tier seeds avaible
| Dejv#3141
{{VColor|0.15.1}}
| [[Farming]]
|-
| [https://github.com/Katorone/AutoMelvorIdle AutoMelvorIdle]
| Several automatic functionalities
| [https://discordapp.com/users/459758357692153866 Katorone#2957]
{{VColor|0.12.2}}
| 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]
| Adds [[Smithing]] HUD and XP calculator
| [https://discordapp.com/users/170536827286061056 Bioniclegenius#3272]
{{VColor|0.11.2}}
| [[Smithing]]
|-
| [https://pastebin.com/wq641Nhx XPH]
| Monitors XP/HR stats experimentally
| Breakit
{{VColor|0.11.2}}
| UI/QOL
|}
 
=== In-game functions ===
{{main|Reference=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.
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 [https://addons.mozilla.org/en-US/firefox/extensions/ Firefox Extension Store].
For Chrome, many extensions needs to be added as an [https://developer.chrome.com/extensions/getstarted 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 [https://www.greasespot.net/ Greasemonkey] or [https://www.tampermonkey.net/ Tampermonkey].
If the source of your userscript is a userscript repository, such as [https://greasyfork.org/ Greasyfork], simply Install by clicking the button on the page.
If the userscript is shared through a plain text sharing site, such as [https://pastebin.com/ 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.


{{Menu}}
{{Menu}}
[[Category:Guides]]
[[Category:Guides]]

Latest revision as of 12:57, 26 July 2024

While mod developers take every precaution to ensure their mods are stable, it is possible that mods could contain bugs which in the worst case may corrupt your saves. Therefore, it is highly recommended to BACKUP YOUR SAVES before using any mods, and to take backups on a regular schedule thereafter.

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.

From V1.1 onwards, all mods available for the game can be browsed either on mod.io or through the in-game mod manager. Mods may then also be subscribed to via the in-game mod manager. The mod manager must first be enabled within the in-game settings, after which the mod manager will be accessible from the side bar.

For spreadsheet based calculators instead, see Spreadsheets and Theorycrafting.

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.

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.