Diplomacy


Adds advanced diplomacy system, diplomatic requests, needful commands, auto-diplomacy, customizable protection from theft of electricity, custom balance settings, building prohibition radius near enemy and integration with chat mod, etc etc. Has compatibility with any PvP scenario. High performance with the system. >33 translations

Tweaks
2 months ago
0.16 - 2.0
2.96K
Enemies

Changelog

Version: 2.14.1
Date: 2024-10-22
  Bugfixes:
    - Should be safer
Version: 2.14.0
Date: 2024-10-21
  Locale:
    - Updated Ukrainian translation (thanks to @player_force on crowdin)
    - Updated Catalan translation (thanks to @badall and @diralik on crowdin)
    - Updated Hungarian translation (thanks to @Kipurcantix on crowdin)
    - Updated German translation (thanks to @jankaluza07 (Satherov) and @Tomhero200 and @Batrick on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.13.3
Date: 2022-12-11
  Locale:
    - Updated Ukrainian translation (thanks to @de_jure (Yuriy) on crowdin)
    - Updated Chinese Traditional translation (thanks to @hunterkm (ハンターKM) on crowdin)
    - Updated German translation (thanks to @Xman1109 and @PatrickBlack and @M.Colcko and @RainbowBier on crowdin)
    - Updated Spanish translation (thanks to @Magick93 (José Eduardo) on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.13.2
Date: 2022-03-13
  Bugfixes:
    - Improved stability with some gui events
    - Fixed interaction with checkboxes
    - Buttons create in existing saves where there wasn't the mod before
Version: 2.13.1
Date: 2022-03-13
  Bugfixes:
    - Fixed diplomacy/control.lua:309: attempt to index field 'parent' (a nil value)(Bug from 2.13.0)
Version: 2.13.0
Date: 2022-03-11
  Locale:
    - Updated French translation (thanks to @daikyraraga (DaiKy RaRaga) on crowdin)
    - Updated French translation (thanks to @Wiwiweb on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
  Bugfixes:
    - Fixed potential incompatibility with some mods
  Changes:
    - Changed icon color of diplomacy
  Scripting:
    - Renamed button name "diplomacy_button" to "ZD_diplomacy_button"
    - Renamed button style "diplomacy_button" to "ZD_diplomacy_button"
Version: 2.12.2
Date: 2021-01-09
  Locale:
    - Updated Norwegian translation (thanks to @Eerrikki (Robin Braathen) on crowdin)
    - Updated French translation (thanks to @eric.rossignol40 (Eric Rossignol) on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.12.1
Date: 2021-12-22
  Changes:
    - Changed position of frame
    - Refactored slightly
Version: 2.12.0
Date: 2021-12-22
  Changes:
    - Remade the button fully at data stage (adds full customization for other mods)
    - Moved the button into player's inventory
Version: 2.11.2
Date: 2021-12-05
  Locale:
    - Updated French translation (thanks to @sollevix (David TAORMINA) on crowdin)
    - Updated again Brazilian Portuguese translation (thanks to @BM123499 (Bruno Melo) on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.11.1
Date: 2021-10-17
  Locale:
    - Partially updated Russian translation (thanks to @_Andrey_ (Андрей Пискунов) on crowdin)
    - Removed an unnecessary setting and locales
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.11.0
Date: 2021-10-06
  Changes:
    - Change icon style
    - Refactored slightly
Version: 2.10.3
Date: 2021-09-28
  Changes:
    - Sligthly optimized
Version: 2.10.2
Date: 2021-09-27
  Bugfixes:
    - Fixed localization (bug from v2.10.0)
Version: 2.10.1
Date: 2021-09-27
  Bugfixes:
    - Slightly optimized
    - Fixed crash (bug from v2.10.0)
Version: 2.10.0
Date: 2021-09-26
  Changes:
    - Removed auto-diplomacy on damage (use https://mods.factorio.com/mod/ODAD instead)
Version: 2.9.25
Date: 2021-09-05
  Locale:
    - Updated Brazilian Portuguese translation (thanks to @BM123499 (Bruno Melo) on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.9.24
Date: 2021-09-01
  Changes:
    - Removed annoying message about commands
Version: 2.9.23
Date: 2021-08-29
  Locale:
    - Updated Brazilian Portuguese translation (thanks to @BM123499 (Bruno Melo) on crowdin)
    - Updated Norwegian translation (thanks to @Sandify (Team Noob) on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.9.22
Date: 2021-08-08
  Locale:
    - Updated Spanish translation (thanks to @josemirm on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.9.21
Date: 2021-07-18
  Locale:
    - Updated Belarusian translation (thanks to @not.a.whale (Mikita Tsikhanovich) on crowdin)
    - Updated German translation (thanks to @teite on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.9.20
Date: 2021-07-04
  Changes:
    - Improved stability and perfomance of auto-diplomacy
    - Improved icon
  Bugfixes:
    - Fixed "Auto-diplomacy when dealing damage" setting
Version: 2.9.19
Date: 2021-05-30
  Locale:
    - Updated German translation
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)
Version: 2.9.18
Date: 2021-05-25
  Changes:
    - This mod doesn't affect campaigns anymore
Version: 2.9.17
Date: 2021-05-23
  Locale:
    - Updated translations
    - Added Czech translation
    - Thanks to https://crowdin.com/profile/diraria/activity and other people for translations
Version: 2.9.16
Date: 2021-04-13
  Changes:
    - Changed info
Version: 2.9.15
Date: 2021-04-12
  Changes:
    - Changed commands slightly
Version: 2.9.14
Date: 2021-04-11
  Changes:
    - Improved commands and its stability
    - Refactored some stuff
Version: 2.9.13
Date: 2021-04-09
  Bugfixes:
    - Fixed exploit with teamleader
  Changes:
    - Added some news during old game
    - This update for Factorio 1.1
Version: 2.9.12
Date: 2021-04-05
  Changes:
    - Slightly improved perfomance on on_entity_damaged event
    - This update for Factorio 1.1
Version: 2.9.11
Date: 2021-04-03
  Bugfixes:
    - Fixed on_player_mined_entity event (bug from v2.9.10)
  Changes:
    - Moved repository from GitLab to GitHub
    - This update for Factorio 1.1
Version: 2.9.10
Date: 2021-03-25
  Features:
    - Added setting for disabling auto-diplomacy for destroyed entities
  Bugfixes:
    - Auto-diplomacy doesn't affect teams anymore when player mines enitities in editor
  Changes:
    - This update for Factorio 1.1
Version: 2.9.9
Date: 2021-03-24
  Bugfixes:
    - Fixed desync from v2.9.8
  Changes:
    - This update for Factorio 1.1
Version: 2.9.8
Date: 2021-03-23
  Features:
    - Players can disable auto-diplomacy for mined objects now (choose 0 in "Required HP for changing relationships for a mined object" setting for it)
  Changes:
    - Optimized images
    - This update for Factorio 1.1
Version: 2.9.5
Date: 2020-12-07
  Bugfixes:
    - Fixed "/change-stance"
Version: 2.9.4
Date: 2020-11-29
  Changes:
    - Updated for Factorio 1.1
Version: 2.9.3
Date: 2020-11-28
  Changes:
    - Removed some tweaks to settings
Version: 2.9.1
Date: 2020-11-22
  Changes:
    - Refactored, changed settings
Version: 2.9.0
Date: 2020-09-27
  Changes:
    - Refactored (changed dependences)
Version: 2.8.9
Date: 2020-09-23
  Bugfixes:
    - Fixed "last fix", no duplicate items through building ghost entities and works properly in another modes now (https://mods.factorio.com/mod/diplomacy/discussion/5f68ef05dd72c55778b67fee)
Version: 2.8.8
Date: 2020-09-22
  Bugfixes:
    - Fixed a problem with missed items during bulding near an enemy (https://mods.factorio.com/mod/diplomacy/discussion/5f68ef05dd72c55778b67fee)
Version: 2.8.7
Date: 2020-09-01
  Bugfixes:
    - Fixed crash by changing "Prohibition Radius" during game (https://mods.factorio.com/mod/diplomacy/discussion/5f4e9648d83a7f64870aa342)
  Changes:
    - This update for Factorio 1.0
Version: 2.8.2
Date: 2020-04-06
  Changes:
    - Added a draggable diplomacy frame
    - This update for Factorio 0.18
Version: 2.8.1
Date: 2020-04-06
  Changes:
    - Bugfixes
    - Refactored
    - Fixed MP interactions with the chat mod
    - This update for Factorio 0.18
Version: 2.8.0
Date: 2020-04-06
  Changes:
    - Bugfixes
    - Refactored
    - Fixed MP interactions with the chat mod
    - This update for Factorio 0.17
Version: 2.7.9
Date: 2020-03-18
  Bugfixes:
    - Fixed on_player_removed event
  Changes:
    - This update for Factorio 0.17
Version: 2.7.5
Date: 2019-12-15
  Changes:
    - Added sprite on the diplomacy button
    - This update for Factorio 0.17
Version: 2.7.4
Date: 2019-12-08
  Bugfixes:
    - Fixed commands for headless server
  Changes:
    - This update for Factorio 0.17
Version: 2.7.3
Date: 2019-12-07
  Bugfixes:
    - Fixed new events
  Scripting:
    - Updated data of new events
  Changes:
    - This update for Factorio 0.17
Version: 2.7.2
Date: 2019-12-06
  Bugfixes:
    - Disabled handling of some events because of bugs and interrupting of UI
  Features:
    - Added filter by stances in the diplomacy UI
  Changes:
    - This update for Factorio 0.17
Version: 2.7.1
Date: 2019-12-06
  Bugfixes:
    - More updates of diplomacy UI because of events related to forces
  Features:
    - Added filter of players in the diplomacy UI
  Changes:
    - TODO: new optimization because of new global data for players :P
    - This update for Factorio 0.17
Version: 2.7.0
Date: 2019-12-06
  Bugfixes:
    - Fixed commands for MP
  Scripting:
    - New events in the mod API (on_ally, on_enemy, on_neutral)
  Changes:
    - This update for Factorio 0.17
Version: 2.6.3
Date: 2019-12-06
  Bugfixes:
    - Fixed interactions with the disabled chat mod (https://mods.factorio.com/mod/diplomacy/discussion/5dd1b8514979ff000c13d4a6)
  Changes:
    - This update for Factorio 0.17
Version: 2.6.2
Date: 2019-11-17
  Bugfixes:
    - Disabled handling of PvP scenario/mod events (https://mods.factorio.com/mod/diplomacy/discussion/5dd0603d34bde6000c15d8ae)
  Changes:
    - This update for Factorio 0.17
Version: 2.6.1
Date: 2019-11-11
  Bugfixes:
    - Fixed loading for PvP scenarios/mods (https://mods.factorio.com/mod/diplomacy/discussion/5dc8a7be7f56f0000d961e6d)
  Changes:
    - This update for Factorio 0.17
Version: 2.6.0
Date: 2019-11-09
  Bugfixes:
    - Fixed working and events of the chat mod!
    - Definitely fixed diplomacy button visibility
  Changes:
    - This update for Factorio 0.17
Version: 2.5.2
Date: 2019-11-08
  Bugfixes:
    - Fixed setting of Building Prohibition Radius
  Changes:
    - This update for Factorio 0.17
Version: 2.5.1
Date: 2019-11-07
  Bugfixes:
    - Fixed bug during on_runtime_mod_setting_changed event
    - Proper hiding of entities
  Changes:
    - This update for Factorio 0.17
Version: 2.5.0
Date: 2019-11-07
  Features:
    - Added restrict building radius for enemies
  Bugfixes:
    - Returned lost button of diplomacy
    - Fixed flags during data stage (https://mods.factorio.com/mod/diplomacy/discussion/5dc33045778503000bfdea59)
  Changes:
    - Changed command "change-stance" (recreated diplomacy button if you call the command without parameters)
    - This update for Factorio 0.17
Version: 2.4.3
Date: 2019-09-02
  Bugfixes:
    - Fixed compatibility with the map editor (https://mods.factorio.com/mod/diplomacy/discussion/5d4caea33fac7d000b20a3c9)
  Changes:
    - This update for Factorio 0.17
Version: 2.4.2
Date: 2019-09-01
  Bugfixes:
    - There is diplomacy button into already started PVP world now (https://mods.factorio.com/mod/diplomacy/discussion/5d4caea33fac7d000b20a3c9)
  Changes:
    - This update for Factorio 0.17
Version: 2.4.1
Date: 2019-08-09
  Bugfixes:
    - Creating button for saves (https://mods.factorio.com/mod/diplomacy/discussion/5d4caea33fac7d000b20a3c9)
  Changes:
    - Changed MIT license to Apache license 2.0
    - This update for Factorio 0.17
Version: 2.4.0
Date: 2019-07-14
  Features:
    - Added turn switches for startup settings
  Changes:
    - Improved localisations
    - This update for Factorio 0.17
Version: 2.3.3
Date: 2019-06-23
  Changes:
    - Removed rich text in the mod name
    - Changed en, ru locales
    - This update for Factorio 0.17
Version: 2.3.2
Date: 2019-05-02
  Changes:
    - See changelog v2.3.0
    - This update for Factorio 1.0
Version: 2.3.1
Date: 2019-05-02
  Changes:
    - See changelog v2.3.0
    - This update for Factorio 0.18
Version: 2.3.0
Date: 2019-05-02
  Changes:
    - Small bugfixes
    - Changed en locale
    - Changed dependencies!
    - This update for Factorio 0.17
Version: 2.2.1
Date: 2019-04-09
  Changes:
    - Changed icons of the diplomacy
    - Optimization
Version: 2.2.0
Date: 2019-04-08
  Features:
    - Added support for the "secondary chat" mod and support for change diplomacy through the chat interface of the mod
  Changes:
    - Bugfixes
    - Improved compatibility
Version: 2.1.8
Date: 2019-04-07
  Changes:
    - Improved compatibility
Version: 2.1.7
Date: 2019-04-06
  Changes:
    - Improved compatibility with other mods
Version: 2.1.6
Date: 2019-03-10
  Changes:
    - Optimization
Version: 2.1.5
Date: 2019-03-09
  Changes:
    - Small bugfixes
Version: 2.1.4
Date: 2019-03-05
  Changes:
    - Another title color of the mod
Version: 2.1.3
Date: 2019-03-05
  Bugfixes:
    - Fast fix for desync
Version: 2.1.2
Date: 2019-03-04
  Changes:
    - Another dependencies
Version: 2.1.1
Date: 2019-03-02
  Bugfixes:
    - locale "en" was corrupted
Version: 2.1.0
Date: 2019-03-01
  Changes:
    - Updated for Factorio 0.17
    - Updated localisation
    - Bugfixes
    - Added module «Event listener»
    - Refactored
Version: 2.0.0
Date: 2019-01-31
  Major Features:
    - Compatibility with scenarios
  Features:
    - New settings
  Bugfixes:
    - A lot of bugfixes
  Changes:
    - Improved localisation
    - Improved performance
    - Added mod interface
    - PvP scenario is deleted (use «Pack scenarios»)
    - Changes in evolution factor from research and etc is deleted (use «Soft evolution»)
    - Uploaded to GitLab
    - Refactoring (not finished!)
    - Full changelog only on GitLab