Free market + infinite storage [PRE-BETA]


Works with any chest. Customizable, plain. More fair market with players than "Black Market". Use cases: Multiplayer trading; infinite storage; cross-surface transportation; AI trading using extensions. Code-name: iFreeMarket Has much better performance than previous version and "Memory Storage" mod and works with any mod. Anyone can translate the mod on Crowdin. https://crowdin.com/project/factorio-mods-localization Less cheaty version: https://mods.factorio.com/mod/free-market

an hour ago
1.1
440

Changelog


Version: 0.35.9
Date: 2022-01-22
  Bugfixes:
    - Fixed embargo gui
Version: 0.35.8
Date: 2022-01-19
  Bugfixes:
    - Improved stability with gui
Version: 0.35.7
Date: 2022-01-16
  Bugfixes:
    - Fixed crush when none of forces was selected in a search of prices
Version: 0.35.6
Date: 2022-01-16
  Locale:
    - Added Norwegian translation (thanks to @Eerrikki (Robin Braathen) on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 0.35.5
Date: 2022-01-15
  Bugfixes:
    - Fixed changing of chest settings (no crush anymore)
Version: 0.35.4
Date: 2022-01-15
  Changes:
    - Added additional measures to remove invalid data
Version: 0.35.3
Date: 2022-01-14
  Changes:
    - Fixed migration of data from <0.33.0
Version: 0.35.2
Date: 2022-01-14
  Changes:
    - Changed the way of removing data
Version: 0.35.1
Date: 2022-01-14
  Locale:
    - Changed English locale
Version: 0.35.0
Date: 2022-01-14
  Features:
    - Added "Clear invalid data" button for admins
    - Added pull cost for 1 item in map settings (0 by default)
  Scripting:
    - Added clear_invalid_data as a global function
    - Refactored slightly
Version: 0.34.14
Date: 2022-01-14
  Bugfixes:
    - Made check of invalid data safer (bug from 0.34.13)
Version: 0.34.13
Date: 2022-01-14
  Changes:
    - Added excessive measures to remove invalid data
Version: 0.34.12
Date: 2022-01-14
  Bugfixes:
    - Improved stability of data in some cases
Version: 0.34.11
Date: 2022-01-13
  Bugfixes:
    - Improved stability of data in some cases (probably)
Version: 0.34.10
Date: 2022-01-13
  Bugfixes:
    - Fixed localization of bin
Version: 0.34.9
Date: 2022-01-11
  Scripting:
    - Extended remote interface
Version: 0.34.8
Date: 2022-01-11
  Bugfixes:
    - Fast fix for storage in team gui
Version: 0.34.7
Date: 2022-01-11
  Changes:
    - Changed reset buttons
    - Reset buttons are visible for teams with 1 player
  Scripting:
    - Reset functions are public now
  Bugfixes:
    - Reset buttons are more stable now
Version: 0.34.6
Date: 2022-01-11
  Changes:
    - Refactored slightly
Version: 0.34.5
Date: 2022-01-11
  Changes:
    - Refactored code
Version: 0.34.4
Date: 2022-01-11
  Bugfixes:
    - Improved stability chest types with gui
Version: 0.34.3
Date: 2022-01-11
  Bugfixes:
    - When a player isntalled a filled buying chest using gui, it checks buy price in gui
Version: 0.34.2
Date: 2022-01-11
  Bugfixes:
    - Fixed statistic and position of some entities in test zone
Version: 0.34.1
Date: 2022-01-11
  Bugfixes:
    - Fixed statistic in test zone
Version: 0.34.0
Date: 2022-01-11
  Features:
    - Added bins (they ignore storage limits)
  Changes:
    - Added modififed icons using https://www.svgrepo.com/svg/89258/rubbish-bin
    - Updated test zone
  Bugfixes:
    - Safer limits
    - Fixed installation of buying chest using gui
  Scripting:
    - Improved stability of remote interface
    - Refactored
Version: 0.33.6
Date: 2022-01-10
  Changes:
    - Improved sell price system (checks storage now)
  Bugfixes:
    - Fixed fast-switching in price gui
Version: 0.33.5
Date: 2022-01-10
  Bugfixes:
    - Fixed data on merging forces
Version: 0.33.4
Date: 2022-01-10
  Changes:
    - Changed icons
Version: 0.33.3
Date: 2022-01-09
  Changes:
    - Changed icons of shortcuts
Version: 0.33.2
Date: 2022-01-09
  Bugfixes:
    - Fixed crush of migration in some cases (bug from 0.33.0)
Version: 0.33.1
Date: 2022-01-09
  Changes:
    - Universal transfer chest accepts several items at once now
Version: 0.33.0
Date: 2022-01-09
  Features:
    - Added universal transfer chest type (accepts any item)
  Changes:
    - Improved localization of storage
    - Changed buttons for chests
    - Changed price notifier gui
    - Removed auto-hiding of price notifier
    - Changed style
    - Addde modififed icons using https://www.svgrepo.com/svg/11042/shopping-cart-with-down-arrow-e-commerce-symbol
  Bugfixes:
    - Fixed shortcut of buy boxes
  Scripting:
    - Refactored
Version: 0.32.7
Date: 2022-01-09
  Locale:
    - Added Czech translation (thanks to @eifel (Eifel87) on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 0.32.6
Date: 2022-01-08
  Features:
    - Added auto-limit 1 on items with stack size 5 and less in storage for new teams
Version: 0.32.5
Date: 2022-01-08
  Features:
    - Added auto-limit 1 on items with stack size 5 and less in storage for old teams
Version: 0.32.4
Date: 2022-01-08
  Features:
    - Players can open item price gui by clicking on an item icon in storage
Version: 0.32.3
Date: 2022-01-06
  Bugfixes:
    - Better check of nonexistent items
Version: 0.32.2
Date: 2022-01-04
  Scripting:
    - Extended "free-market" interface + safer
Version: 0.32.1
Date: 2022-01-02
  Locale:
    - Fixed Russian locale
Version: 0.32.0
Date: 2021-12-28
  Features:
    - Added "Default storage limit" setting in team configuration
  Changes:
    - Default value of "Max storage threshold" setting is 1000 now
    - Refactored slightly
  Bugfixes:
    - Improved stability of on_player_changed_surface event for other mods
Version: 0.31.2
Date: 2021-12-27
  Bugfixes:
    - Improved stability of on_player_changed_force event for other mods
    - Shows item info in HUD without checking previous entity
Version: 0.31.1
Date: 2021-12-26
  Features:
    - Added support of AI trading for https://mods.factorio.com/mod/AITrade (doesn't support buying yet)
Version: 0.31.0
Date: 2021-12-25
  Features:
    - Changed item HUD (more info, works on chests now)
Version: 0.30.1
Date: 2021-12-25
  Bugfixes:
    - Fixed localization of storage in prices gui
Version: 0.30.0
Date: 2021-12-25
  Features:
    - Added limit on items in storage (change it via prices)
  Changes:
    - Improved slightly stability of some player events
    - Refactored slightly
Version: 0.29.4
Date: 2021-12-24
  Changes:
    - Refactored slightly (slightly better performance on some player events)
Version: 0.29.3
Date: 2021-12-24
  Changes:
    - Refactored slightly (slightly better performance on some player events)
Version: 0.29.2
Date: 2021-12-22
  Changes:
    - This mod uses modified handler now (better performance than before)
Version: 0.29.1
Date: 2021-12-20
  Bugfixes:
    - Fixed crush on on_forces_merging event
Version: 0.29.0
Date: 2021-12-19
  Features:
    - Changed handlers of price notification to avoid some inconvenient stuff for players
  Notes:
    - Refacored slightly
Version: 0.28.0
Date: 2021-12-18
  Features:
    - Added item price HUD (players can turn it off)
  Notes:
    - Refacored slightly
Version: 0.27.5
Date: 2021-12-16
  Bugfixes:
    - Fixed interactions with price gui in some cases
Version: 0.27.4
Date: 2021-12-15
  Changes:
    - Changed style of price gui for chests
Version: 0.27.3
Date: 2021-12-15
  Changes:
    - Changed gui when a player created a buy/sell chest
    - Changed Russian locale (Вроде, "Закупочная цена" больше подходит, чем "Цена покупки" при настраивание цен)
  Bugfixes:
    - Fixed on_gui_click event
  Notes:
    - Refactored some code
Version: 0.27.2
Date: 2021-12-15
  Changes:
    - Notifies about prices when player built first sell/buy chest
Version: 0.27.1
Date: 2021-12-15
  Changes:
    - Changed style of prices in the price notification gui
  Bugfixes:
    - Fixed place of price notification handler with custom player settings
Version: 0.27.0
Date: 2021-12-14
  Changes:
    - Added support of multi-interactions with price notification
    - Changed price notification gui
Version: 0.26.3
Date: 2021-12-14
  Features:
    - Players can copy prices by clicking with shift button on price notification
    - Players can copy prices into another price by clicking with control button on price notification
    - Players can open prices by clicking with alt button on price notification
  Changes:
    - Made changing of chests more visible
Version: 0.26.2
Date: 2021-12-13
  Changes:
    - Changed en locale slightly
  Bugfixes:
    - Fixed minimum and maximum values of settings
Version: 0.26.1
Date: 2021-12-13
  Features:
    - Added customizable column count for price notification (see player settings)
  Changes:
    - Improved stability of data
    - Improved price notification
  Bugfixes:
    - Made a dirty workaround for player settings
  Notes:
    - Refactored slightly
Version: 0.26.0
Date: 2021-12-13
  Features:
    - Added price notification with settings
  Bugfixes:
    - Fixed bug with auto-settings of chest when the player already opened the settings for the chest
    - Fixed localization of settings
    - Fixed data of forces
Version: 0.25.1
Date: 2021-12-13
  Bugfixes:
    - Fixed crush and data on merging forces
Version: 0.25.0
Date: 2021-12-12
  Features:
    - Players can see an item for market by hovering a chest
Version: 0.24.8
Date: 2021-12-12
  Changes:
    - Changed credits list
Version: 0.24.7
Date: 2021-12-12
  Changes:
    - Added Chinese Simplified translation (thanks to @zszzlzm (刘泽民) on crowdin)
  Notes:
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
  Bugfixes:
    - Fixed selling of items when a team doesn't have sell boxes
Version: 0.24.6
Date: 2021-12-11
  Features:
    - Added auto-limit of stacks on sell chests and on pull chests
  Changes:
    - Changed default max storage threshold to 500
Version: 0.24.5
Date: 2021-12-11
  Features:
    - Added a setting for max storage threshold
Version: 0.24.4
Date: 2021-12-10
  Bugfixes:
    - Fixed representation of box data when a player opened a chest
Version: 0.24.3
Date: 2021-12-09
  Bugfixes:
    - Fixed missing prices
Version: 0.24.2
Date: 2021-12-09
  Bugfixes:
    - Fixed on on_player_selected_area event
    - Fixed team configuration gui
Version: 0.24.1
Date: 2021-12-09
  Changes:
    - Changed credits
Version: 0.24.0
Date: 2021-12-09
  Features:
    - Added new tools for mass-selection and mass-removing and shortucts
  Changes:
    - Added a link to team configuration gui
Version: 0.23.3
Date: 2021-12-09
  Changes:
    - Changed team configuration gui and added credits
Version: 0.23.2
Date: 2021-12-09
  Changes:
    - Changed and improved print_force_data(target, getter)
    - Improved team configuration for admins
  Bugfixes:
    - Fixed missing science packs when a player selecting an item
Version: 0.23.1
Date: 2021-12-08
  Features:
    - If another team doesn't have anything to sell, then other teams won't see its prices
    - Added global function "print_force_data" which supports LuaForce and LuaPlayer
  Changes:
    - Changed structures of data for prices and boxes
    - Optimized again
    - Changed "free-market" interface
    - Removed "free-market_rcon" interface, so use:
    -   /sc __iFreeMarket__ getRconData("name of data")
    -   /sc __iFreeMarket__ getRconForceData("name of data", LuaForce)
    -   /sc __iFreeMarket__ getRconForceDataByIndex("name of data", force index)
Version: 0.22.1
Date: 2021-12-07
  Changes:
    - The mod don't store gui of configuration anymore
Version: 0.22.0
Date: 2021-12-07
  Features:
    - Added team configuration with resetting of data
  Changes:
    - Improved info icon
    - Changed localization
Version: 0.21.0
Date: 2021-12-07
  Changes:
    - Changed box gui
    - Refactored slightly
  Bugfixes:
    - Fixed deletion of pull boxes
Version: 0.20.3
Date: 2021-12-04
  Features:
    - Added remote interface: "free-market_rcon" for rcon
  Changes:
    - Added functions in remote interfaces to get specific mod data (not done yet though)
Version: 0.20.2
Date: 2021-11-17
  Changes:
    - Added Polish translation (thanks to @Felix_Manning (Felix Manning) on crowdin)
  Notes:
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 0.20.1
Date: 2021-11-03
  Bugfixes:
    - Fixed typos
    - Fixed data of mod items for storage and pull boxes
  Changes:
    - Refactored slightly
Version: 0.20.0
Date: 2021-11-03
  Features:
    - Added pull chest
    - New system of storing (global store)
  Changes:
    - Optimized greatly
    - Changed the test scenario
    - Refactored
  Notes:
    - Less cheaty version: https://mods.factorio.com/mod/free-market
Version: 0.16.7
Date: 2021-11-02
  Features:
    - Changed description and dependencies
Version: 0.16.6
Date: 2021-11-01
  Features:
    - Expanded the mod remote interface
    - Added a scenario for testing
Version: 0.16.5
Date: 2021-11-01
  Bugfixes:
    - Doesn't show some unnecessary items when a player setting a buy request or a sell offer
Version: 0.16.4
Date: 2021-11-01
  Changes:
    - Refactored slightly
Version: 0.16.3
Date: 2021-10-31
  Changes:
    - Optimized slightly
    - Refactored slightly
Version: 0.16.2
Date: 2021-10-24
  Changes:
    - Added Czech translation (thanks to @eifel (Eifel87) on crowdin)
  Notes:
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 0.16.1
Date: 2021-10-23
  Changes:
    - Doesn't show some unnecessary items for trading (not fully works)
  Notes:
    - Important message for people who have 2 forces (teams) only: Both forces have to have 1 buy offer at least. Otherwise, this mod will ignore trading.
Version: 0.16.0
Date: 2021-10-21
  Features:
    - Players can see profits in the production tab (press "P" button)
Version: 0.15.7
Date: 2021-10-17
  Changes:
    - Added French translation (thanks to @Drilzxx_ (Kévin) on crowdin)
  Notes:
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 0.15.6
Date: 2021-10-16
  Bugfixes:
    - Fixed crash when a player set count as a blank in a buy request
Version: 0.15.5
Date: 2021-10-12
  Changes:
    - Slightly changed tick events
    - Optimized (mod removes unnecessary data every ~20 minutes)
Version: 0.15.4
Date: 2021-10-12
  Changes:
    - Slightly improved check of teams (works better on public servers)
  Notes:
    - Important message for people who have 2 forces (teams) only: Both forces have to have 1 buy offer at least. Otherwise, this mod will ignore trading.
Version: 0.15.3
Date: 2021-10-11
  Bugfixes:
    - Fixed crush
Version: 0.15.2
Date: 2021-10-10
  Features:
    - Added chance of ignoring of offline teams (admins can change it the map settings)
    - Changed check of teams slightly
Version: 0.15.1
Date: 2021-10-09
  Changes:
    - Refactored code of price list
Version: 0.15.0
Date: 2021-10-09
  Features:
    - Added search in price list
  Changes:
    - Changed style of table in the price list (I'll do it again)
    - Refactored some code
Version: 0.14.6
Date: 2021-10-09
  Changes:
    - Optimized slightly
    - Refactored slightly
Version: 0.14.5
Date: 2021-10-09
  Changes:
    - Refactored slightly
Version: 0.14.4
Date: 2021-10-09
  Changes:
    - Refactored slightly
  Notes:
    - Something is off (check with v0.14.2)
Version: 0.14.3
Date: 2021-10-09
  Changes:
    - Optimized slightly
    - Refactored slightly
Version: 0.14.2
Date: 2021-10-08
  Changes:
    - Optimized slightly
    - Refactored slightly
Version: 0.14.1
Date: 2021-10-08
  Changes:
    - Optimized slightly
Version: 0.14.0
Date: 2021-10-06
  Changes:
    - Optimized some events
    - Refactored
  Notes:
    - [WARNING] this version doesn't migrate old data, please use older version <0.14.0 if your save had been the mod already
Version: 0.13.0
Date: 2021-10-05
  Changes:
    - Optimized deletion of entities
    - Refactored slightly
  Notes:
    - [WARNING] this version doesn't migrate old data, please use older version <0.13.0 if your save had been the mod already
Version: 0.12.5
Date: 2021-10-03
  Changes:
    - Optimized on_gui_click event slightly
    - Added German translation (thanks to @Spielen01231 (TheFakescribtx2) on crowdin)
  Notes:
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 0.12.4
Date: 2021-09-28
  Changes:
    - Refactored slightly
Version: 0.12.3
Date: 2021-09-27
  Features:
    - Simplified interations by hotkeys
Version: 0.12.2
Date: 2021-09-26
  Bugfixes:
    - Fixed check of buy boxes (bug from v0.12.0)
Version: 0.12.1
Date: 2021-09-26
  Changes:
    - Refactored slightly
Version: 0.12.0
Date: 2021-09-26
  Features:
    - Simplified interations
    - Players can see all prices of selected item in the price list by click
  Notes:
    - Refactored some code
Version: 0.11.1
Date: 2021-09-24
  Bugfixes:
    - Fixed check of prototypes (bug from v0.11.0)
    - Fixed Russian localization (bug from v0.11.0)
Version: 0.11.0
Date: 2021-09-24
  Features:
    - Added 4th button to show hints
Version: 0.10.7
Date: 2021-09-23
  Bugfixes:
    - Fixed check of invalid entities on some events
Version: 0.10.6
Date: 2021-09-22
  Bugfixes:
    - Fixed crush during merging of forces
Version: 0.10.5
Date: 2021-09-14
  Bugfixes:
    - Fixed GUI for singleplayer
Version: 0.10.4
Date: 2021-09-12
  Bugfixes:
    - Fixed Russian translation
Version: 0.10.3
Date: 2021-09-10
  Bugfixes:
    - Improved interactions with not operable chests
Version: 0.10.2
Date: 2021-09-09
  Bugfixes:
    - Fixed init
Version: 0.10.1
Date: 2021-09-08
  Bugfixes:
    - Fixed desync
Version: 0.10.0
Date: 2021-09-08
  Features:
    - Added new UI
  Notes:
    - see-prices.png from https://www.svgrepo.com/svg/77065/price-tag
    - change-price.png from https://www.svgrepo.com/svg/96982/price-tag
    - embargo.png is modified version of https://www.svgrepo.com/svg/97012/price-tag
Version: 0.9.5
Date: 2021-09-07
  Changes:
    - Improved stability
Version: 0.9.4
Date: 2021-09-06
  Changes:
    - Improved algorithm (doesn't waste time on inactive forces anymore)
Version: 0.9.3
Date: 2021-09-05
  Features:
    - Added /embargo command
  Changes:
    - Changed gui of prices
Version: 0.9.2
Date: 2021-09-04
  Bugfixes:
    - Fixed description of commands
Version: 0.9.1
Date: 2021-09-04
  Changes:
    - Changed GUI style for tables
Version: 0.9.0
Date: 2021-09-04
  Bugfixes:
    - Fixed data for embargo and missing items
Version: 0.8.4
Date: 2021-09-03
  Changes:
    - Slight changes
Version: 0.8.3
Date: 2021-09-03
  Changes:
    - Changed purchase algorithm (check only 1 team each Nth tick)
    - Changed price list
  Bugfixes:
    - Fixed buying of expensive items
Version: 0.8.1
Date: 2021-09-03
  Features:
    - Added /price-list command to show all prices of selected team
Version: 0.8.0
Date: 2021-09-03
  Features:
    - Added support of logistic containers
Version: 0.8.0
Date: 2021-09-03
  Features:
    - Added support of logistic containers
    - Added hotkeys to set sell offers and set buy requests fast
  Changes:
    - Changed text style
Version: 0.7.8
Date: 2021-09-02
  Bugfixes:
    - Fixed crush during trading
Version: 0.7.7
Date: 2021-09-02
  Bugfixes:
    - Fixed trading
Version: 0.7.6
Date: 2021-09-02
  Changes:
    - Changed visibility of forces
Version: 0.7.5
Date: 2021-09-02
  Bugfixes:
    - Fixed settings of embargoes
Version: 0.7.4
Date: 2021-09-02
  Bugfixes:
    - Fixed crush during buying
Version: 0.7.3
Date: 2021-09-02
  Bugfixes:
    - Fixed access to some data
Version: 0.7.2
Date: 2021-09-01
  Bugfixes:
    - Fixed GUI of prices
Version: 0.7.1
Date: 2021-08-31
  Bugfixes:
    - Fixed data during on_surface_deleted, on_surface_cleared, on_chunk_deleted events
Version: 0.7.0
Date: 2021-08-31
  Changes:
    - Changed buttons
Version: 0.6.2
Date: 2021-08-31
  Changes:
    - Add money UI
Version: 0.6.1
Date: 2021-08-30
  Bugfixes:
    - Fixed data and HUD during merging of forces
Version: 0.6.0
Date: 2021-08-29
  Notes:
    - First public release for 1.1