Cost Calculator for ECO

Released (updated ago). Ranked 19 of 144 with 177 (2 today) downloads

Published by ceme (mod ID: 868598)


Making sure you set the price of your products is an important part of turning a profit. Often this means using a community made spreadsheet that ends up useless on modified servers as now you would need to edit all the recipes to make it work. Modded items may even need to be added laboriously by hand. Or maybe you have a complex chain of production and manually working that out ends up way too tedious and even spreadsheets can easily meet their limits.

How about instead you could use something more streamlined and easier to understand? Well, this mod may be the solution to that problem!

This is a webpage mod that adds a new section to your Eco server: the Cost Calculator. The cost calculator page provides a node based interface for you to design your particular production flow for cost and ingredients calculations.

The Cost Calculator supports the following main features:

  • Items, tables and recipes get pulled directly from the server. No need for custom entries to use modded items or modified recipes.

  • Multiple currency support. No global currency that everyone uses? No problem! Set values to the currency it actually is instead of having to convert.

  • Fuel costs are taken into account. Crafting a bunch of stuff in the kiln but don’t know how much wood you need to burn? Not here, set your fuel and it gets added to the bill of materials.

  • Bill Of Materials. A node that gives you all the ingredients you will need to craft something, spanning as many crafts as you like.

  • Saving. This is an obvious feature, but logging into the server webpage from Eco allows you to save your graph to the server under your character.

  • Import and Export graphs. The server keeps your graph in its own storage, but you can also export your setup and save it to your own computer. That way you can easily transfer your graph to a new server or share it with your friends!

Additional considerations:

This mod overrides the sidebar html file with its own internal copy with the Cost Calculator option included. This means that if you plan to modify the sidebar to add your own things, this will not work. This also goes with the Cost Calculator page itself and any other webpage files it overrides. This may change in the future, but currently there isn’t a plan to change this.

As this mod pulls all item, recipe and table information from the server and uses the localized names, however the interface itself does not have localizations itself.


To install, simply place the included .dll file anywhere into your Mods directory.

Bug reporting:

If you don't mind using github, then please report bugs here.
Otherwise, you can mention "cemeceme" on the Eco discord, and I'll see what I can do.

Please include any stack traces or errors that get printed into your browsers console.

Development will most likely be slow however.


Like the mod and want to show your support? Consider buying me a coffee.





Join the community or sign in with your gaming account to join the conversation:

Dontruidin @dontruidin

how do i unistall the mod?

ceme @ceme

Just delete the mod dll again. This mod doesn't create or modify any additional files.

Hex1618354965 @hex1618354965

Hey just curious is there a reason why Norton Virus is flagging this mod as a threat? I understand it's modding some .dll file and adding it to my dedicated server but I have done that with at least 20 of them now and none of them have been flagged for a threat besides this one. Can you inform me to what extend and the reason why this one specifically is being flagged? I am really interested in using iit.

ceme @ceme

There shouldn’t be a threat from it. My guess is that because the mod is binding to Ecos web server, Norton might think that could be a threat. That and since the mod is rather new, Norton is not yet familiar with the file, so it might flag it as suspicious until more people use it (if I remember how Norton used to deal with these things correctly. It’s been a while since I used any antivirus.).

All the mod actually does is provide a new endpoint to get the item/recipe/table data and adds the new web page resources to the web server. So ironically, the server itself does less than with my other mod.

Hex1618354965 @hex1618354965

Hey thank you for the response I am going to definitely give it a try I just wanted to possibly bring that up so you may know if there was anything you could do on your end so it will help others.

Dave247 @dave247

I really like this but I do worry that it may be too complex for some people to use, let alone understand as it's almost crossing into basic programming territory. Though anyone who knows how to use the law system in game shouldn't have any problems with it.

ceme @ceme

That is true. However, this is the way I managed to come up with that simplifies thing as much as possible without leaving out functionality. My hope is that the export/import feature gets used by those who can deal with the complexity and share it to those that just want something that works.

I find that this is mostly also the case with spreadsheets as well, so this is more of an alternative tool instead of a direct replacement. And correct me if I’m wrong (After all I am a programmer so there would be bias), simple single crafts should be easy enough for most people to understand.

GinjuGG @ginju1

Maybe you should open a discord and build a community around it :) A Discord where you can post those import strings and people getting help. I hardly agree with Dave: If you don't have any programming knowledge you will have a hard time :D